Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatilov2015-04-03 09:44:50 +0000
committerCamille Letavernier2015-04-21 15:32:35 +0000
commit4e466f73104e087345fa40dbd9bedd11f1cd15d8 (patch)
tree42e997ff5b76e31d7407121a9eaaa5f7a779057c /plugins/developer/org.eclipse.papyrus.def
parent347a997f4e0f7afb428c3b6a912e023a5b140af4 (diff)
downloadorg.eclipse.papyrus-4e466f73104e087345fa40dbd9bedd11f1cd15d8.tar.gz
org.eclipse.papyrus-4e466f73104e087345fa40dbd9bedd11f1cd15d8.tar.xz
org.eclipse.papyrus-4e466f73104e087345fa40dbd9bedd11f1cd15d8.zip
Bug 463769 - Stereotype compartment can not be restored
Change-Id: I021a6b1d051f73fab2adfa1c86c92914bc4f524c Signed-off-by: ashatilov <montages.as@gmail.com> Reviewed-on: https://git.eclipse.org/r/45217 Tested-by: Hudson CI Reviewed-by: Michael Golubev <golubev@montages.com> Reviewed-by: Camille Letavernier <camille.letavernier@cea.fr>
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.def')
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/NodeEditPart.xtend4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/NodeEditPart.xtend b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/NodeEditPart.xtend
index 602ad454205..587718b9291 100644
--- a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/NodeEditPart.xtend
+++ b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/NodeEditPart.xtend
@@ -397,7 +397,9 @@ def specificHandleNotificationEvent (GenNode it) '''
if(org.eclipse.gmf.runtime.notation.NotationPackage.eINSTANCE.getView_Visible().equals(event.getFeature())) {
Object notifier = event.getNotifier();
java.util.List<?> modelChildren = ((org.eclipse.gmf.runtime.notation.View)getModel()).getChildren();
- if(!(notifier instanceof org.eclipse.gmf.runtime.notation.Edge)) {
+ if (false == notifier instanceof org.eclipse.gmf.runtime.notation.Edge
+ ллл see Bug 463769
+ && false == notifier instanceof org.eclipse.gmf.runtime.notation.BasicCompartment) {
if(modelChildren.contains(event.getNotifier())) {
return;
}

Back to the top