Class AbstractTopologyAction

java.lang.Object
javax.swing.AbstractAction
org.jppf.ui.actions.AbstractUpdatableAction
org.jppf.ui.monitoring.node.actions.AbstractTopologyAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, UpdatableAction, ValueChangeListener
Direct Known Subclasses:
AbstractGraphSelectionAction, AbstractSelectionAction, CancelDeferredAction, GCAction, HeapDumpAction, LoadBalancingAction, NodeConfigurationAction, NodeThreadsAction, ProvisioningAction, ReconnectNodeAction, ResetTaskCounterAction, ServerShutdownRestartAction, ServerStatisticsResetAction, ShutdownOrRestartNodeAction, SystemInformationAction, ThreadDumpAction, ThresholdSettingsAction, ToggleMasterSlaveRelationShipsAction, ToggleNodeActiveAction

public abstract class AbstractTopologyAction extends AbstractUpdatableAction
Abstract superclass for all actions in the topology panel.
Author:
Laurent Cohen
See Also:
  • Field Details

    • EMPTY_TOPOLOGY_DATA_ARRAY

      protected static final org.jppf.client.monitoring.topology.AbstractTopologyComponent[] EMPTY_TOPOLOGY_DATA_ARRAY
      Constant for an empty TopologyData array.
    • dataArray

      protected org.jppf.client.monitoring.topology.AbstractTopologyComponent[] dataArray
      The object representing the JPPF nodes in the tree table.
  • Constructor Details

    • AbstractTopologyAction

      protected AbstractTopologyAction()
      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 AbstractUpdatableAction
      Parameters:
      selectedElements - a list of objects.
    • getDriverMap

      protected org.jppf.utils.collections.CollectionMap<org.jppf.client.monitoring.topology.TopologyDriver,String> getDriverMap()
      Get a mapping of driver node forwarder MBeans to corresponding selected nodes.
      Returns:
      a mapping of driver uuids to lists of node uuid values.