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
( http://wiki.eclipse.org/User_Interface_Guidelines#Context_Me 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?

Thanks,
Will
Previous Topic:how to get all the types avaiable in my eclipse Workspace
Next Topic:Help Corrupted
Goto Forum:
  


Current Time: Sat Dec 20 21:45:39 GMT 2014

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

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