Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2008-07-10 08:29:49 -0400
committerashatalin2008-07-10 08:29:49 -0400
commitdc8a063d026ef37810b9635605dd16007cf8af65 (patch)
treefd6640fc2279e5ae66d59703373ea873d7325f09
parente4e8787fbbe89860b84008f83b4f8f9b5f5a9bce (diff)
downloadorg.eclipse.gmf-tooling-dc8a063d026ef37810b9635605dd16007cf8af65.tar.gz
org.eclipse.gmf-tooling-dc8a063d026ef37810b9635605dd16007cf8af65.tar.xz
org.eclipse.gmf-tooling-dc8a063d026ef37810b9635605dd16007cf8af65.zip
[217307] - "Add extension model" action: impossible use for additing nondeployed models
-rw-r--r--plugins/org.eclipse.gmf.map.edit/src/org/eclipse/gmf/mappings/presentation/GMFMapModelWizard.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.map.edit/src/org/eclipse/gmf/mappings/presentation/GMFMapModelWizard.java b/plugins/org.eclipse.gmf.map.edit/src/org/eclipse/gmf/mappings/presentation/GMFMapModelWizard.java
index 2775336cc..1b7594ad0 100644
--- a/plugins/org.eclipse.gmf.map.edit/src/org/eclipse/gmf/mappings/presentation/GMFMapModelWizard.java
+++ b/plugins/org.eclipse.gmf.map.edit/src/org/eclipse/gmf/mappings/presentation/GMFMapModelWizard.java
@@ -20,6 +20,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;
@@ -127,7 +128,7 @@ public class GMFMapModelWizard 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