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:
com.esri.arcgis.schematic.ISchematicRelationManagerEvent

Method Summary
 IGeometry getParentGeometry(ISchematicRelationController controller, IDisplay display, ILayer layer, ISchematicInMemoryFeature inMemoryParent)
          Geometry of the specified schematic parent.
 void moveParent(ISchematicRelationController controller, IDisplay display, ILayer layer, ISchematicInMemoryFeature inMemoryParent, IEnumSchematicInMemoryFeature inMemoryFeatures, ILine shift)
          Moves the specified parent schematic feature.
 

Method Detail

moveParent

void moveParent(ISchematicRelationController controller,
                IDisplay display,
                ILayer layer,
                ISchematicInMemoryFeature inMemoryParent,
                IEnumSchematicInMemoryFeature inMemoryFeatures,
                ILine shift)
                throws IOException,
                       AutomationException
Moves the specified parent schematic feature.

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.ISchematicRelationController (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
inMemoryParent - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
inMemoryFeatures - A reference to a com.esri.arcgis.schematic.IEnumSchematicInMemoryFeature (in)
shift - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentGeometry

IGeometry getParentGeometry(ISchematicRelationController controller,
                            IDisplay display,
                            ILayer layer,
                            ISchematicInMemoryFeature inMemoryParent)
                            throws IOException,
                                   AutomationException
Geometry of the specified schematic parent.

Product Availability

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

Parameters:
controller - A reference to a com.esri.arcgis.schematic.ISchematicRelationController (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
inMemoryParent - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.