Hi Patrick,

Thank you very much for this trick.  I finally had another chance to work on
this today.  I learned another trick on the oAW forums that I finally went
with.  It turns out that you can do this in the ContentAssist.ext file:

// don't want the user to use Consumer and databaseType keywords
List[Proposal] sortProposals(List[Proposal] proposalsToSort):
        proposalsToSort.select(e |
!({"Consumer","databaseType"}.contains(e.label)));

I am sure that changing SculptordslEditorPlugin would have worked, but
ultimately I decided to use the sortProposals method so I can put all the
code completion customizations in one place.

Thanks!!  :)

--Polly



Patrik Nordwall wrote:
> 
> I think it is defined in the generated class SculptordslUtilities, method
> allKeywords
> 
> It is possible to change to your own variant (subclass) of
> SculptordslUtilities by changing in SculptordslEditorPlugin.
> 
> /Patrik
> 



-- 
View this message in context: 
http://www.nabble.com/-Sculptor--how-to-hide-proposal-for-%22databaseType%22--tp20492428s17564p20549735.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