From a1b738992b5bd8ac0a2ddff5c0e594b2af37d422 Mon Sep 17 00:00:00 2001 From: Uwe Stieber Date: Tue, 8 May 2007 08:43:43 +0000 Subject: [PATCH] [fix] ISystemContextMenuConstants.GROUP_NEW_NONCASCADING not consistently contributed to menu on system type level --- .../rse/internal/ui/view/SystemViewConnectionAdapter.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java index 4f6abdb8e27..a84318a8d93 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java @@ -136,11 +136,10 @@ public class SystemViewConnectionAdapter RSESystemTypeAdapter sysTypeAdapter = adapter instanceof RSESystemTypeAdapter ? (RSESystemTypeAdapter)adapter : null; //updateAction.setValue(null); // reset - if (sysTypeAdapter == null - || sysTypeAdapter.acceptContextMenuActionContribution(host, anotherConnectionAction.getClass())) { + if (sysTypeAdapter == null || sysTypeAdapter.acceptContextMenuActionContribution(host, anotherConnectionAction.getClass())) { menu.add(menuGroup, anotherConnectionAction); - menu.appendToGroup(ISystemContextMenuConstants.GROUP_NEW, new GroupMarker(ISystemContextMenuConstants.GROUP_NEW_NONCASCADING));// user or BP/ISV additions } + menu.appendToGroup(ISystemContextMenuConstants.GROUP_NEW, new GroupMarker(ISystemContextMenuConstants.GROUP_NEW_NONCASCADING));// user or BP/ISV additions if (sysTypeAdapter == null || sysTypeAdapter.acceptContextMenuActionContribution(host, copyAction.getClass()))