Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Adding dynamic context menu entry to Project Explorer
Adding dynamic context menu entry to Project Explorer [message #1763979] Tue, 23 May 2017 14:49
Alexander Fichtinger is currently offline Alexander FichtingerFriend
Messages: 57
Registered: January 2013
Member
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! =)
Previous Topic:How to safely clean up huge files in .metadata/.plugins/org.eclipse.m2e.core/nexus
Next Topic:Changing background color of XtextEditor programmatically
Goto Forum:
  


Current Time: Sun Jun 24 02:00:38 GMT 2018

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

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

Back to the top