Protege 4.1.0

Class ProtegeActionPluginJPFImpl

  extended by org.protege.editor.core.plugin.AbstractProtegePlugin<ProtegeAction>
      extended by org.protege.editor.core.ui.action.ProtegeActionPluginJPFImpl
All Implemented Interfaces:
ProtegePlugin<ProtegeAction>, ProtegeActionPlugin
Direct Known Subclasses:
MenuActionPluginJPFImpl, ToolBarActionPluginJPFImpl

public abstract class ProtegeActionPluginJPFImpl
extends AbstractProtegePlugin<ProtegeAction>
implements ProtegeActionPlugin

Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: Mar 29, 2006

Field Summary
static String NAME_PARAM
static String TOOL_TIP_PARAM
Constructor Summary
protected ProtegeActionPluginJPFImpl(EditorKit editorKit, org.eclipse.core.runtime.IExtension extension)
Method Summary
 EditorKit getEditorKit()
          Gets the EditorKit that instances of this plugin will act on.
 Icon getIcon()
          Gets the icon for this action.
 String getName()
          Gets the name of the action.
 String getToolTipText()
          Gets the tooltip text for the action.
Methods inherited from class org.protege.editor.core.plugin.AbstractProtegePlugin
getDocumentation, getId, getIExtension, getLabel, getPluginProperty, getPluginProperty, newInstance
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.protege.editor.core.ui.action.ProtegeActionPlugin
Methods inherited from interface org.protege.editor.core.plugin.ProtegePlugin
getDocumentation, newInstance

Field Detail


public static final String NAME_PARAM
See Also:
Constant Field Values


public static final String TOOL_TIP_PARAM
See Also:
Constant Field Values
Constructor Detail


protected ProtegeActionPluginJPFImpl(EditorKit editorKit,
                                     org.eclipse.core.runtime.IExtension extension)
Method Detail


public String getName()
Gets the name of the action. This is the name that will be used for the menu item text etc.

Specified by:
getName in interface ProtegeActionPlugin


public String getToolTipText()
Gets the tooltip text for the action.

Specified by:
getToolTipText in interface ProtegeActionPlugin
A String representing the tooltip text, or null if the action created by this plugin shouldn't have any tooltip text.


public Icon getIcon()
Gets the icon for this action.

Specified by:
getIcon in interface ProtegeActionPlugin
The Icon for actions created by this plugin, or null if the actions created by this plugin shouldn't have any icon.


public EditorKit getEditorKit()
Gets the EditorKit that instances of this plugin will act on.

Specified by:
getEditorKit in interface ProtegeActionPlugin

Protege 4.1.0

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