verinec.adaptation.gui
Class AdaptationModule.DistributeAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by verinec.adaptation.gui.AdaptationModule.TransAction
          extended by verinec.adaptation.gui.AdaptationModule.DistributeAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
AdaptationModule

 class AdaptationModule.DistributeAction
extends AdaptationModule.TransAction

Distribute configuration of nodes onto machines.

Author:
david.buchmann at unifr.ch

Field Summary
 
Fields inherited from class verinec.adaptation.gui.AdaptationModule.TransAction
node
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AdaptationModule.DistributeAction(PCNode n)
          Instantiate with name Distribute.
 
Method Summary
protected  void processNode(PCNode n)
          Process a node in the distribute action.
 
Methods inherited from class verinec.adaptation.gui.AdaptationModule.TransAction
actionPerformed
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdaptationModule.DistributeAction

public AdaptationModule.DistributeAction(PCNode n)
                                  throws VerinecException
Instantiate with name Distribute.

Parameters:
n - The node this action is tied to or null for general action.
Throws:
VerinecException - If the icon can not be loaded.
Method Detail

processNode

protected void processNode(PCNode n)
                    throws Throwable
Process a node in the distribute action. Calls distributeConfig internally.

Specified by:
processNode in class AdaptationModule.TransAction
Parameters:
n - The node to process.
Throws:
Throwable - Exceptions are not caught.

Copyright © 2005 Verinec, DIUF