Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to refresh action contributed by AbstractContributionItemProvider?
How to refresh action contributed by AbstractContributionItemProvider? [message #15822] Fri, 11 August 2006 06:49
Eclipse UserFriend
I would like to add 'Select In Tree Viewer' action to diagram popup menu.
I've inherited AbstractContributionItemProvider and overrode createAction
method to construct my action. I need to update the action enablement
state when diagram selection changes. But how can I get necessary
selection change event from IWorkbenchPartDescriptor? Should I track
active part changes as well?
Previous Topic:Labeled arrow pointing to (and touching) node
Next Topic:Re: GMF files with common navigator framework
Goto Forum:
  


Current Time: Tue Jul 08 01:38:37 EDT 2025

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

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

Back to the top