개발환경/Eclipse
Eclipse Plug-in 개발tip
idkbj
2014. 8. 20. 09:59
Extensions
http://www.programcreek.com/2012/02/commonly-used-eclpse-workbench-extension-points/
2. Commonly Used Extension Points
The following are commonly or frequently used extension points of Workbench and their purposes.
org.eclipse.ui.views - add a vieworg.eclipse.ui.viewActions - add an action under a vieworg.eclipse.ui.editors - allows a user to edit an object(e.g. file), it is like a view, but can be opened multiple times.org.eclipse.ui.editorActions - add action under an editororg.eclipse.ui.popupMenus - add a popup menu. A popup menu is a memu shown by right-clicking. There are two types, one is popup for an object, the other is for popup in editor.org.eclipse.ui.actionSets - use for adding menus, menu items, and tool bar items to the workbench menus and toolbar.org.eclipse.ui.commands - declaration of a behaviour by id, then other plugins can use the command. It allows "define once, use everywhere".org.eclipse.ui.menus - can associate with a command and place the command in the main menu, view dropdown menus, context menus, main toolbar, view toolbars, and various trim locations.org.eclipse.ui.handlers - define handler for a commandorg.eclipse.ui.bindings - bind shortcut key for a command
org.eclipse.ui.menus
- help: http://wiki.eclipse.org/Menu_Contributions/ko
- menuContribution locationURI : popup:org.eclipse.ui.popup.any?after=additions