Method and apparatus for enhanced connectors and connection manager
First Claim
1. A computer implemented method of connecting objects displayed on a display device, comprising:
- displaying, on a display device, a first object having a first connector object, wherein the first connector object is an instance of a connector object, wherein the connector object supports bi-directional connections such that an instance of the connector object may behave as both a socket connector and as a plug connector;
displaying, on the display device, a second object having a second connector object, wherein the second connector object is an instance of the connector object; and
coupling the first connector object to the second connector object such that both the first object and the second object behave simultaneously as sockets and plugs.
1 Assignment
0 Petitions
Accused Products
Abstract
A connector object supports bi-directional connections such that an instance of the connector object may behave as both a socket connector and as a plug connector. A first shape object and a second shape object having a first connector object and second connector object respectively that are instances of the same connector object are displayed on a display device. The first connector object is coupled to the second connector object wherein the first connector object and the second connector object behave both as sockets and plugs. An external connection manager resolves connections. The manager determines: (1) if shape connections should be resolved; and (2) one or more socket connector objects and plug connector objects that need to be updated from one or more other shapes coupled to the determined socket connector objects. Thereafter, the manager recursively updates each determined plug connector object.
-
Citations
36 Claims
-
1. A computer implemented method of connecting objects displayed on a display device, comprising:
-
displaying, on a display device, a first object having a first connector object, wherein the first connector object is an instance of a connector object, wherein the connector object supports bi-directional connections such that an instance of the connector object may behave as both a socket connector and as a plug connector;
displaying, on the display device, a second object having a second connector object, wherein the second connector object is an instance of the connector object; and
coupling the first connector object to the second connector object such that both the first object and the second object behave simultaneously as sockets and plugs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
determining that connections for a shape should be resolved;
determining one or more socket connector objects for the shape;
determining plug connector objects, that need to be updated, from one or more other shapes coupled to the determined socket connector objects; and
updating each determined plug connector object.
-
-
3. The method of claim 2 wherein the shape has a socket connector that has been changed.
-
4. The method of claim 2 wherein the shape has been rotated.
-
5. The method of claim 2 wherein the shape has been moved to a different location.
-
6. The method of claim 2 wherein updating each determined plug connector object comprises:
-
determining if a plug connector object is rigid;
if the plug connector object is rigid, moving the shape that owns the plug connector object to cause the plug connector object to reposition with the socket connector object; and
if the plug connector object is not rigid, moving the plug connector object to reposition the plug connector object with the socket connector object.
-
-
7. The method of claim 2 wherein updating each determined plug connector object comprises:
-
determining if a plug connector object is oriented;
if the plug connector object is oriented, rotating the shape that owns the plug connector object about the plug connector object to reorient the plug connector object with the socket connector object; and
if the plug connector object is not oriented, rotating the plug connector object to reorient the plug connector object with the socket connector object.
-
-
8. The method of claim 2 wherein the connection is resolved when a screen is refreshed.
-
9. The method of claim 2 wherein the connection is resolved when it is desirable to ensure that one or more connectors are up to date.
-
10. The method of claim 2 wherein the determined plug connector objects are processed in last-in-first-out order from a list of plug connector objects to be updated.
-
11. The method of claim 10 further comprising maintaining a list of updated connector objects, wherein a connector object is not added to the list of connector objects to be updated if the connector object is already in the list of updated connector objects.
-
12. The method of claim 1 further comprising:
-
checking a connection; and
breaking the connection if a connector object in the connection is an invalid unidirectional connector object.
-
-
13. A computer-implemented apparatus for connecting objects displayed on a display device comprising:
-
a computer having a display device attached thereto;
means for displaying, on the display device, a first object having a first connector object, wherein the first connector object is an instance of a connector object, wherein the connector object supports bi-directional connections such that an instance of the connector object may behave as both a socket connector and as a plug connector;
means for displaying, on the display device, a second object having a second connector object, wherein the second connector object is an instance of a connector object; and
means for coupling the first connector object to the second connector object such that both the first object and the second object behave simultaneously as sockets and plugs. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
means for determining that connections for a shape should be resolved;
means for determining one or more socket connector objects for the shape;
means for determining plug connector objects, that need to be updated, from one or more other shapes coupled to the determined socket connector objects; and
means for updating each determined plug connector object.
-
-
15. The apparatus of claim 14 wherein the shape has a socket connector that has been changed.
-
16. The apparatus of claim 14 wherein the shape has been rotated.
-
17. The apparatus of claim 14 wherein the shape has been moved to a different location.
-
18. The apparatus of claim 14 wherein the means for updating each determined plug connector object comprises:
-
means for determining if a plug connector object is rigid;
means for moving the shape that owns the plug connector object to cause the plug connector object to reposition with the socket connector object if the plug connector object is rigid; and
means for moving the plug connector object to reposition the plug connector object with the socket connector object if the plug connector object is not rigid.
-
-
19. The apparatus of claim 14 wherein the means for updating each determined plug connector object comprises:
-
means for determining if a plug connector object is oriented;
means for rotating the shape that owns the plug connector object about the plug connector object to reorient the plug connector object with the socket connector object if the plug connector object is oriented; and
means for rotating the plug connector object to reorient the plug connector object with the socket connector object if the plug connector object is not oriented.
-
-
20. The apparatus of claim 14 wherein the connection is resolved when a screen is refreshed.
-
21. The apparatus of claim 14 wherein the connection is resolved when it is desirable to ensure that one or more connectors are up to date.
-
22. The apparatus of claim 14 wherein the determined plug connector objects are processed in last-in-first-out order from a list of plug connector objects to be updated.
-
23. The apparatus of claim 22 further comprising means for maintaining a list of updated connector objects, wherein a connector object is not added to the list of connector objects to be updated if the connector object is already in the list of updated connector objects.
-
24. The apparatus of claim 13 further comprising:
-
means for checking a connection; and
means for breaking the connection if a connector object in the connection is an invalid unidirectional connector object.
-
-
25. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer to perform a method of connecting objects displayed on a display device attached to the computer, the method comprising:
-
displaying, on a display device, a first object having a first connector object, wherein the first connector object is an instance of a connector object, wherein the connector object supports bi-directional connections such that an instance of the connector object may behave as both a socket connector and as a plug connector;
displaying, on the display device, a second object having a second connector object, wherein the second connector object is an instance of the connector object; and
coupling the first connector object to the second connector object such that both the first object and the second object behave simultaneously as sockets and plugs. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
determining that connections for a shape should be resolved;
determining one or more socket connector objects for the shape;
determining plug connector objects, that need to be updated, from one or more other shapes coupled to the determined socket connector objects; and
updating each determined plug connector object.
-
-
27. The article of manufacture of claim 26 wherein the shape has a socket connector that has been changed.
-
28. The article of manufacture of claim 26 wherein the shape has been rotated.
-
29. The article of manufacture of claim 26 wherein the shape has been moved to a different location.
-
30. The article of manufacture of claim 26 wherein updating each determined plug connector object comprises:
-
determining if a plug connector object is rigid;
if the plug connector object is rigid, moving the shape that owns the plug connector object to cause the plug connector object to reposition with the socket connector object; and
if the plug connector object is not rigid, moving the plug connector object to reposition the plug connector object with the socket connector object.
-
-
31. The article of manufacture of claim 26 wherein updating each determined plug connector object comprises:
-
determining if a plug connector object is oriented;
if the plug connector object is oriented, rotating the shape that owns the plug connector object about the plug connector object to reorient the plug connector object with the socket connector object; and
if the plug connector object is not oriented, rotating the plug connector object to reorient the plug connector object with the socket connector object.
-
-
32. The article of manufacture of claim 26 wherein the connection is resolved when a screen is refreshed.
-
33. The article of manufacture of claim 26 wherein the connection is resolved when it is desirable to ensure that one or more connectors are up to date.
-
34. The article of manufacture of claim 26 wherein the determined plug connector objects are processed in last-in-first-out order from a list of plug connector objects to be updated.
-
35. The article of manufacture of claim 34, the method further comprising maintaining a list of updated connector objects, wherein a connector object is not added to the list of connector objects to be updated if the connector object is already in the list of updated connector objects.
-
36. The article of manufacture of claim 25, the method further comprising:
-
checking a connection; and
breaking the connection if a connector object in the connection is an invalid unidirectional connector object.
-
Specification