Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Migrate old popupMenu extension to E4
Migrate old popupMenu extension to E4 [message #1741465] Thu, 25 August 2016 11:50 Go to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
hi,

i'm migrating a plugin using an old popupMenu extension to Neon.

My extension is using an overrideActionId to replace an already registered action in the IDE with a new one.

i cannot find any example of migrating it to e4. is it possible ?

Thanks for help !

here is my plugin.xml snippet :
<extension point="org.eclipse.ui.popupMenus">
           <objectContribution
			adaptable="true"
			id="team.UnmanagedFileContributions"
			nameFilter="*.elements"
			objectClass="org.eclipse.core.resources.IFile">
			<action
				class="CompareAction"
				enablesFor="2+"
				id="compareWithEachOther"
				label="Each Other"
				menubarPath="compareWithMenu/compareWithGroup"
				overrideActionId="org.eclipse.team.ui.compareWithEachOther"
				tooltip="Compare the Selected Resources">
			</action>
           </objectContribution>
</extension>
Re: Migrate old popupMenu extension to E4 [message #1742299 is a reply to message #1741465] Thu, 01 September 2016 13:36 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
The popupMenus extension point was deprecated by the "new" menus extension point introduced in Eclipse 3.5
The menus extension point is still valid in Eclipse 4 IDEs.

Maybe, this tutorial helps:

http://www.vogella.com/tutorials/EclipseCommands/article.html
Previous Topic:news.eclipse.org is shutting down.
Next Topic:How to consume KeyEvent in E4
Goto Forum:
  


Current Time: Thu Apr 18 20:55:11 GMT 2024

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

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

Back to the top