Hi,

What I want to do is when the user is on an attribute and tries to do code
completion, I don't want "databaseType" to show up.  I am just not having
any luck.  This looks like it should work but doesn't:

/* proposals for Feature DslAttribute::databaseType */
List[Proposal] completeDslAttribute_databaseType(emf::EObject ctx, String
prefix) :
        {};

So then I even tried this one:

List[Proposal] completeDslAttribute(xtext::Assignment grammarElement,
emf::EObject ctx, String prefix) :
                {
                        grammarElement.feature == "databaseType" ?
                                null : newProposal(grammarElement.feature)
                };

I was able to hide or modify other proposals using method signatures like
the first one.  But this keyword just keeps showing up.  What am I missing?

Thanks,
Polly
-- 
View this message in context: 
http://www.nabble.com/-Sculptor--how-to-hide-proposal-for-%22databaseType%22--tp20492428s17564p20492428.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to