com.esri.arcgis.schematic
Interface ISchematicRelationController

All Superinterfaces:
Serializable
All Known Implementing Classes:
SchematicRelationController

public interface ISchematicRelationController
extends Serializable

Provides access to members that manage the schematic relation controller.

Product Availability

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

See Also:
ISchematicRelationControllerTool

Method Summary
 void loadSchematicRelations(ISchematicDiagram diagram)
          Loads the schematic relations related to the specified schematic diagram in memory.
 void redrawSchematicRelations(INgView view)
          Redraws the schematic relations in the specified graphic view.
 

Method Detail

loadSchematicRelations

void loadSchematicRelations(ISchematicDiagram diagram)
                            throws IOException,
                                   AutomationException
Loads the schematic relations related to the specified schematic diagram in memory.

Product Availability

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

Parameters:
diagram - A reference to a com.esri.arcgis.schematic.ISchematicDiagram (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

redrawSchematicRelations

void redrawSchematicRelations(INgView view)
                              throws IOException,
                                     AutomationException
Redraws the schematic relations in the specified graphic view.

Remarks

It’s the developer responsibility to call the ISchematicRelationController::RedrawSchematicRelations method for the related objects to be automatically redrawn when parent or child objects are moved by programming or after an algorithm execution. Please also note that programming the relations redraw on the INgProjectEvents::OnMoveElements or ISchematicRelationControllerEvent::OnMoveElements events will be completely unuseful because these events are only triggered when schematic elements are moved using the GUI tools; that is when end-users move schematic elements using the mouse or the keyboard arrows. So when elements are moved by programming using any "Move" method, the custom code specified on these events will be not fired. In this case, you must use the RedrawSchematicRelations either at the end of the move operations sequences in your custom procedure or customize the SchematicAlgorithmEvents::AfterExecuteAlgorithm event (when the "Move" methods are called during a custom algorithm).

Product Availability

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

Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.