Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "MDT-UML2Tools How To Regenerate Diagrams"

m
m
Line 3: Line 3:
 
== Installation of target platform ==
 
== Installation of target platform ==
 
Target platform is using to modify UML2 Tools models and execute regeneration.  
 
Target platform is using to modify UML2 Tools models and execute regeneration.  
=== 1. Download and install Eclipse platform described in dependencies of latest UML2 Tools build. ===
+
=== Download and install Eclipse platform described in dependencies of latest UML2 Tools build. ===
 
It's Eclipse  R-3.4-200806172000 for current (0.8.1) version.
 
It's Eclipse  R-3.4-200806172000 for current (0.8.1) version.
 
+
=== Download and install other dependencies of latest UML2 Tools build. ===
=== 2. Download and install other dependencies of latest UML2 Tools build. ===
+
 
Following dependencies should be installed for current (0.8.1) version:
 
Following dependencies should be installed for current (0.8.1) version:
 
* EMF 2.4.0 R200806091234
 
* EMF 2.4.0 R200806091234
Line 18: Line 17:
  
 
See [http://www.eclipse.org/modeling/mdt/downloads/?project=uml2tools download page] for dependencies of another version.
 
See [http://www.eclipse.org/modeling/mdt/downloads/?project=uml2tools download page] for dependencies of another version.
 +
=== Install latest build of UML 2 Tools if you are going to work with part of code ===
 +
Latest build you can find on [http://www.eclipse.org/modeling/mdt/downloads/?project=uml2tools download page]
 +
=== Checkout diagram plug-ins of UML2 Tools ===
 +
You should checkout at least "org.eclipse.uml2.diagram.def", that contains models to regenerate the diagrams.
 +
Use [http://wiki.eclipse.org/images/6/62/UML2Tools_Diagrams.psf PSF  file] to checkout all UML2 Tools plug-ins.
 +
=== Close target platform ===
  
=== 3. Install latest build of UML 2 Tools if you are going to work with part of code ===
+
== Installation of development platform ==
Latest buils you can find on [http://www.eclipse.org/modeling/mdt/downloads/?project=uml2tools download page]
+
=== Download and install latest release of Eclipse platform. ===
 +
The build can be found [http://download.eclipse.org/eclipse/downloads/ here].
 +
=== Run development platform ===
 +
=== Define plug-in development platform ===
 +
Open preferences page "Window -> Preferences -> Plug-in Development -> Target Platform" and select the target platform as location.
 +
=== Checkout codegen plug-ins ===
 +
Checkout "org.eclipse.uml2.diagram.codegen" and "org.eclipse.uml2.diagram.codegen.edit".
 +
You can use [http://wiki.eclipse.org/images/9/9a/UML2Tools_Codegen.psf PSF file] to check out.
 +
=== Checkout source code of GMF generation framework by date tag ===
 +
Checkout source code of GMF generation framework by specific data tag <span style="color:#ff0000">September 16 2008, 4:00 UTC</span>.
  
=== 4. Checkout diagram plugins of UML2 Tools ===
+
GMF generation framework contains following plug-ins:
Checkout ""
+
* org.eclipse.gmf.bridge
 +
* org.eclipse.gmf.bridge.trace
 +
* org.eclipse.gmf.bridge.ui
 +
* org.eclipse.gmf.codegen
 +
* org.eclipse.gmf.codegen.edit
 +
* org.eclipse.gmf.codegen.lite
 +
* org.eclipse.gmf.codegen.lite.ui
 +
* org.eclipse.gmf.codegen.ui
 +
* org.eclipse.gmf.common
 +
* org.eclipse.gmf.formtk
 +
* org.eclipse.gmf.graphdef
 +
* org.eclipse.gmf.graphdef.codegen
 +
* org.eclipse.gmf.graphdef.codegen.ui
 +
* org.eclipse.gmf.graphdef.edit
 +
* org.eclipse.gmf.graphdef.editor
 +
* org.eclipse.gmf.map
 +
* org.eclipse.gmf.map.edit
 +
* org.eclipse.gmf.map.editor
 +
* org.eclipse.gmf.tooldef
 +
* org.eclipse.gmf.tooldef.edit
 +
* org.eclipse.gmf.tooling
 +
* org.eclipse.gmf.validate
 +
* org.eclipse.gmf.xpand
 +
* org.eclipse.gmf.xpand.editor
  
 
+
In other words its are all plugins from org.eclipse.gmf/plugins" folder without "runtime" in path.
== Installation of development platform ==
+
# Download and install latest release of Eclipse platform. The build can be found [http://download.eclipse.org/eclipse/downloads/ here].
+
# Run development platform.
+
# Checkout "org.eclipse.uml2.diagram.codegen" and "org.eclipse.uml2.diagram.codegen.edit". You can use [http://wiki.eclipse.org/images/9/9a/UML2Tools_Codegen.psf PSF file] to check out.
+

Revision as of 08:29, 17 September 2008

How to regenerate UML2 Tools diagrams

To regenerate the diagrams you should have 2 Eclipse platforms installed. First is so called "development", second one is "target".

Installation of target platform

Target platform is using to modify UML2 Tools models and execute regeneration.

Download and install Eclipse platform described in dependencies of latest UML2 Tools build.

It's Eclipse R-3.4-200806172000 for current (0.8.1) version.

Download and install other dependencies of latest UML2 Tools build.

Following dependencies should be installed for current (0.8.1) version:

  • EMF 2.4.0 R200806091234
  • Query 1.2.0 R200806091744
  • Transaction 1.2.0 R200806091902
  • Validation 1.2.0 R200806091804
  • OCL 1.2.0 R200806091714
  • UML2 2.2.0 R200806091546
  • GEF 3.4.0 R200806091334
  • GMF 2.1.0 R200806121402

See download page for dependencies of another version.

Install latest build of UML 2 Tools if you are going to work with part of code

Latest build you can find on download page

Checkout diagram plug-ins of UML2 Tools

You should checkout at least "org.eclipse.uml2.diagram.def", that contains models to regenerate the diagrams. Use PSF file to checkout all UML2 Tools plug-ins.

Close target platform

Installation of development platform

Download and install latest release of Eclipse platform.

The build can be found here.

Run development platform

Define plug-in development platform

Open preferences page "Window -> Preferences -> Plug-in Development -> Target Platform" and select the target platform as location.

Checkout codegen plug-ins

Checkout "org.eclipse.uml2.diagram.codegen" and "org.eclipse.uml2.diagram.codegen.edit". You can use PSF file to check out.

Checkout source code of GMF generation framework by date tag

Checkout source code of GMF generation framework by specific data tag September 16 2008, 4:00 UTC.

GMF generation framework contains following plug-ins:

  • org.eclipse.gmf.bridge
  • org.eclipse.gmf.bridge.trace
  • org.eclipse.gmf.bridge.ui
  • org.eclipse.gmf.codegen
  • org.eclipse.gmf.codegen.edit
  • org.eclipse.gmf.codegen.lite
  • org.eclipse.gmf.codegen.lite.ui
  • org.eclipse.gmf.codegen.ui
  • org.eclipse.gmf.common
  • org.eclipse.gmf.formtk
  • org.eclipse.gmf.graphdef
  • org.eclipse.gmf.graphdef.codegen
  • org.eclipse.gmf.graphdef.codegen.ui
  • org.eclipse.gmf.graphdef.edit
  • org.eclipse.gmf.graphdef.editor
  • org.eclipse.gmf.map
  • org.eclipse.gmf.map.edit
  • org.eclipse.gmf.map.editor
  • org.eclipse.gmf.tooldef
  • org.eclipse.gmf.tooldef.edit
  • org.eclipse.gmf.tooling
  • org.eclipse.gmf.validate
  • org.eclipse.gmf.xpand
  • org.eclipse.gmf.xpand.editor

In other words its are all plugins from org.eclipse.gmf/plugins" folder without "runtime" in path.

Back to the top