Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Application Menu Bar !!!! URGENT!!!!!! URGENT!!!!!!
Application Menu Bar !!!! URGENT!!!!!! URGENT!!!!!! [message #460378] Thu, 21 December 2006 00:02 Go to next message
Eclipse UserFriend
Originally posted by: akbdas.gmail.com

hi friends,

here is my problem:
In my eclipse RCP application, application menu bar is created usig plugin.xml and actions sets ( mean rather than using fillMenuBar() ) to create application bar. Now, I want to disable / enable few items under the menu bar ( let us say typical notepad application: under File menu i would like to disable/enable "Save" action )

Will any body tell me hot to do this....very urgent....


Tks in advance.


das
Re: Application Menu Bar !!!! URGENT!!!!!! URGENT!!!!!! [message #460528 is a reply to message #460378] Thu, 21 December 2006 13:25 Go to previous messageGo to next message
Eclipse UserFriend
Yes, this can be done using "activities" as in
http://eclipse.pookzilla.net/2006/10/context-capability-and- perspective.php and
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench_advext_activities.htm


The system works quite well.

HTH,
Paul
Re: Application Menu Bar !!!! URGENT!!!!!! URGENT!!!!!! [message #460536 is a reply to message #460378] Thu, 21 December 2006 14:44 Go to previous message
Eclipse UserFriend
Your IActionDelegate can change its enablement using the passed in
IAction ... after it has been loaded by a user action.

Later,
PW
Previous Topic:Export based on feature - Unable to find plugin
Next Topic:Filter text in preferences dialog
Goto Forum:
  


Current Time: Sat Mar 15 01:30:59 EDT 2025

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

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

Back to the top