verinec.validation.gui.actions
Class AddAction

java.lang.Object
  extended by verinec.validation.gui.actions.SchemaLinkingPaneActionListener
      extended by verinec.validation.gui.actions.AddAction
All Implemented Interfaces:
ActionListener, EventListener

public class AddAction
extends SchemaLinkingPaneActionListener

Action that adds a schema location to the open log file.

Version:
$Revision: 47 $
Author:
Dominik Jungo

Field Summary
private  Logger jlogger
           
 
Fields inherited from class verinec.validation.gui.actions.SchemaLinkingPaneActionListener
element, field, vep
 
Constructor Summary
AddAction(ValidatorEditorPanel vep, JTextField field)
          Created a new Add Action
 
Method Summary
 void actionPerformed(ActionEvent arg0)
          adds the schema location to the logfile saves and reloads the file
 
Methods inherited from class verinec.validation.gui.actions.SchemaLinkingPaneActionListener
saveAndReload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jlogger

private Logger jlogger
Constructor Detail

AddAction

public AddAction(ValidatorEditorPanel vep,
                 JTextField field)
          throws VerinecException
Created a new Add Action

Parameters:
vep - the editor
field - the texfield containing the location
Throws:
VerinecException - if the editor doesn't contain a valid element, where the location can be added.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent arg0)
adds the schema location to the logfile saves and reloads the file

See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

Copyright © 2005 Verinec, DIUF