pl.psnc.expres.wfm.action.base
Class SaveFileAsAction
java.lang.Object
LocalizedAbstractAction
pl.psnc.expres.wfm.action.WfmAbstractAction
pl.psnc.expres.wfm.action.base.SaveFileAsAction
- All Implemented Interfaces:
- IActionGraphDecorator, ResourceElementObserver
public class SaveFileAsAction
- extends WfmAbstractAction
- implements ResourceElementObserver
SaveFileAsAction
class - the action for saving the scenario (save
as).
- Author:
- Dominik Stoklosa (~osa~)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaveFileAsAction
public SaveFileAsAction()
- 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
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)
Copyright 2003 by VLAB Dominik Stoklosa.