Package com._1c.g5.v8.dt.ui.editor
Interface ISaveManager
- All Known Implementing Classes:
SaveManager
public interface ISaveManager
Saves changes in editors according to user preferences.
The difference with
PlatformUI.getWorkbench().saveAllEditors(true)
is that implementations are supposed to take user preferences into account
rather than always prompt user for a confirmation.
The difference between the methods is that they could use different settings
appropriate for specific situation.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Saves changes in editors.boolean
Saves changes in editors.
-
Method Details
-
saveChangesBeforeLaunch
boolean saveChangesBeforeLaunch()Saves changes in editors. The method is intended to be used before launching application, server or something else in usual or debug mode.- Returns:
true
if operation should proceed orfalse
if user has cancelled operation.
-
saveChangesBeforeBuild
boolean saveChangesBeforeBuild()Saves changes in editors. The method is intended to be used before building the project or synchronizing it with infobase.- Returns:
true
if operation should proceed orfalse
if user has cancelled operation.
-