verinec.adaptation.gui
Class AdaptationModule.ExportAction

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

 class AdaptationModule.ExportAction
extends AdaptationModule.TransAction

Export configuration of nodes to files.

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.ExportAction(PCNode n)
          Instantiate with name Export.
 
Method Summary
protected  void processNode(PCNode n)
          Process a node in the export 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.ExportAction

public AdaptationModule.ExportAction(PCNode n)
                              throws VerinecException
Instantiate with name Export.

Parameters:
n - The node this action is tied to or null if 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 export action. Calls exportConfig internally.

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

Copyright © 2005 Verinec, DIUF