Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2015-06-29 09:35:56 +0000
committerMickael ADAM2015-09-18 10:09:37 +0000
commita6d7441fb64d89da890468d6d87004b6ed9f905e (patch)
tree024f4824fdc8ea1e5fbbd9ee52fba1b6c0eb19ef /plugins/developer
parent84c2bbfeadd1458653d0be0bfecff69c39610f11 (diff)
downloadorg.eclipse.papyrus-a6d7441fb64d89da890468d6d87004b6ed9f905e.tar.gz
org.eclipse.papyrus-a6d7441fb64d89da890468d6d87004b6ed9f905e.tar.xz
org.eclipse.papyrus-a6d7441fb64d89da890468d6d87004b6ed9f905e.zip
Bug 471292 - [Diagram] Compartment shall not be decocationNode but
BasicCompartment https://bugs.eclipse.org/bugs/show_bug.cgi?id=471292 -Patch set2: Adds reconciler to 1.2.0 Remove changes on .xpt file Change-Id: I951d1ce0d3206497bb6abf5475e740713f58b94e Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
Diffstat (limited to 'plugins/developer')
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ViewProvider.xtend7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ViewProvider.xtend b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ViewProvider.xtend
index b210772b89a..3bfc57e6ab7 100644
--- a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ViewProvider.xtend
+++ b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ViewProvider.xtend
@@ -307,12 +307,7 @@ import xpt.editor.VisualIDRegistry
//SemanticListCompartment rv = NotationFactory.eINSTANCE.createSemanticListCompartment();
//rv.setShowTitle(showTitle);
//rv.setCollapsed(isCollapsed);
- org.eclipse.gmf.runtime.notation.Node rv;
- if (canCollapse) {
- rv = org.eclipse.gmf.runtime.notation.NotationFactory.eINSTANCE.createBasicCompartment();
- } else {
- rv = org.eclipse.gmf.runtime.notation.NotationFactory.eINSTANCE.createDecorationNode();
- }
+ org.eclipse.gmf.runtime.notation.Node rv = org.eclipse.gmf.runtime.notation.NotationFactory.eINSTANCE.createBasicCompartment();
rv.setLayoutConstraint(org.eclipse.gmf.runtime.notation.NotationFactory.eINSTANCE.createBounds());

Back to the top