com.esri.arcgis.schematic
Interface ISchematicRelationManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
SchematicBarycenterManager, SchematicContainerManager

public interface ISchematicRelationManager
extends Serializable

Provides access to members that control the schematic relation manager.

Product Availability

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

See Also:
ISchematicRelationManagerEvent

Method Summary
 IUID getCLSID()
          CLSID of the schematic relation manager.
 void moveParent(ISchematicRelationControllerTool controller, INgElement parent, double x, double y, int moveMode)
          Move the specified parent graphic element to the specified (X,Y) absolute or relative position.
 void redrawParent(ISchematicRelationControllerTool controller, INgView view, INgElement pParent)
          Redraws the specified parent graphic element in the specified graphic view.
 

Method Detail

redrawParent

void redrawParent(ISchematicRelationControllerTool controller,
                  INgView view,
                  INgElement pParent)
                  throws IOException,
                         AutomationException
Redraws the specified parent graphic element in the specified graphic view.

Product Availability

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

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

moveParent

void moveParent(ISchematicRelationControllerTool controller,
                INgElement parent,
                double x,
                double y,
                int moveMode)
                throws IOException,
                       AutomationException
Move the specified parent graphic element to the specified (X,Y) absolute or relative position.

Remarks

It’s the developer responsibility to call the appropriate ISchematicRelationController or ISchematicRelationManager methods for the related objects as the containers to be automatically redrawn when he uses any "Move" method on schematic element. 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 either force the redraw 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:
controller - A reference to a com.esri.arcgis.schematic.ISchematicRelationControllerTool (in)
parent - A reference to a com.esri.arcgis.schematic.INgElement (in)
x - The x (in)
y - The y (in)
moveMode - A com.esri.arcgis.schematic.esriNgMoveMode constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCLSID

IUID getCLSID()
              throws IOException,
                     AutomationException
CLSID of the schematic relation manager.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.