Scoped code fly-out editor for domain languages
First Claim
1. A method for generating a model diagram, the method including:
- registering, by a processor, a first scoped domain editor extender against a first domain model element, wherein the first domain model element has a first source code domain type, wherein the first scoped domain editor extender enables a scoped code editor to display code associated with the first domain model element, wherein the displayed code is displayed directly from the source code of the first domain model element, and wherein the displayed code is editable directly to the source code associated with the first domain model element;
registering, by the processor, a second scoped domain editor extender against a second domain model element, wherein the second domain model element has a second source code domain type dissimilar to the first source code domain type, wherein the second scoped domain editor extender enables the scoped code editor to display code associated with the second domain model element, wherein the displayed code is displayed directly from the source code of the second domain model element, and wherein the displayed code is editable directly to the source code associated with the second domain model element;
retrieving a domain model including the first domain model element and the second domain model element;
generating a modeling language model and mapping the modeling language model to the domain model, the modeling language model including at least;
a first modeling language model element that corresponds to the first domain model element and a second modeling language model element that corresponds to the second domain model element;
generating a graphical diagram including a plurality of shapes, each shape corresponding to an associated modeling language model element;
generating a user input item and associating the user input item with the modeling language model element for select ones of the shapes;
receiving an input from a user selecting a generated input item;
identifying and retrieving the modeling language model element associated with the selected input item;
retrieving the domain model element associated with the modeling language model element from the domain model;
determining whether a scoped editor extender is registered for the retrieved domain model element;
sending the domain model element to the scoped editor extender responsive to determining that the scoped editor extender is registered for the domain model element; and
generating the scoped code editor so as to display the source code of the domain model element in a fly-out editor window.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for generating a model diagram includes registering a scoped domain editor extender with a domain model element, retrieving a domain model and sending the domain model to the registered scoped domain editor extender, generating a modeling language model and mapping the modeling language model to the domain model, retrieving a domain model element from the domain model, generating a modeling language model element and associating the modeling language model element with the domain model, generating a graphical diagram including a shape corresponding to the modeling language model element, generating a user input item and associate the user input item with the modeling language model element, and displaying the shape and the user input item to a user.
-
Citations
18 Claims
-
1. A method for generating a model diagram, the method including:
-
registering, by a processor, a first scoped domain editor extender against a first domain model element, wherein the first domain model element has a first source code domain type, wherein the first scoped domain editor extender enables a scoped code editor to display code associated with the first domain model element, wherein the displayed code is displayed directly from the source code of the first domain model element, and wherein the displayed code is editable directly to the source code associated with the first domain model element; registering, by the processor, a second scoped domain editor extender against a second domain model element, wherein the second domain model element has a second source code domain type dissimilar to the first source code domain type, wherein the second scoped domain editor extender enables the scoped code editor to display code associated with the second domain model element, wherein the displayed code is displayed directly from the source code of the second domain model element, and wherein the displayed code is editable directly to the source code associated with the second domain model element; retrieving a domain model including the first domain model element and the second domain model element; generating a modeling language model and mapping the modeling language model to the domain model, the modeling language model including at least;
a first modeling language model element that corresponds to the first domain model element and a second modeling language model element that corresponds to the second domain model element;generating a graphical diagram including a plurality of shapes, each shape corresponding to an associated modeling language model element; generating a user input item and associating the user input item with the modeling language model element for select ones of the shapes; receiving an input from a user selecting a generated input item; identifying and retrieving the modeling language model element associated with the selected input item; retrieving the domain model element associated with the modeling language model element from the domain model; determining whether a scoped editor extender is registered for the retrieved domain model element; sending the domain model element to the scoped editor extender responsive to determining that the scoped editor extender is registered for the domain model element; and generating the scoped code editor so as to display the source code of the domain model element in a fly-out editor window. - View Dependent Claims (2, 3, 4, 5, 6, 18)
-
-
7. A method for generating a fly-out editor window, the method including:
-
generating a graphical diagram including a plurality of shapes, each shape corresponding to an associated modeling language model element of a corresponding modeling language model; generating a user input item and associating the user input item with the modeling language model element for select ones of the shapes; receiving an input from a user selecting an input item associated with a corresponding shape; identifying and retrieving the modeling language model element associated with the selected input item; retrieving a domain model element associated with the modeling language model element from a domain model, where the domain model comprises at least a first domain model element having a first source code domain type, and a second domain model element having a second source code domain type dissimilar to the first source code domain type; determining whether a scoped editor extender is registered against the retrieved domain model element; sending the domain model element to the scoped editor extender responsive to determining that the scoped editor extender is registered for the domain model element; generating the scoped code editor with full domain model context so as to display source code of the domain model element in a fly-out editor window, wherein the displayed code is displayed directly from the source code associated with the domain model element, and wherein the displayed code is editable directly to the source code associated with the domain model element. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for generating a diagram comprising:
a processor coupled to a memory, wherein the processor is programmed to; register a first scoped domain editor extender against a first domain model element, wherein the first domain model element has a first source code domain type, wherein the first scoped domain editor extender enables an editor to display code associated with the first domain model element, wherein the displayed code is displayed directly from the source code of the first domain model element, and wherein the displayed code is editable directly to the source code associated with the first domain model element; register a second scoped domain editor extender against a second domain model element, wherein the second domain model element has a second source code domain type dissimilar to the first source code domain type, wherein the second scoped domain editor extender enables the editor to display code associated with the second domain model element, wherein the displayed code is displayed directly from the source code of the second domain model element, and wherein the displayed code is editable directly to the source code associated with the second domain model element; retrieve a domain model including the first domain model element and the second domain model element; generate a modeling language model and map the modeling language model to the domain model, the modeling language model including at least;
a first modeling language model element that corresponds to the first domain model element and a second modeling language model element that corresponds to the second domain model element;generate a graphical diagram including a plurality of shapes, each shape corresponding to an associated modeling language model element; and generate a user input item and associating the user input item with the modeling language model element for select ones of the shapes; receive an input from a user selecting a generated input item; identify and retrieve the modeling language model element associated with the selected input item; retrieve the domain model element associated with the modeling language model element from the domain model; determine whether a scoped editor extender is registered for the retrieved domain model element; send the domain model element to the scoped editor extender responsive to determining that the scoped editor extender is registered for the domain model element; and generate the scoped code editor so as to display the source code of the domain model element in a fly-out editor window. - View Dependent Claims (14, 15, 16, 17)
Specification