Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2009-04-20 12:43:41 -0400
committeratikhomirov2009-04-20 12:43:41 -0400
commit63db9e77153ce5c6f4ba8bbe00f1d72939fbea8b (patch)
tree1431f5a3231f58052464dfdfa53317a89027ad11
parent3425670753f77933e5dbb2ab0e54868035297bb6 (diff)
downloadorg.eclipse.gmf-tooling-63db9e77153ce5c6f4ba8bbe00f1d72939fbea8b.tar.gz
org.eclipse.gmf-tooling-63db9e77153ce5c6f4ba8bbe00f1d72939fbea8b.tar.xz
org.eclipse.gmf-tooling-63db9e77153ce5c6f4ba8bbe00f1d72939fbea8b.zip
[268990] migration for the latest gmfgen changes - tests.
Current approach to migration is to bring any old model to the latest version, MigrationPatchesTest reverted to use generated classes and updated not to modify saved model with old nsURI as it's dumb activity.
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/plugin.properties2
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/plugin.xml6
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.ui/plugin.properties b/plugins/org.eclipse.gmf.codegen.ui/plugin.properties
index b373b33b4..79b7e73f4 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/plugin.properties
+++ b/plugins/org.eclipse.gmf.codegen.ui/plugin.properties
@@ -20,7 +20,7 @@ generatecode.err=Errors while generating code
generatecode.neveragain=Never show me this dialog again.
generatecode.badsrc=Source generator model is not completely ok, would you like to proceed?
-migrate.model.action=Migrate to GMF 2.1
+migrate.model.action=Migrate to GMF 2.2
dashboard.gende=Generate diagram editor
diff --git a/plugins/org.eclipse.gmf.codegen.ui/plugin.xml b/plugins/org.eclipse.gmf.codegen.ui/plugin.xml
index a92719b1d..41f5eb261 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/plugin.xml
+++ b/plugins/org.eclipse.gmf.codegen.ui/plugin.xml
@@ -49,9 +49,11 @@
</action>
<visibility>
<or>
- <objectState name="extension" value="gmfgen"/>
+ <objectState name="contentTypeId" value="org.eclipse.gmf.gen_1_0"/>
+ <objectState name="contentTypeId" value="org.eclipse.gmf.gen_2_0"/>
+ <objectState name="contentTypeId" value="org.eclipse.gmf.gen_2_1"/>
<objectState name="extension" value="gmfmap"/>
- <objectState name="extension" value="gmfgraph"/>
+ <objectState name="contentTypeId" value="org.eclipse.gmf.graph_1_0"/>
</or>
</visibility>
</objectContribution>

Back to the top