mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-19 14:15:50 +02:00
[153240] added the "additions" separator to the empty menu for the system view
This commit is contained in:
parent
f381cb2d0b
commit
cb84631912
2 changed files with 2 additions and 0 deletions
|
@ -759,6 +759,7 @@ public class SystemView extends TreeViewer implements ISystemTree, ISystemResour
|
||||||
if (selectionCount == 0) // nothing selected
|
if (selectionCount == 0) // nothing selected
|
||||||
{
|
{
|
||||||
menu.add(getNewConnectionAction());
|
menu.add(getNewConnectionAction());
|
||||||
|
menu.add(new Separator(ISystemContextMenuConstants.GROUP_ADDITIONS)); // user or BP/ISV additions
|
||||||
} else {
|
} else {
|
||||||
if (selectionCount > 1) {
|
if (selectionCount > 1) {
|
||||||
allSelectionsFromSameParent = sameParent();
|
allSelectionsFromSameParent = sameParent();
|
||||||
|
|
|
@ -759,6 +759,7 @@ public class SystemView extends TreeViewer implements ISystemTree, ISystemResour
|
||||||
if (selectionCount == 0) // nothing selected
|
if (selectionCount == 0) // nothing selected
|
||||||
{
|
{
|
||||||
menu.add(getNewConnectionAction());
|
menu.add(getNewConnectionAction());
|
||||||
|
menu.add(new Separator(ISystemContextMenuConstants.GROUP_ADDITIONS)); // user or BP/ISV additions
|
||||||
} else {
|
} else {
|
||||||
if (selectionCount > 1) {
|
if (selectionCount > 1) {
|
||||||
allSelectionsFromSameParent = sameParent();
|
allSelectionsFromSameParent = sameParent();
|
||||||
|
|
Loading…
Add table
Reference in a new issue