|Showing actions in PopupMenu only in special cases [message #631491]
||Thu, 07 October 2010 13:07
Registered: August 2010
I want to add some entries to the context menu on the IResources that are shown in the Package Explorer.
Therefore I used the extension point "org.eclipse.ui.popupMenus". The first subelement is of the type objectContribution.
The difficult part is now that some entries should be shown only in special cases. Therefor I need to check the state the selected file and with checking the state I mean, that I need to read out a configuration file and to determine if the IResources was enabled for that Action.
How can I reach this goal?
Powered by FUDForum
. Page generated in 0.01725 seconds