Class INgProjectEventsIsDiagramSavedByFrameworkEvent

  extended by java.util.EventObject
      extended by com.esri.arcgis.schematic.INgProjectEventsIsDiagramSavedByFrameworkEvent
All Implemented Interfaces:

public class INgProjectEventsIsDiagramSavedByFrameworkEvent
extends EventObject


By default, when a diagram is being closed, Schematics asks user if he wants to save the changes before closing it. If the IsDiagramSavedByFramework event is set to return FALSE for all diagrams, Schematics will not ask whether he wants to save them or not.

Note that if your diagram's SaveMode property is set, priority is given to this property: thus, if the IsDiagramSavedByFramework event is set to return FALSE for all diagrams and if, for a given diagram, the SaveMode property is set to esriNgSaveByFramework, when this diagram is being closed, user will be asked whether he wants to save his changes or not.


For more details on the Schematics events' chaining during the diagram closure, please see the Remarks section available from the INgDiagram Close method help-page.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
INgProjectEvents.isSessionSavedByFramework(com.esri.arcgis.schematic.INgProjectEventsIsSessionSavedByFrameworkEvent),, Serialized Form

Field Summary
Fields inherited from class java.util.EventObject
Constructor Summary
INgProjectEventsIsDiagramSavedByFrameworkEvent(Object source)
Method Summary
 INgDiagram getDiagram()
 boolean getSaveByFramework()
 void init(INgDiagram diagram, 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


public INgProjectEventsIsDiagramSavedByFrameworkEvent(Object source)
Method Detail


public void init(INgDiagram diagram,
                 boolean[] saveByFramework)


public final INgDiagram getDiagram()


public final boolean getSaveByFramework()


public final void setSaveByFramework(boolean saveByFramework)