org.protege.editor.core.ui.menu
Class MenuActionPluginLoader
java.lang.Object
org.protege.editor.core.plugin.AbstractPluginLoader<MenuActionPlugin>
org.protege.editor.core.ui.menu.MenuActionPluginLoader
public class MenuActionPluginLoader
- extends AbstractPluginLoader<MenuActionPlugin>
|
Method Summary |
protected MenuActionPlugin |
createInstance(org.eclipse.core.runtime.IExtension extension)
This method needs to be overriden to create an instance
of the desired plugin, based on the plugin Extension |
protected PluginExtensionMatcher |
getExtensionMatcher()
This method needs to be overriden to provide a
PluginExtensionMatcher, which is used to filter
the plugin extensions to a desired subset. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuActionPluginLoader
public MenuActionPluginLoader(EditorKit editorKit)
createInstance
protected MenuActionPlugin createInstance(org.eclipse.core.runtime.IExtension extension)
- Description copied from class:
AbstractPluginLoader
- This method needs to be overriden to create an instance
of the desired plugin, based on the plugin
Extension
- Specified by:
createInstance in class AbstractPluginLoader<MenuActionPlugin>
- Parameters:
extension - The Extension that describes the
Java Plugin Framework extension.
- Returns:
- A plugin object (typically some sort of wrapper around
the extension)
getExtensionMatcher
protected PluginExtensionMatcher getExtensionMatcher()
- Description copied from class:
AbstractPluginLoader
- This method needs to be overriden to provide a
PluginExtensionMatcher, which is used to filter
the plugin extensions to a desired subset.
- Overrides:
getExtensionMatcher in class AbstractPluginLoader<MenuActionPlugin>
Submit a bug report or feature request
For further API reference and developer documentation, see Protege 4 Developer Documentation.
Copyright © 2010 Stanford Center for Biomedical Informatics Research