Java Reference
In-Depth Information
In the runtime workbench, create a new project and follow New
Example
EMF Model Creation Wizards
Mindmap Model , giving it whatever name you
want and selecting Map as the Model Object. The default EMF-generated editor
appears upon finish, ready for you to create new Topic and Relationship
instances within the map.
You again need to open the Properties view to set model element properties
and establish subtopics and relationship links. Notice that validation is available
for our model instances and enforces the basic structural features defined in our
model. For example, we declared 1 for the upper and lower bounds on
source and target references of our Relationship class. Creating a new
Relationship instance in our model and invoking the Validate menu option
brings up a dialog that points out that these required features were not set. As
we enhance our model further, EMF and the Validation Framework will provide
additional validation, as used by GMF for diagram validation.
Figure 3-5
Requirements launch configuration
Search WWH ::




Custom Search