Log4j 0.9d

pl.psnc.expres.wfm.action.base
Class SaveFileAction

java.lang.Object
  extended by LocalizedAbstractAction
      extended by pl.psnc.expres.wfm.action.WfmAbstractAction
          extended by pl.psnc.expres.wfm.action.base.SaveFileAction
All Implemented Interfaces:
IActionGraphDecorator, ResourceElementObserver

public class SaveFileAction
extends WfmAbstractAction
implements ResourceElementObserver

{@link SaveFileAction class - represents the action for saving the scenario.

Author:
Dominik Stoklosa (~osa~)

Field Summary
 
Fields inherited from class pl.psnc.expres.wfm.action.WfmAbstractAction
mainFrame
 
Constructor Summary
SaveFileAction()
          Creates a new instance of save Action.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void setEnabled(boolean newValue)
          Enables or disables the action.
 void update()
          Notifies the observers that they should update their data
 
Methods inherited from class pl.psnc.expres.wfm.action.WfmAbstractAction
getBundle, getCurrentGraph, getCurrentGraphLayoutCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveFileAction

public SaveFileAction()
Creates a new instance of save Action. The save action is used to clone the existing nodes. The action is created with the default name, icons, mnemonic and accelerator key - these are taken from the resource bundle

Parameters:
source - the source swing component, which uses this action
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
See Also:
ActionListener.actionPerformed(ActionEvent)

update

public void update()
Notifies the observers that they should update their data

Specified by:
update in interface ResourceElementObserver

setEnabled

public void setEnabled(boolean newValue)
Enables or disables the action.

Parameters:
newValue - true to enable the action, false to disable it
See Also:
Action.setEnabled(boolean)

Log4j 0.9d

Copyright 2003 by VLAB Dominik Stoklosa.