com.esri.arcgis.schematic
Class INgProjectEventsIsDiagramSavedByFrameworkEvent
java.lang.Object
java.util.EventObject
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
INgProjectEventsIsDiagramSavedByFrameworkEvent
public INgProjectEventsIsDiagramSavedByFrameworkEvent(Object source)
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)