Download User Manual

Transcript
Developing Your New Model Type
Developing
Your New
Model Type
Node Spec
D . . . ProtoDoME
The topics on the following pages tell you how to build and
modify your new DoME notations using the DoME Tool Spec
editor.
Click the NODE SPEC button on the DoME Tool Spec editor
drawing toolbar to begin creating a new node specification.
Three things will happen...
•
First, DoME will show the new node class.
•
Second, DoME will create a specification for an
instantiation button (Tool Palette).
•
Third, DoME will update any open editors for your
notation to include a new button. This new button allows
you to create instances of your new node class.
Your new node class uses defaults for its appearance and
semantics. We’ll cover how to change those in the following
topics.
Naming a
Node Class
Changing the name of the node specification also changes the
name of the instance button specification and the tooltip text
that DoME displays when you hold the mouse over the actual
instance button.
To change the name, select the node spec object and press
<RETURN>, just like you would to change the name of any
other object.
Appearance
Properties for Node
Specs
This topic describes the various properties that govern how
instances of a node class appear. In most cases, you can change
these properties even after you have created instances of the
node class, and DoME will update their appearance
accordingly. In other cases, you must close the model and
reopen it to see the new shape.
To view and/or modify the properties associated with a node
class, select the node and click on the PROPERTIES button on
the standard toolbar.
Name Position
The choices available for the position of the name and their
meanings are as follows:
None
The node will not have a label.
D-8