org.mockcentral.editor.nodes.actions
Class SortNodesAction

java.lang.Object
  extended by org.eclipse.jface.action.Action
      extended by org.mockcentral.editor.nodes.actions.MockCentralPluginAction
          extended by org.mockcentral.editor.nodes.actions.SortNodesAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public final class SortNodesAction
extends MockCentralPluginAction

An Action class for sorting the MockCentralNode instances within a group.

Author:
David Hutchinson

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
SortNodesAction(org.mockcentral.editor.viewers.IMockCentralNodeGroupViewer viewer)
          Creates a new instance.
 
Method Summary
 void run()
           
 
Methods inherited from class org.mockcentral.editor.nodes.actions.MockCentralPluginAction
getOperationHistory, getUndoContext
 
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, getImageDescriptor, getMenuCreator, getStyle, getText, 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

SortNodesAction

public SortNodesAction(org.mockcentral.editor.viewers.IMockCentralNodeGroupViewer viewer)
Creates a new instance.

Parameters:
viewer - the current IMockCentralNodeGroupViewer instance from which the action originated.
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