INTEGRATION WITH ECLIPSE/WSAD/RAD
MagicDraw and Eclipse integration functionality
1 1
Copyright © 1998-2011 No Magic, Inc..
Unnamed
Element Name
Enter a name of the model element to generate in the source code in
instances when a model element within your model does not yet have a
name attached to it.
Unnamed Type
Name
Enter a name of the type to generate in the source code in instances
when attributes, operations, or parameters do not yet have a type in your
model. If an attribute without a type exists in a model, then, after adding
the class of this attribute into the Eclipse project, an attribute with int type
will be generated in the source code.
Update
MagicDraw
UML Model
Update Model by
Code
Removes all methods/attributes/associations
from the model if they do not exist in the code at
the time Update UML Model is executed.
Merge Model by
Code
Leaves all methods/attributes/associations in
the model if they do not exist in the code at the
time Update UML Model is executed.
For New IDE
Attributes
Create
Attributes
Creates attributes in MagicDraw for new attri-
butes created in Eclipse.
Association
Creates associations in MagicDraw for new attri-
butes created in Eclipse.
Create
Properties by
Rules
Rules defined for the attributes or association
creation on reverse. Select this combo box and
press the “...” button. The Class Field Creation
Rules dialog box appears. For more information,
see MagicDraw Code&DatabaseEngineering
UserGuide.pdf, “Rules of the association or attri-
bute creation on reverse” section.
Documentation
Processor
JavaDoc
When selected, various javadoc tags (@param,
@return) are generated in the comments of the
code.
<none>
Documentation from UML model is placed
directly into java code with no processing.
Synchronizatio
n Mode
Manual
Synchronization between model and code is
made manually (by selecting a command).
Automatic (default)
Every time model is changed, code is updated.
Every time code is changed, model is updated
(after saving).
NOTE: New classes in Eclipse are not added to
MagicDraw and vice versa. The user must add
them manually.
Code-to-model
automatic
Every time code is changed, model is updated.
Changes are not made in code after changing
the model.
NOTE: New classes in Eclipse are not added to
MagicDraw and vice versa. The user must add
them manually.
Create class
members for
libraries
If selected, library classes in model will be created with attributes and
methods.
Default source
path
Choose available source paths for all linked projects. You may define
source paths in Eclipse.
Command Option Function