Pop-up menu pop-up menus1) Monkey See / Monkey Do Rule Always Start by Copying The Structure of A Similar Plug-in. Make similar PLUG-IN methods By viewing the extension Points that has defined in existing files. Since the Popupmenus extension point is defined by the org.eclipse.ui plug-in we open its plugin.xml file in the manifest editor. On the Extension Points tab of the manifest editor we can see the extension points defined in this plug-in and (more TO Our purpose Here) Where the is used. 2) About Plug-in.xml
ID = "org.eclipse.contribution.junit.Runtest" - When the elements selected by the mouse are "Types and Interfaces" types, "Run Test" is displayed in Popupmenus. ObjectClass = "org.eclipse.jdt.core.itype"> ID = "org.eclipse.contribution.junit.Runtest.Action" Label = "Run Test" - When the mouse is only selected, "Run Test" is displayed when the "Type" element is displayed. Enablesfor = "1" Class = "Org.eclipse.compare.Internal.AddfromHistoryAction"> action> ObjectControl> extension> 3) Internationalization Labels Beginning with "%" Will BE Used as a key rto plugin.properties file. Replacing this file allows you to change the language of the plug-in.