1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 06:05:56 +02:00

[153240] added the "additions" separator to the empty menu for the system view

This commit is contained in:
David Dykstal 2006-12-13 14:24:29 +00:00
parent f381cb2d0b
commit cb84631912
2 changed files with 2 additions and 0 deletions

View file

@ -759,6 +759,7 @@ public class SystemView extends TreeViewer implements ISystemTree, ISystemResour
if (selectionCount == 0) // nothing selected
{
menu.add(getNewConnectionAction());
menu.add(new Separator(ISystemContextMenuConstants.GROUP_ADDITIONS)); // user or BP/ISV additions
} else {
if (selectionCount > 1) {
allSelectionsFromSameParent = sameParent();

View file

@ -759,6 +759,7 @@ public class SystemView extends TreeViewer implements ISystemTree, ISystemResour
if (selectionCount == 0) // nothing selected
{
menu.add(getNewConnectionAction());
menu.add(new Separator(ISystemContextMenuConstants.GROUP_ADDITIONS)); // user or BP/ISV additions
} else {
if (selectionCount > 1) {
allSelectionsFromSameParent = sameParent();