Constructor and Description |
---|
SaveAllCommand()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
_saveAll(boolean silent) |
int |
doit()
Executes the redo command.
|
static int |
saveAll() |
static int |
saveAll(boolean silent)
Save all open editors.
|
static void |
saveSystemFiles()
Saves all system files
|
enableConfirmation, getAffectedNodes, getContext, getData, getId, getName, getProgressHandle, getType, isGlobal, setContext, setData, setTaskInfo, undo
public static int saveAll() throws java.lang.Exception
java.lang.Exception
public static int saveAll(boolean silent) throws java.lang.Exception
silent
- If true, ignore any failures during the save. If false,
show a dialog to the user showing all failures, if any. Update
the status bar with the results.java.lang.Exception
- if called on a worker thread, which would be
an InterruptedException if the thread got interruptedpublic int _saveAll(boolean silent) throws java.lang.Exception
java.lang.Exception
public int doit() throws java.lang.Exception
public static void saveSystemFiles()