Tests if the given node is in the current Application. If it is from
a different application then a ConnectionException is thrown with
appropriate message. If it is from the Resource Palette an attempt will be
made to copy the node's corresponding connection to the current
Application's Resources. If this fails a ConnectionException will be
thrown.
Parameters:
node - the node to ensure the connection for
ideContext - contains the current active Application (Workspace)