Class ResetTaskCounterAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener

public class ResetTaskCounterAction extends AbstractTopologyAction
This action resets the task counter of a node to 0.
See Also:
  • Constructor Details

    • ResetTaskCounterAction

      public ResetTaskCounterAction()
      Initialize this action.
  • Method Details

    • updateState

      public void updateState(List<Object> selectedElements)
      Update this action's enabled state based on a list of selected elements.
      Specified by:
      updateState in interface UpdatableAction
      Overrides:
      updateState in class AbstractTopologyAction
      Parameters:
      selectedElements - - a list of objects.
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Perform the action.
      Parameters:
      event - not used.