[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/Ganymede_Simultaneous_Release Ganymede Project]. UML2 Tools consist of Class, Profile Definition, Component, Activity, State Machine, Composite Structures, Deployment and Use Case diagram editors. UML2Tool is in incubation phase now, but it already had its first release.

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, [http://www.eclipse.org/modeling/mdt/downloads/?project=uml2tools install] UML2Tools and its dependencies to your Eclipse platform. You can also install UML2 Tools via [[Modeling_Project/Installation | 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.uml2tools' 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:

UML2Tools use an EMF-based implementation of the UML™ 2.x metamodel for the Eclipse platform from [http://wiki.eclipse.org/MDT-UML2 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 [http://wiki.eclipse.org/GMF GMF page].

+

−

+

−

=== Can I restore diagram from semantic model (*.uml file)? ===

+

−

Yes, it's easy. To 'visualize' diagram from *.uml file use 'Initialize umlclass_diagram diagram file' 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_diagram, *.umlcomponent_diagram etc) will be created and then open. This feature is provided by GMF.

+

== Samples ==

== Samples ==

−

Figures from UML2 specifications are implemented using UML2Tools. They are used to visually demonstrate UML2Tools capabilities. These samples are available in Eclipse CVS:

+

The samples are available in the Eclipse CVS via [[PSF|Project Set Files]] and can be downloaded using [http://wiki.eclipse.org/images/3/3a/UML2Tools_samples.psf this PSF] file.

The best way to find an answer to your questions and to offer your suggestions is to write it in [http://www.eclipse.org/modeling/mdt/newsgroup-mailing-list.php eclipse.modeling.mdt.uml2tools newsgroup].

+

The best way to find an answer to your questions and to offer your suggestions is to write it in [http://www.eclipse.org/forums/index.php?t=thread&frm_id=118&S=0bba41b2009495b1b9935b33fe51d3ec UML2 Tools Forum].

== Documentation ==

== Documentation ==

+

*[[MDT-UML2Tools FAQ|Frequently Asked Questions (FAQ)]]

*EclipseCon 2008

*EclipseCon 2008

−

**''Bitter GMF or How We Did UML With GMF'' [http://www.eclipsecon.org/2008/?page=sub/&id=387 Submission with the slides attached]

+

**[http://www.eclipsecon.org/2008/?page=sub/&id=387 ''Bitter GMF or How We Did UML With GMF''] slides

+

*Tutorials

+

**[http://www.vogella.com/articles/UML/article.html Tutorial about installing and using Eclipse UML2 Tools]

+

**[[MDT-UML2Tools How To Regenerage Diagrams|How To Regenerate Diagrams]]

+

**[[MDT-UML2Tools How To Regenerate Diagrams (Alternative)|How To Regenerate Diagrams (Alternative)]]

+

*Profiles

+

**[[MDT-UML2Tools How To Use UML Profiles|How to use Profiles in UML2 Tools]]