×

Scoped code fly-out editor for domain languages

  • US 8,561,016 B2
  • Filed: 07/02/2010
  • Issued: 10/15/2013
  • Est. Priority Date: 06/29/2010
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×