Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Optimize menu entries
Optimize menu entries [message #666675] Thu, 21 April 2011 14:28 Go to next message
Kai B. Heinz is currently offline Kai B. HeinzFriend
Messages: 17
Registered: March 2011
Location: Germany
Junior Member
Hi there,
I generated an editor from my ecore-model and it works very well. From time to time it can happen that by choosing "create child" I get very long lists of possible items. These lists are correct but sometimes half the list is greyed-out. Too improve usability I want to get rid of these unclickable items. Is there an easy way to implement this? Is there any tutorial that shows how that can be done?
Thanks!

Kai
Re: Optimize menu entries [message #666678 is a reply to message #666675] Thu, 21 April 2011 14:36 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Kai,

It's not generally considered good design to take such an approach. You
could look into how the action bar contributor processes the child
descriptors to specialize it.


Kai B. Heinz wrote:
> Hi there,
> I generated an editor from my ecore-model and it works very well. From
> time to time it can happen that by choosing "create child" I get very
> long lists of possible items. These lists are correct but sometimes
> half the list is greyed-out. Too improve usability I want to get rid
> of these unclickable items. Is there an easy way to implement this? Is
> there any tutorial that shows how that can be done?
> Thanks!
>
> Kai


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Custom XML handler
Next Topic:Problem with Creating Children You Didn't Know Existed
Goto Forum:
  


Current Time: Sat Apr 20 03:17:03 GMT 2024

Powered by FUDForum. Page generated in 0.03070 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top