org.xmlhammer.gui.actions
Class SaveAction
java.lang.Object
javax.swing.AbstractAction
org.bounce.RunnableAction
org.xmlhammer.gui.actions.SaveAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable, java.util.EventListener, javax.swing.Action
public class SaveAction
- extends org.bounce.RunnableAction
An action that can be used to save a XML Hammer project.
- Version:
- $Revision: 1.19 $, $Date: 2007/07/04 19:42:49 $
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
| 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 |
SaveAction(XMLHammer parent)
The constructor for the action which allows addition of
documents to the application. |
|
Method Summary |
void |
run()
The implementation of the save project action, called
after a user action. |
static void |
save(XMLHammer parent,
Project project,
java.io.File file)
|
static void |
save(XMLHammer parent,
ProjectView view,
java.net.URI uri,
java.io.File file)
|
| Methods inherited from class org.bounce.RunnableAction |
actionPerformed |
| 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 |
SaveAction
public SaveAction(XMLHammer parent)
- The constructor for the action which allows addition of
documents to the application.
run
public void run()
- The implementation of the save project action, called
after a user action.
- Specified by:
run in interface java.lang.Runnable- Specified by:
run in class org.bounce.RunnableAction
save
public static void save(XMLHammer parent,
ProjectView view,
java.net.URI uri,
java.io.File file)
save
public static void save(XMLHammer parent,
Project project,
java.io.File file)
throws javax.xml.bind.JAXBException,
java.io.IOException
- Throws:
javax.xml.bind.JAXBException
java.io.IOException
Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.