Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2018-01-27 11:02:38 +0000
committerEd Merks2018-01-27 11:02:38 +0000
commit03b33214ea462d74bd90df7d92af62d28bcf1b9d (patch)
treee7ca3cfe03714faf3be633c4cb3f233a2e36ac85
parent687b722d6eff512d50f00a9ac46ae6a22b806f46 (diff)
downloadorg.eclipse.emf-03b33214ea462d74bd90df7d92af62d28bcf1b9d.tar.gz
org.eclipse.emf-03b33214ea462d74bd90df7d92af62d28bcf1b9d.tar.xz
org.eclipse.emf-03b33214ea462d74bd90df7d92af62d28bcf1b9d.zip
[515002] Support more extensions for meta-model containing resource
-rw-r--r--plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java b/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
index 0366100be..0c3fb6185 100644
--- a/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
+++ b/plugins/org.eclipse.emf.ecore.editor/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
@@ -641,7 +641,7 @@ public class EcoreEditor
}
}
- protected static final List<String> NON_DYNAMIC_EXTENSIONS = Arrays.asList(new String [] { "xcore", "emof", "ecore", "genmodel" });
+ protected static final List<String> NON_DYNAMIC_EXTENSIONS = Arrays.asList(new String [] { "xcore", "oclinecore", "xcoreiq", "emof", "ecore", "genmodel" });
protected void handleActivate()
{
@@ -906,6 +906,7 @@ public class EcoreEditor
"java".equals(uri.scheme()) ||
"xcore".equals(uri.fileExtension()) ||
"xcoreiq".equals(uri.fileExtension()) ||
+ "oclinecore".equals(uri.fileExtension()) ||
"genmodel".equals(uri.fileExtension()) ||
uri.isPlatformResource() && !resourceSet.getURIConverter().normalize(uri).isPlatformResource() ||
uri.isPlatformPlugin();

Back to the top