Difference between revisions of "MDT-UML2Tools"
|Line 1:||Line 1:|
[http://www.eclipse.org/modeling/mdt/?project=uml2tools#uml2tools UML2 Tools] is a set of [http://wiki.eclipse.org/index.php/Graphical_Modeling_Framework GMF-based] editors for viewing and editing [http://www.uml.org UML] models. UML2Tools is a part of [http://wiki.eclipse.org/
[http://www.eclipse.org/modeling/mdt/?project=uml2tools#uml2tools UML2 Tools] is a set of [http://wiki.eclipse.org/index.php/Graphical_Modeling_Framework GMF-based] editors for viewing and editing [http://www.uml.org UML] models. UML2Tools is a part of [http://wiki.eclipse.org/Project]. UML2 Tools
== Plans ==
== Plans ==
*[http://www.eclipse.org/modeling/mdt/docs/plans/mdt_project_plan_1_1.html#_UML2_Tools_component 1.1 Project Plan]
*[http://www.eclipse.org/modeling/mdt/docs/plans/mdt_project_plan_1_0.html#_UML2_Tools_ 1.0 Project Plan
== New and Noteworthy ==
== New and Noteworthy ==
*[http://wiki.eclipse.org/index.php/MDT_1.1_New_and_Noteworthy#UML2_Tools__Component MDT 1.1 UML2Tools New and Noteworthy]
*[http://wiki.eclipse.org/index.php/MDT_1.0_New_and_Noteworthy#UML2_Tools__Component MDT 1.0 UML2Tools New and Noteworthy (previous release)]
Revision as of 07:08, 24 October 2008
- 1 Overview
- 2 Plans
- 3 New and Noteworthy
- 4 FAQ
- 4.1 What is UML2Tools?
- 4.2 Which UML diagrams are supported by UML2Tools?
- 4.3 How can I start with UML2Tools?
- 4.4 Which GMF version is used to generate UML2Tools source code?
- 4.5 Where can I find GMF-sources?
- 4.6 What metamodel do UML2Tools use?
- 4.7 What are *.uml and *.umlclass_diagram files for?
- 4.8 Can I restore diagram from semantic model (*.uml file)?
- 4.9 I want to customize the UML2Tools class diagram. How can I regenerate the diagrams?
- 5 Samples
- 6 Newsgroups / Mailing Lists
- 7 Documentation
- 8 Related Links
- Profile Definition
- Composite Structures
- State Machine
- Use Case
- Sequence (expected in Galileo M3)
New Diagram wizards are available in the 'New/Other/UML 2.1 Diagrams' wizard group.
UML2 Tools is based on MDT UML2 metamodel.
New and Noteworthy
What is UML2Tools?
UML2 Tools is a set of GMF-based editors for viewing and editing UML models.
Which UML diagrams are supported by UML2Tools?
Class, Profile Definition, Component, Activity, State Machine, Composite Structures, Deployment and Use Case diagram editors are available in UML2Tools.
How can I start with UML2Tools?
First, install UML2Tools and its dependencies to your Eclipse platform. You can also install UML2 Tools via Update Manager. To check that UML2Tools feature is installed correctly go to Help/About Eclipse SDK, in the appeared dialog press 'Feature Details' button, feature with id 'org.eclipse.uml2.diagram' should present at the list. If so then New Diagram wizards are available in the 'New/Other/UML 2.1 Diagrams' wizard group. Then you may create diagram by your choice.
Which GMF version is used to generate UML2Tools source code?
UML2Tools diagrams use 'fresh' GMF. Source code is regenerated with up-to-date GMF on every significant change in GMF and on milestone. It is so because GMF provides more and more features with every iteration. However, some amount of custom code exists in this project. This code is put into 'custom-src' folder or marked with '@generated-not' tag. Note that we use 'Generate UML2Tools Diagrams' action in the context menu of *.gmfgen files to generate code. This action is available if you have GMF-sources checked out in your development workspace.
Where can I find GMF-sources?
GMF-sources (GMF files from which java-code is generated) are located in Eclipse CVS:
cvs -d pserver:dev.eclipse.org:/cvsroot/modeling co org.eclipse.mdt/org.eclipse.uml2tools/plugins/org.eclipse.uml2.diagram.def .
What metamodel do UML2Tools use?
UML2Tools use an EMF-based implementation of the UML™ 2.x metamodel for the Eclipse platform from UML2 project.
What are *.uml and *.umlclass_diagram files for?
UML2Tools diagram is presented by two files in the file system - domain model file (*.uml) and diagram file (*.umlclass_diagram, *.umlstatemachine_diagram). This is a standard for GMF-generated diagram editors. More information on GMF page.
Can I restore diagram from semantic model (*.uml file)?
Yes, it's easy. To 'visualize' diagram from *.uml file use 'Initialize Class Diagram' action from the context menu of the file. There are also actions to initialize Component, Activity or State Machine diagram, choose the one you need. Appropriate diagram file (*.umlclass, *.umlcomp etc) will be created and then open. This feature is provided by GMF.
I want to customize the UML2Tools class diagram. How can I regenerate the diagrams?
There is a special "MDT-UML2Tools How To Regenerage Diagrams" page in with step by step instruction.
Figures from UML2 specifications are implemented using UML2Tools. They are used to visually demonstrate UML2Tools capabilities. These samples are available in Eclipse CVS:
cvs -d pserver:dev.eclipse.org:/cvsroot/modeling co org.eclipse.mdt/org.eclipse.uml2tools/examples/
Newsgroups / Mailing Lists
The best way to find an answer to your questions and to offer your suggestions is to write it in uml2tools newsgroup.
- EclipseCon 2008
- Bitter GMF or How We Did UML With GMF Submission with the slides attached
-  Tutorial about installing and using Eclipse UML2 Tools
-  How to use Profiles in UML2 Tools