Adding dynamic context menu entry to Project Explorer [message #1763979] |
Tue, 23 May 2017 14:49 |
Eclipse User |
|
|
|
Hey guys,
we already added some own menu items to our own items in the Project Explorer.
We do this via ActionProviders:
<actionProvider
class="com.logicals.iec.st.ui.internal.projectexplorer.RenameElementActionProvider"
id="com.logicals.iec.st.ui.projectexplorerRenameElementAction">
<enablement>
<instanceof
value="com.ModelObject">
</instanceof>
</enablement>
</actionProvider>
Then we do a viewerActionBinding in the extension point "org.eclipse.ui.navigator.viewer" and everything works fine.
Now we want to create a dynamic context menu entry. Is this also possible with ActionProviders or do we have to implement this in a different way?
Thank you very much for any help! =)
|
|
|
Powered by
FUDForum. Page generated in 0.03064 seconds