Java Reference
In-Depth Information
Figure 4-43
Color modeling palette definition
4.6.3 Mapping Definition
Create a new dnc.gmfmap model in the /diagrams folder using the Diagram
Definition (Ctrl+3
Diagram Def) Wizard. Select the dnc.ecore model as the
Domain Model and for now select the Archetype class for the canvas mapping.
We can't select the oocore::Package element at this time because the wizard
does not load the oocore.ecore model when selecting our dnc.ecore model.
In the subsequent pages, select the dnc.gmftool and dnc.gmfgraph models as
our tooling and graphical definition models, respectively. On the Mapping page,
we can see another symptom of the wizard not resolving the oocore.ecore
model. The list of discovered Nodes and Links is not what we expect, unfortu-
nately. For now, just move the Association node to the Link side and remove
the contents of the Links list. We need to correct our Canvas mapping and fin-
ish the remaining nodes manually.
With the dnc.gmfmap model open in the editor, adjust the Canvas
Mapping to be as shown in Table 4-36.
Search WWH ::




Custom Search