References > Creo Schematics 4.0 API Guide > The Uiextension Package > Interface Connection
  
Interface Connection
The Connection interface defines procedures that must be implemented by the user to control fiber creation and modify properties of items that are connected.
public interface Connection
Hierarchical Diagram
None
Direct Known Subclasses
None
Constructor
None
Methods
canConnectBetween
Checks whether a connection can be made between two Items. Returns true if the connection can be made, false otherwise.
public boolean canConnectBetween(Shape item1, String port1 , FibreShape fibreshape, Shape item2, Stringport2)
Where:
item1—The shape (block or group) from which the connection is to be made.
port1—The string of the portshape's sysID on item1.
item2—The shape (block or group) to which the connection is to be made.
port2—The string of the portshape's sysID on item2.
Throws: RSDException
postConnect
Enables you to modify objects after they are connected.
public void postConnect(ManageProperties connectedObjects)
Where:
connectedObjects—An instance of ManageProperties, a container for Properties. There is at least one element for each component in the connection.
Throws: RSDException
Methods Inherited
None