Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [commands] menu contribution visible when command is handled
[commands] menu contribution visible when command is handled [message #482449] Wed, 26 August 2009 15:12
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
A command menu contribution "visibleWhen" element has a "checkEnabled"
attribute that lets the visibility of the command be tied to its enablement.

In the Eclipse User Interface Guidelines
( nus_2 Guideline
7.15), it is best to have a consistent set of context menu items that are
enabled and disabled instead of a dynamic set of enabled items.

To me this would be easiest to do if the menu visibileWhen additionally had
a checkHandled. Does that make sense? Should I create an enhancement
request? Or is there a superior way to do this?

Previous Topic:how to get all the types avaiable in my eclipse Workspace
Next Topic:object to object mapping
Goto Forum:

Current Time: Sat Apr 21 17:26:31 GMT 2018

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

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