/** * This method needs to be overriden to create an instance * of the desired plugin, based on the plugin <code>Extension</code> * @param extension The <code>Extension</code> that describes the * Java Plugin Framework extension. * @return A plugin object (typically some sort of wrapper around * the extension) */ protected ViewActionPluginJPFImpl createInstance(IExtension extension) { return new ViewActionPluginJPFImpl(editorKit, view, extension); } }
public String getViewId() { return getPluginProperty(VIEW_ID_PARAM); }
public ProtegeAction newInstance() throws InstantiationException, IllegalAccessException, ClassNotFoundException { ViewAction viewAction = (ViewAction) super.newInstance(); viewAction.putValue(AbstractAction.NAME, getName()); viewAction.putValue(AbstractAction.SHORT_DESCRIPTION, getToolTipText()); viewAction.setEditorKit(getEditorKit()); viewAction.setView(view); viewAction.setEditorKit(getEditorKit()); return viewAction; }
public ProtegeAction newInstance() throws InstantiationException, IllegalAccessException, ClassNotFoundException { ViewAction viewAction = (ViewAction) super.newInstance(); viewAction.putValue(AbstractAction.NAME, getName()); viewAction.putValue(AbstractAction.SHORT_DESCRIPTION, getToolTipText()); viewAction.setEditorKit(getEditorKit()); viewAction.setView(view); viewAction.setEditorKit(getEditorKit()); return viewAction; }
public ProtegeAction newInstance() throws InstantiationException, IllegalAccessException, ClassNotFoundException { ViewAction viewAction = (ViewAction) super.newInstance(); viewAction.putValue(AbstractAction.NAME, getName()); viewAction.putValue(AbstractAction.SHORT_DESCRIPTION, getToolTipText()); viewAction.setEditorKit(getEditorKit()); viewAction.setView(view); viewAction.setEditorKit(getEditorKit()); return viewAction; }
/** * This method needs to be overriden to create an instance * of the desired plugin, based on the plugin <code>Extension</code> * @param extension The <code>Extension</code> that describes the * Java Plugin Framework extension. * @return A plugin object (typically some sort of wrapper around * the extension) */ protected ViewActionPluginJPFImpl createInstance(IExtension extension) { return new ViewActionPluginJPFImpl(editorKit, view, extension); } }
public String getViewId() { return getPluginProperty(VIEW_ID_PARAM); }
/** * This method needs to be overriden to create an instance * of the desired plugin, based on the plugin <code>Extension</code> * @param extension The <code>Extension</code> that describes the * Java Plugin Framework extension. * @return A plugin object (typically some sort of wrapper around * the extension) */ protected ViewActionPluginJPFImpl createInstance(IExtension extension) { return new ViewActionPluginJPFImpl(editorKit, view, extension); } }
public String getViewId() { return getPluginProperty(VIEW_ID_PARAM); }