Methods and systems for generating source code for object oriented elements
First Claim
Patent Images
1. A method in a data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
- receiving a request to form a link;
receiving an indication of a first of the plurality of elements;
receiving an indication of a second of the plurality of elements; and
in response to receiving the request, the indication of the first element, and the indication of the second element, adding new code to the first element to reflect the link to the second element.
8 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems consistent with the present invention provide an improved software development tool that allows a programmer to develop source code by receiving an indication to form a link, receiving an indication of a first of the plurality of elements, receiving an indication of a second of the plurality of elements, and adding new code to the first element to reflect the link to the second element.
72 Citations
183 Claims
-
1. A method in a data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
receiving a request to form a link;
receiving an indication of a first of the plurality of elements;
receiving an indication of a second of the plurality of elements; and
in response to receiving the request, the indication of the first element, and the indication of the second element, adding new code to the first element to reflect the link to the second element. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method in a data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
receiving a request to form a link;
receiving an indication of a first of the plurality of elements;
receiving an indication of a second of the plurality of elements;
determining whether linking the first element to the second element would violate a predefined rule; and
when it is determined that linking the first element to the second element would not violate a predefined rule, adding new code to the first element to reflect the link to the second element. - View Dependent Claims (12, 13, 14, 15, 16, 18, 19)
-
-
17. A method in a data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
displaying a graphical representation of the code associated with a first of the plurality of elements and a graphical representation of the code associated with a second of the plurality of elements;
receiving a request to form a link from the first element to the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, identifying the link from the first element to the second element as an inheritance link;
adding new code to the first element to reflect the link to the second element; and
modifying the graphical representation of the code associated with the first element to reflect the link to the second element.
-
-
20. A method in a data processing system having a plurality of elements and having a link between two of the plurality of elements, wherein each element has corresponding code and the linked elements include a source and a destination, the method comprising the steps of:
-
receiving a selection of one of the linked elements;
receiving an identification of another of the plurality of elements that is different than the linked elements;
determining whether the selected element is the destination; and
when it is determined that the selected element is the destination, modifying the corresponding code of the other element to reflect a new link between the other element and the destination element. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41)
-
-
42. A method in a data processing system having a plurality of elements and having a link between two of the plurality of elements, wherein each element has corresponding code and the linked elements include a source and a destination, the method comprising the steps of:
-
receiving an identification of the link;
receiving a selection of one of the linked elements;
receiving an identification of another of the plurality of elements that is different than the linked elements;
determining whether the selected element is the source; and
when it is determined that the selected element is the source, modifying the corresponding code of the source to reflect a new link between the source and the other element. - View Dependent Claims (43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60)
-
-
61. A method in a data processing system having a plurality of elements and having a link between two of the plurality of elements, wherein each element has corresponding code and the linked elements include a source and a destination, the method comprising the steps of:
-
displaying a graphical representation of the corresponding code of each of the plurality of elements;
receiving a selection of one of the linked elements;
receiving an identification of another of the plurality of elements that is different than the linked element;
determining whether the selected element is the destination; and
when it is determined that the selected element is the destination, determining whether the other element is a class and whether the destination is another class; and
when it is determined that the other element is the class and that the destination is the other class, identifying a new link from the other element to the destination as an inheritance link;
removing a portion of the corresponding code of the source that reflects the link between the source and the destination;
adding new code to corresponding code of the other element to reflect the new link between the other element and the destination;
modifying the graphical representation of the corresponding code of the source to reflect the removal of the link; and
modifying the graphical representation of the corresponding code of the other element to reflect the new link. - View Dependent Claims (62, 63, 64, 65, 66, 67, 69, 70, 71, 72)
-
-
68. A method in a data processing system having a plurality of elements, the method comprising the steps of:
-
receiving an identification of a first of the plurality of elements;
receiving an identification of a second of the plurality of elements;
receiving an indication that the first element is to be included in the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, transferring code corresponding to the first element into the second element.
-
-
73. A method in a data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
displaying a graphical representation of the code of a first of the plurality of elements and a graphical representation of the code of a second of the plurality of elements;
receiving an indication that the first element is to be included in the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, transferring code corresponding to the first element into the second element; and
modifying a graphical representation of the code of the second element to reflect the transfer of the first element into the second element. - View Dependent Claims (74)
-
-
75. A method in a data processing system having a plurality of elements, each element having corresponding code, wherein code corresponding to a first of the plurality of elements is nested in the code corresponding to a second of the plurality of elements, the method comprising the steps of:
-
receiving an indication that the first element is to be removed from the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, removing code corresponding to the first element from the second element. - View Dependent Claims (76, 77, 78, 79)
-
-
80. A method in a data processing system having a plurality of elements, wherein a first of the plurality of elements is nested within a second of the plurality of elements, the method comprising the steps of:
-
receiving an indication that the first element is to be removed from the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, removing code corresponding to the first element from the second element;
placing the code corresponding to the first element into a file; and
displaying a graphical representation of the code corresponding to the first element. - View Dependent Claims (81, 82)
-
-
83. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
receiving a request to form a link;
receiving an indication of a first of the plurality of elements;
receiving an indication of a second of the plurality of elements; and
in response to receiving the request, the indication of the first element, and the indication of the second element, adding new code to the first element to reflect the link to the second element. - View Dependent Claims (84, 85, 86, 87, 88, 89, 90, 91, 92)
-
-
93. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
receiving a request to form a link;
receiving an indication of a first of the plurality of elements;
receiving an indication of a second of the plurality of elements;
determining whether linking the first element to the second element would violate a predefined rule; and
when it is determined that linking the first element to the second element would not violate a predefined rule, adding new code to the first element to reflect the link to the second element. - View Dependent Claims (94, 95, 96, 97, 98)
-
-
99. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
displaying a graphical representation of the code associated with a first of the plurality of elements and a graphical representation of the code associated with a second of the plurality of elements;
receiving a request to form a link from the first element to the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, identifying the link from the first element to the second element as an inheritance link;
adding new code to the first element to reflect the link to the second element; and
modifying the graphical representation of the code associated with the first element to reflect the link to the second element. - View Dependent Claims (100, 101)
-
-
102. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements and having a link between two of the plurality of elements, wherein each element has corresponding code and the linked elements include a source and a destination, the method comprising the steps of:
-
receiving a selection of one of the linked elements;
receiving an identification of another of the plurality of elements that is different than the linked elements;
determining whether the selected element is the destination; and
when it is determined that the selected element is the destination, modifying the corresponding code of the other element to reflect a new link between the other element and the destination element. - View Dependent Claims (103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 144, 145, 146, 147, 148, 149, 151, 152, 153, 154, 156, 158, 159, 160, 161, 163, 164, 166, 167, 168, 169, 170, 172, 173, 174, 175, 176, 177, 179, 181, 182)
-
-
124. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements and having a link between two of the plurality of elements, wherein each element has corresponding code and the linked elements include a source and a destination, the method comprising the steps of:
-
receiving an identification of the link;
receiving a selection of one of the linked elements;
receiving an identification of another of the plurality of elements that is different than the linked elements;
determining whether the selected element is the source; and
when it is determined that the selected element is the source, modifying the corresponding code of the source to reflect a new link between the source and the other element.
-
-
143. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements and having a link between two of the plurality of elements, wherein each element has corresponding code and the linked elements include a source and a destination, the method comprising the steps of:
-
displaying a graphical representation of the corresponding code of each of the plurality of elements;
receiving a selection of one of the linked elements;
receiving an identification of another of the plurality of elements that is different than the linked element;
determining whether the selected element is the destination; and
when it is determined that the selected element is the destination, determining whether the other element is a class and whether the destination is another class; and
when it is determined that the other element is the class and that the destination is the other class, identifying a new link from the other element to the destination as an inheritance link;
removing a portion of the corresponding code of the source that reflects the link between the source and the destination;
adding new code to corresponding code of the other element to reflect the new link between the other element and the destination;
modifying the graphical representation of the corresponding code of the source to reflect the removal of the link; and
modifying the graphical representation of the corresponding code of the other element to reflect the new link.
-
-
150. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements, the method comprising the steps of:
-
receiving an identification of a first of the plurality of elements;
receiving an identification of a second of the plurality of elements;
receiving an indication that the first element is to be included in the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, transferring code corresponding to the first element into the second element.
-
-
155. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements, each element having corresponding code, the method comprising the steps of:
-
displaying a graphical representation of the code of a first of the plurality of elements and a graphical representation of the code of a second of the plurality of elements;
receiving an indication that the first element is to be included in the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, transferring code corresponding to the first element into the second element; and
modifying a graphical representation of the code of the second element to reflect the transfer of the first element into the second element.
-
-
157. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements, each element having corresponding code, wherein code corresponding to a first of the plurality of elements is nested in the code corresponding to a second of the plurality of elements, the method comprising the steps of:
-
receiving an indication that the first element is to be removed from the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, removing code corresponding to the first element from the second element.
-
-
162. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of elements, wherein a first of the plurality of elements is nested within a second of the plurality of elements, the method comprising the steps of:
-
receiving an indication that the first element is to be removed from the second element;
determining whether the first element is a class and whether the second element is another class; and
when it is determined that the first element is the class and that the second element is the other class, removing code corresponding to the first element from the second element;
placing the code corresponding to the first element into a file; and
displaying a graphical representation of the code corresponding to the first element.
-
-
165. A data processing system comprising:
-
a secondary storage device further comprising a plurality of elements, each element having corresponding code;
a memory device further comprising a program that receives a request to form a link, that receives an indication of a first of the plurality of elements, that receives an indication of a second of the plurality of elements, that determines whether linking the first element to the second element would violate a predefined rule, and when it is determined that linking the first element to the second element would not violate a predefined rule, the program adds new code to the first element to reflect the link to the second element; and
a processor for running the program.
-
-
171. A data processing system comprising:
-
a secondary storage device further comprising a plurality of elements and having a link between two of the plurality of elements, wherein each element has corresponding code and the linked elements include a source and a destination;
a memory device further comprising a program that displays a graphical representation of the corresponding code of each of the plurality of elements, that receives a selection of one of the linked elements, that receives an identification of another of the plurality of elements that is different than the linked element, that determines whether the selected element is the destination, and when it is determined that the selected element is the destination, the program determines whether the other element is a class and whether the destination is another class, and when it is determined that the other element is the class and that the destination is the other class, the program identifies a new link from the other element to the destination as an inheritance link, removes a portion of the corresponding code of the source that reflects the link between the source and the destination, adds new code to corresponding code of the other element to reflect the new link between the other element and the destination, modifies the graphical representation of the corresponding code of the source to reflect the removal of the link, and modifies the graphical representation of the corresponding code of the other element to reflect the new link; and
a processor for running the program.
-
-
178. A data processing system comprising:
-
a secondary storage device further comprising a plurality of elements, each element having corresponding code;
a memory device further comprising a program that displays a graphical representation of the code of a first of the plurality of elements and a graphical representation of the code of a second of the plurality of elements, that receives an indication that the first element is to be included in the second element, that determines whether the first element is a class and whether the second element is another class, and when it is determined that the first element is the class and that the second element is the other class, the program transfers code corresponding to the first element into the second element, and modifies a graphical representation of the code of the second element to reflect the transfer of the first element into the second element; and
a processor for running the program.
-
-
180. A data processing system comprising:
-
a secondary storage device further comprising a plurality of elements, wherein a first of the plurality of elements is nested within a second of the plurality of elements;
a memory device further comprising a program that receives an indication that the first element is to be removed from the second element, that determines whether the first element is a class and whether the second element is another class, and when it is determined that the first element is the class and that the second element is the other class, the program removes code corresponding to the first element from the second element, places the code corresponding to the first element into a file, and displays a graphical representation of the code corresponding to the first element; and
a processor for running the program.
-
-
183. A system having a plurality of elements, each element having corresponding code, the system comprising:
-
means for receiving a request to form a link;
means for receiving an indication of a first of the plurality of elements;
means for receiving an indication of a second of the plurality of elements; and
means for adding new code to the first element to reflect the link to the second element in response to receiving the request, the indication of the first element, and the indication of the second element.
-
Specification