public class SaveFileAsAction extends SaveFileAction
URIChooser
and then saves the active view to the
specified location.
This action is called when the user selects the Save As item in the File menu. The menu item is automatically created by the application.
If you want this behavior in your application, you have to create it
and put it in your ApplicationModel
in method
ApplicationModel.initApplication(org.jhotdraw.app.Application)
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
ENABLED_PROPERTY, VIEW_PROPERTY
Constructor and Description |
---|
SaveFileAsAction(Application app,
View view)
Creates a new instance.
|
actionPerformed, getChooser, saveViewToURI
getActiveView, getApplication, getPropertyName, installViewListeners, isEnabled, setEnabled, setPropertyName, uninstallViewListeners, updateEnabled, updateView, updateView
public static final java.lang.String ID
public SaveFileAsAction(Application app, View view)