verinec.importer
Class ImporterModule.ParserAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by verinec.gui.configurator.ConfigAction
          extended by verinec.importer.ImporterModule.ParserAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
ImporterModule

 class ImporterModule.ParserAction
extends ConfigAction

Action to show parser dialog.

Author:
geraldine.antener at unifr.ch, david.buchmann at unifr.ch

Field Summary
 
Fields inherited from class verinec.gui.configurator.ConfigAction
component
 
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
ImporterModule.ParserAction(PCNode c)
          Instantiate a ConfigAction with title 'Read configuration files' and IMPORT_ICON.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Load the config importer if it is performed for a node.
 
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

ImporterModule.ParserAction

public ImporterModule.ParserAction(PCNode c)
                            throws VerinecException
Instantiate a ConfigAction with title 'Read configuration files' and IMPORT_ICON. If c is not null, useful for context menu of nodes, otherwise for the main menu.

Parameters:
c - The context for this action. If it is null, import creates a new node.
Throws:
VerinecException - if ConfigImporter can not be loaded.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Load the config importer if it is performed for a node.

Parameters:
e - The event that happened.

Copyright © 2005 Verinec, DIUF