Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2008-07-10 12:29:37 +0000
committerashatalin2008-07-10 12:29:37 +0000
commit69a338cda8916cea7772d036dbe2f6ad1732cc36 (patch)
treeb43430f66987fa0796206b1fe49697ed3e20b212 /plugins
parent4fba5532432ae7b2a1f7815561aa068683242eee (diff)
downloadorg.eclipse.gmf-tooling-69a338cda8916cea7772d036dbe2f6ad1732cc36.tar.gz
org.eclipse.gmf-tooling-69a338cda8916cea7772d036dbe2f6ad1732cc36.tar.xz
org.eclipse.gmf-tooling-69a338cda8916cea7772d036dbe2f6ad1732cc36.zip
[217307] - "Add extension model" action: impossible use for additing nondeployed models
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.gmf.tooldef.edit/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.gmf.tooldef.edit/src/org/eclipse/gmf/tooldef/presentation/GMFToolModelWizard.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.tooldef.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.gmf.tooldef.edit/META-INF/MANIFEST.MF
index 2942023dc..219c03f50 100644
--- a/plugins/org.eclipse.gmf.tooldef.edit/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.gmf.tooldef.edit/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.gmf.tooldef.edit; singleton:=true
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 2.0.100.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.gmf.tooldef.provider.GMFToolEditPlugin$Implementation
Bundle-Vendor: %providerName
diff --git a/plugins/org.eclipse.gmf.tooldef.edit/src/org/eclipse/gmf/tooldef/presentation/GMFToolModelWizard.java b/plugins/org.eclipse.gmf.tooldef.edit/src/org/eclipse/gmf/tooldef/presentation/GMFToolModelWizard.java
index 51ce74f49..bc9ca52c0 100644
--- a/plugins/org.eclipse.gmf.tooldef.edit/src/org/eclipse/gmf/tooldef/presentation/GMFToolModelWizard.java
+++ b/plugins/org.eclipse.gmf.tooldef.edit/src/org/eclipse/gmf/tooldef/presentation/GMFToolModelWizard.java
@@ -19,6 +19,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.ContentHandler;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
@@ -128,7 +129,7 @@ public class GMFToolModelWizard extends Wizard implements INewWizard {
// Create a resource for this file.
//
- Resource resource = resourceSet.createResource(fileURI);
+ Resource resource = resourceSet.createResource(fileURI, ContentHandler.UNSPECIFIED_CONTENT_TYPE);
// Add the initial model object to the contents.
//

Back to the top