verinec.importer
Class ImporterModule.ParserAction
java.lang.Object
javax.swing.AbstractAction
verinec.gui.configurator.ConfigAction
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
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.
actionPerformed
public void actionPerformed(ActionEvent e)
- Load the config importer if it is performed for a node.
- Parameters:
e - The event that happened.