Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.gmf.graphdef.edit/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.gmf.graphdef.edit/src/org/eclipse/gmf/gmfgraph/presentation/GMFGraphModelWizard.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.gmf.graphdef.edit/META-INF/MANIFEST.MF
index 2501db0e5..f306ccad6 100644
--- a/plugins/org.eclipse.gmf.graphdef.edit/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.gmf.graphdef.edit/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.gmf.graphdef.edit; singleton:=true
-Bundle-Version: 2.0.100.qualifier
+Bundle-Version: 2.0.200.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.gmf.gmfgraph.provider.GMFGraphEditPlugin$Implementation
Bundle-Vendor: %providerName
diff --git a/plugins/org.eclipse.gmf.graphdef.edit/src/org/eclipse/gmf/gmfgraph/presentation/GMFGraphModelWizard.java b/plugins/org.eclipse.gmf.graphdef.edit/src/org/eclipse/gmf/gmfgraph/presentation/GMFGraphModelWizard.java
index a9fbc97ac..fcae82064 100644
--- a/plugins/org.eclipse.gmf.graphdef.edit/src/org/eclipse/gmf/gmfgraph/presentation/GMFGraphModelWizard.java
+++ b/plugins/org.eclipse.gmf.graphdef.edit/src/org/eclipse/gmf/gmfgraph/presentation/GMFGraphModelWizard.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;
@@ -130,7 +131,7 @@ public class GMFGraphModelWizard 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