aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2008-06-27 13:37:08 -0400
committeratikhomirov2008-06-27 13:37:08 -0400
commit2400b0002b5975e4ca9f8319ee8136370a0806d0 (patch)
treee2eb1d010aa9c742a115b8df4379e3f43dce9a5a
parent48d69fdab998a2f037b14904d645edaf721d2193 (diff)
downloadorg.eclipse.gmf-tooling-2400b0002b5975e4ca9f8319ee8136370a0806d0.tar.gz
org.eclipse.gmf-tooling-2400b0002b5975e4ca9f8319ee8136370a0806d0.tar.xz
org.eclipse.gmf-tooling-2400b0002b5975e4ca9f8319ee8136370a0806d0.zip
externalized names for content types
-rw-r--r--plugins/org.eclipse.gmf.codegen/plugin.properties6
-rw-r--r--plugins/org.eclipse.gmf.codegen/plugin.xml6
2 files changed, 7 insertions, 5 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/plugin.properties b/plugins/org.eclipse.gmf.codegen/plugin.properties
index da743e50b..61e4c71ae 100644
--- a/plugins/org.eclipse.gmf.codegen/plugin.properties
+++ b/plugins/org.eclipse.gmf.codegen/plugin.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2005 Borland Software Corporation and others.
+# Copyright (c) 2005, 2008 Borland Software Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
@@ -11,4 +11,6 @@
pluginName = GMF GenModel and Code Generation
providerName = Eclipse.org
# ====================================================================
-
+contenttype.gmf10=GMFGen file (GMF 1.0)
+contenttype.gmf20=GMFGen file (GMF 2.0)
+contenttype.gmf=GMFGen file
diff --git a/plugins/org.eclipse.gmf.codegen/plugin.xml b/plugins/org.eclipse.gmf.codegen/plugin.xml
index e2b98ed74..54b1bac9a 100644
--- a/plugins/org.eclipse.gmf.codegen/plugin.xml
+++ b/plugins/org.eclipse.gmf.codegen/plugin.xml
@@ -51,7 +51,7 @@
base-type="org.eclipse.emf.ecore.xmi"
file-extensions="gmfgen"
id="org.eclipse.gmf.gen"
- name="GMFGen file"
+ name="%contenttype.gmf"
priority="normal">
<describer
class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
@@ -69,7 +69,7 @@
base-type="org.eclipse.emf.ecore.xmi"
file-extensions="gmfgen"
id="org.eclipse.gmf.gen_2_0"
- name="GMFGen file (GMF 2.0)"
+ name="%contenttype.gmf20"
priority="normal">
<describer
class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
@@ -87,7 +87,7 @@
base-type="org.eclipse.emf.ecore.xmi"
file-extensions="gmfgen"
id="org.eclipse.gmf.gen_1_0"
- name="GMFGen file (GMF 1.0)"
+ name="%contenttype.gmf10"
priority="normal">
<describer
class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">