1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 12:45:41 +02:00

[cleanup] Replace deprecated shell by getShell()

This commit is contained in:
Martin Oberhuber 2008-05-05 10:25:16 +00:00
parent 3847c21627
commit 3295359030

View file

@ -70,7 +70,7 @@ public class TerminalViewElementAdapter extends AbstractSystemViewAdapter
TerminalElement cmdShell = (TerminalElement) firstSelection;
if (showInTerminalViewAction == null) {
showInTerminalViewAction = new ShowInTerminalViewAction(
shell);
getShell());
}
menu.add(ISystemContextMenuConstants.GROUP_OPEN,
@ -91,7 +91,7 @@ public class TerminalViewElementAdapter extends AbstractSystemViewAdapter
actions.clear();
if (actions.size() == 0) {
if (closeTerminalAction == null) {
closeTerminalAction = new RemoveTerminalAction(shell);
closeTerminalAction = new RemoveTerminalAction(getShell());
}
actions.add(closeTerminalAction);
}