Protege 4.1.0

org.protege.editor.core.ui.action
Class ProtegeActionPluginJPFImpl

java.lang.Object
  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

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


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
getId
 
Methods inherited from interface org.protege.editor.core.plugin.ProtegePlugin
getDocumentation, newInstance
 

Field Detail

NAME_PARAM

public static final String NAME_PARAM
See Also:
Constant Field Values

TOOL_TIP_PARAM

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

ProtegeActionPluginJPFImpl

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

getName

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

getToolTipText

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

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

getIcon

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

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

getEditorKit

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