Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2018-04-10 15:59:53 +0000
committervincent lorenzo2018-04-12 15:52:59 +0000
commit224dfa1c661ec52f4b837d272656f69b61b59799 (patch)
tree3b594e650bed5a1c5406d380c5aa64a34043417d /plugins/emf
parentfcad4d4c79d81f7a3c9ba7fcb4e7138687bde6d5 (diff)
downloadorg.eclipse.papyrus-224dfa1c661ec52f4b837d272656f69b61b59799.tar.gz
org.eclipse.papyrus-224dfa1c661ec52f4b837d272656f69b61b59799.tar.xz
org.eclipse.papyrus-224dfa1c661ec52f4b837d272656f69b61b59799.zip
Bug 533439: [Table] Papyrus nattableConfiguration file must use a dedicated resource extending AbtractEMFResource provided by oep.emf.
Change-Id: I232c7d0cd64dc8430b35428c77181b8e891f8c26 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'plugins/emf')
-rwxr-xr-xplugins/emf/org.eclipse.papyrus.emf/src/org/eclipse/papyrus/emf/resources/LoadAndSaveOptionsUtils.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/emf/org.eclipse.papyrus.emf/src/org/eclipse/papyrus/emf/resources/LoadAndSaveOptionsUtils.java b/plugins/emf/org.eclipse.papyrus.emf/src/org/eclipse/papyrus/emf/resources/LoadAndSaveOptionsUtils.java
index d1e565dbcb9..351a95d306d 100755
--- a/plugins/emf/org.eclipse.papyrus.emf/src/org/eclipse/papyrus/emf/resources/LoadAndSaveOptionsUtils.java
+++ b/plugins/emf/org.eclipse.papyrus.emf/src/org/eclipse/papyrus/emf/resources/LoadAndSaveOptionsUtils.java
@@ -17,6 +17,7 @@ import java.util.HashMap;
import java.util.Map;
import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.xmi.XMIResource;
import org.eclipse.emf.ecore.xmi.XMLResource;
import org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl;
@@ -56,6 +57,7 @@ public final class LoadAndSaveOptionsUtils {
// to force the save of the default content
SAVE_OPTIONS.put(XMLResource.OPTION_KEEP_DEFAULT_CONTENT, Boolean.TRUE);
SAVE_OPTIONS.put(XMLResource.OPTION_SAVE_TYPE_INFORMATION, Boolean.TRUE);
+ SAVE_OPTIONS.put(XMIResource.OPTION_USE_XMI_TYPE, Boolean.TRUE);
// create the load options
// the same as in Papyrus ModelSet

Back to the top