Protege 4.1.0

org.protege.editor.core.ui.view
Class ViewActionPluginJPFImpl

java.lang.Object
  extended by org.protege.editor.core.plugin.AbstractProtegePlugin<ProtegeAction>
      extended by org.protege.editor.core.ui.action.ProtegeActionPluginJPFImpl
          extended by org.protege.editor.core.ui.action.ToolBarActionPluginJPFImpl
              extended by org.protege.editor.core.ui.view.ViewActionPluginJPFImpl
All Implemented Interfaces:
ProtegePlugin<ProtegeAction>, ProtegeActionPlugin, ToolBarActionPlugin, ViewActionPlugin

public class ViewActionPluginJPFImpl
extends ToolBarActionPluginJPFImpl
implements ViewActionPlugin

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

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


Field Summary
static String EXTENSION_POINT_ID
           
static String VIEW_ID_PARAM
           
 
Fields inherited from class org.protege.editor.core.ui.action.ToolBarActionPluginJPFImpl
GROUP_INDEX_PARAM
 
Fields inherited from class org.protege.editor.core.ui.action.ProtegeActionPluginJPFImpl
NAME_PARAM, TOOL_TIP_PARAM
 
Constructor Summary
ViewActionPluginJPFImpl(EditorKit editorKit, View view, org.eclipse.core.runtime.IExtension extension)
           
 
Method Summary
 View getView()
           
 String getViewId()
           
 ProtegeAction newInstance()
          Creates an instance of the plugin.
 
Methods inherited from class org.protege.editor.core.ui.action.ToolBarActionPluginJPFImpl
getGroup, getGroupIndex
 
Methods inherited from class org.protege.editor.core.ui.action.ProtegeActionPluginJPFImpl
getEditorKit, getIcon, getName, getToolTipText
 
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
 
Methods inherited from interface org.protege.editor.core.ui.action.ToolBarActionPlugin
getGroup, getGroupIndex
 
Methods inherited from interface org.protege.editor.core.ui.action.ProtegeActionPlugin
getEditorKit, getIcon, getId, getName, getToolTipText
 
Methods inherited from interface org.protege.editor.core.plugin.ProtegePlugin
getDocumentation
 

Field Detail

EXTENSION_POINT_ID

public static final String EXTENSION_POINT_ID
See Also:
Constant Field Values

VIEW_ID_PARAM

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

ViewActionPluginJPFImpl

public ViewActionPluginJPFImpl(EditorKit editorKit,
                               View view,
                               org.eclipse.core.runtime.IExtension extension)
Method Detail

getViewId

public String getViewId()

newInstance

public ProtegeAction newInstance()
                          throws InstantiationException,
                                 IllegalAccessException,
                                 ClassNotFoundException
Description copied from class: ToolBarActionPluginJPFImpl
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<ProtegeAction>
Overrides:
newInstance in class ToolBarActionPluginJPFImpl
Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException

getView

public View getView()
Specified by:
getView in interface ViewActionPlugin

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