Protege 4.1.0

org.protege.editor.core.ui.action.start
Class AltStartupActionPlugin

java.lang.Object
  extended by org.protege.editor.core.plugin.AbstractProtegePlugin<AltStartupAction>
      extended by org.protege.editor.core.ui.action.start.AltStartupActionPlugin
All Implemented Interfaces:
Comparable<AltStartupActionPlugin>, ProtegePlugin<AltStartupAction>

public class AltStartupActionPlugin
extends AbstractProtegePlugin<AltStartupAction>
implements Comparable<AltStartupActionPlugin>


Field Summary
static String ID
           
static String SORT_ORDER_PARAM
           
 
Constructor Summary
AltStartupActionPlugin(JFrame parent, org.eclipse.core.runtime.IExtension extension)
           
 
Method Summary
 int compareTo(AltStartupActionPlugin o)
           
 Icon getIcon()
          Gets the icon for this action.
 String getName()
          Gets the name of the action.
 String getSortIndex()
           
 String getToolTipText()
          Gets the tooltip text for the action.
 AltStartupAction newInstance()
          Creates an instance of the plugin.
 
Methods inherited from class org.protege.editor.core.plugin.AbstractProtegePlugin
getDocumentation, getId, getIExtension, getLabel, getPluginProperty, getPluginProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

SORT_ORDER_PARAM

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

AltStartupActionPlugin

public AltStartupActionPlugin(JFrame parent,
                              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.


getSortIndex

public String getSortIndex()

compareTo

public int compareTo(AltStartupActionPlugin o)
Specified by:
compareTo in interface Comparable<AltStartupActionPlugin>

getToolTipText

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

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.

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

newInstance

public AltStartupAction newInstance()
                             throws ClassNotFoundException,
                                    IllegalAccessException,
                                    InstantiationException
Description copied from interface: ProtegePlugin
Creates an instance of the plugin. It is expected that this instance will be "setup", but the instance's initialise method will not have been called in the instantiation process.

Specified by:
newInstance in interface ProtegePlugin<AltStartupAction>
Overrides:
newInstance in class AbstractProtegePlugin<AltStartupAction>
Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException

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