Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatilov2015-10-07 20:24:18 +0000
committerGerrit Code Review @ Eclipse.org2015-10-13 13:01:26 +0000
commitac18bf5896156cc51d34833938e9b91d4d47b712 (patch)
tree2f45e4e43413c9fc597605e4988fc4aaa7cea782 /plugins/views
parent37aad23f62ca41eccdabc71a560fc43c193a0b03 (diff)
downloadorg.eclipse.papyrus-ac18bf5896156cc51d34833938e9b91d4d47b712.tar.gz
org.eclipse.papyrus-ac18bf5896156cc51d34833938e9b91d4d47b712.tar.xz
org.eclipse.papyrus-ac18bf5896156cc51d34833938e9b91d4d47b712.zip
Bug 479275 - [Class diagram] Dropping of the
RedefinableTemplateSignature causes NPE Change-Id: I444f23b03da093aff0f8b10c6e97db1c79df6fd7 Signed-off-by: ashatilov <shatilov@montages.com>
Diffstat (limited to 'plugins/views')
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/dnd/CommonDropAdapterAssistant.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/dnd/CommonDropAdapterAssistant.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/dnd/CommonDropAdapterAssistant.java
index 3bc3cd600b5..08645f83cc3 100644
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/dnd/CommonDropAdapterAssistant.java
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/dnd/CommonDropAdapterAssistant.java
@@ -600,7 +600,9 @@ public class CommonDropAdapterAssistant extends org.eclipse.ui.navigator.CommonD
}
}
-
+ if (setRequest == null) {
+ continue;
+ }
Command requestCommand = getRequestCommand(targetContainer, setRequest);
if (requestCommand != null) {
separateCommand.add(requestCommand);

Back to the top