com.esri.arcgis.schematic
Class INgProjectEventsIsSessionSavedByFrameworkEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
INgProjectEventsIsSessionSavedByFrameworkEvent(Object source)
           
 
Method Summary
 boolean getSaveByFramework()
           
 void init(boolean[] saveByFramework)
           
 void setSaveByFramework(boolean saveByFramework)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INgProjectEventsIsSessionSavedByFrameworkEvent

public INgProjectEventsIsSessionSavedByFrameworkEvent(Object source)
Method Detail

init

public void init(boolean[] saveByFramework)

getSaveByFramework

public final boolean getSaveByFramework()

setSaveByFramework

public final void setSaveByFramework(boolean saveByFramework)