TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.engine.ui.engineview
Class AbstractToggledDelegatedEngineViewAction

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended byorg.eclipse.tptp.platform.analysis.util.ui.actions.AbstractCallbackAction
          extended byorg.eclipse.tptp.platform.analysis.util.ui.actions.AbstractToggleAction
              extended byorg.eclipse.tptp.platform.analysis.engine.ui.engineview.AbstractToggledDelegatedEngineViewAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.ui.IActionDelegate, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IViewActionDelegate
Direct Known Subclasses:
DisableAlgorithmAction, DisableAlgorithmOnResourceAction, DisableCategoryAction, ExcludeResourceAction, IgnoreMatchAction

public abstract class AbstractToggledDelegatedEngineViewAction
extends AbstractToggleAction
implements org.eclipse.ui.IViewActionDelegate, org.eclipse.core.runtime.IExecutableExtension

AbstractToggledDelegatedEngineViewAction


Field Summary
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
AbstractToggledDelegatedEngineViewAction()
          Constructor.
AbstractToggledDelegatedEngineViewAction(IActionListener listener)
          Constructor.
 
Method Summary
protected  IEngineView getView()
           
 void init(org.eclipse.ui.IViewPart view)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String propertyName, java.lang.Object data)
           
protected abstract  void toggleEnabled(org.eclipse.jface.action.IAction action)
           
 
Methods inherited from class org.eclipse.tptp.platform.analysis.util.ui.actions.AbstractToggleAction
doOff, doOn, doRun, getImageDescriptor, getOffImageDescriptor, getOffText, getOffTooltipText, getOnImageDescriptor, getOnText, getOnTooltipText, getStringBundle, getText, getTooltipText, isOn, setOffImage, setOnImage, toggleActionAttribute
 
Methods inherited from class org.eclipse.tptp.platform.analysis.util.ui.actions.AbstractCallbackAction
run, setListener
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getMenuCreator, getStyle, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractToggledDelegatedEngineViewAction

public AbstractToggledDelegatedEngineViewAction(IActionListener listener)
Constructor.

Parameters:
listener -

AbstractToggledDelegatedEngineViewAction

public AbstractToggledDelegatedEngineViewAction()
Constructor.

Method Detail

toggleEnabled

protected abstract void toggleEnabled(org.eclipse.jface.action.IAction action)

setInitializationData

public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
                                  java.lang.String propertyName,
                                  java.lang.Object data)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
setInitializationData in interface org.eclipse.core.runtime.IExecutableExtension
Throws:
org.eclipse.core.runtime.CoreException

init

public void init(org.eclipse.ui.IViewPart view)
Specified by:
init in interface org.eclipse.ui.IViewActionDelegate

getView

protected IEngineView getView()

run

public final void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate

TPTP 4.1.0 Platform Project
Public API Specification