com.esri.arcgis.schematic
Class INgProjectEventsIsDiagramSavedByFrameworkEvent

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

public class INgProjectEventsIsDiagramSavedByFrameworkEvent
extends EventObject

Description

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.

Remarks

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), INgDiagram.save(), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
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

INgProjectEventsIsDiagramSavedByFrameworkEvent

public INgProjectEventsIsDiagramSavedByFrameworkEvent(Object source)
Method Detail

init

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

getDiagram

public final INgDiagram getDiagram()

getSaveByFramework

public final boolean getSaveByFramework()

setSaveByFramework

public final void setSaveByFramework(boolean saveByFramework)