Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.schemas.explorer
Class ClassificationFilterAction

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.AbstractAction
          extended by org.eclipse.jface.action.Action
              extended by eu.esdihumboldt.hale.ui.views.schemas.explorer.ClassificationFilterAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public class ClassificationFilterAction
extends org.eclipse.jface.action.Action

This is the supertype for all Toggle-type actions used in HALE that have a simple boolean state. It can also be used directly if no specific behaviour is expected.

Author:
Thorsten Reitz, Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

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
ClassificationFilterAction(Classification clazz, String msgDisable, String msgEnable, String iconPath, ClassificationFilter filter)
          Constructor
 
Method Summary
 void run()
           
 void setChecked(boolean checked)
           
 
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

ClassificationFilterAction

public ClassificationFilterAction(Classification clazz,
                                  String msgDisable,
                                  String msgEnable,
                                  String iconPath,
                                  ClassificationFilter filter)
Constructor

Parameters:
clazz - the tree object type
msgDisable - the message to disable filter
msgEnable - the message to enable filter
iconPath - the icon path
filter - the pattern view filter
Method Detail

run

public void run()
Specified by:
run in interface org.eclipse.jface.action.IAction
Overrides:
run in class org.eclipse.jface.action.Action
See Also:
Action.run()

setChecked

public void setChecked(boolean checked)
Specified by:
setChecked in interface org.eclipse.jface.action.IAction
Overrides:
setChecked in class org.eclipse.jface.action.Action
See Also:
Action.setChecked(boolean)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d