org.argouml.uml.ui
Class ActionSaveProject
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.ActionSaveProject
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Direct Known Subclasses:
- ActionSaveProjectAs
- public class ActionSaveProject
- extends AbstractAction
Action that saves the project.
- See Also:
ActionOpenProject,
Serialized Form
ActionSaveProject
public ActionSaveProject()
- The constructor.
ActionSaveProject
protected ActionSaveProject(String name,
Icon icon)
- The constructor.
- Parameters:
name - the name of the action.icon - the icon to represent this action graphically.
actionPerformed
public void actionPerformed(ActionEvent e)
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
setEnabled
public void setEnabled(boolean enabled)
- Set the enabled state of the save action.
When we become enabled inform the user by highlighting the title bar
with an asterisk.
- Parameters:
enabled - new state for save command