com.esri.arcgis.schematic
Class INgProjectEventsIsSessionSavedByFrameworkEvent
java.lang.Object
java.util.EventObject
com.esri.arcgis.schematic.INgProjectEventsIsSessionSavedByFrameworkEvent
- All Implemented Interfaces:
- Serializable
public class INgProjectEventsIsSessionSavedByFrameworkEvent
- extends EventObject
Description
By default, when the schematic session is closed, Schematics asks user whether he wants to save the changes or not before closing it. If the IsSessionSavedByFramework event is set to return FALSE, Schematics will not ask anything
Note that if the session's SaveMode property is set, priority is given to this property: thus, if the IsSessionSavedByFramework event is set to return FALSE and if the SaveMode property is set to esriNgSaveByFramework, when the session is closed, user will be asked whether he wants to save the changes or not.
Remarks
For more details on the Schematics events' chaining during project closure, please see the Remarks section available from the INgProject Close method help-page.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- See Also:
INgProject,
INgProjectViews.saveSession(String),
Serialized Form
INgProjectEventsIsSessionSavedByFrameworkEvent
public INgProjectEventsIsSessionSavedByFrameworkEvent(Object source)
init
public void init(boolean[] saveByFramework)
getSaveByFramework
public final boolean getSaveByFramework()
setSaveByFramework
public final void setSaveByFramework(boolean saveByFramework)