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:
parent
3847c21627
commit
3295359030
1 changed files with 5 additions and 5 deletions
|
@ -7,10 +7,10 @@
|
||||||
*
|
*
|
||||||
* Initial Contributors:
|
* Initial Contributors:
|
||||||
* The following IBM employees contributed to the Remote System Explorer
|
* The following IBM employees contributed to the Remote System Explorer
|
||||||
* component that contains this file: David McKnight, Kushal Munir,
|
* component that contains this file: David McKnight, Kushal Munir,
|
||||||
* Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
|
* Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
|
||||||
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Martin Oberhuber (Wind River) - [180562] dont implement ISystemOutputRemoteTypes
|
* Martin Oberhuber (Wind River) - [180562] dont implement ISystemOutputRemoteTypes
|
||||||
* Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
|
* Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
|
||||||
|
@ -70,7 +70,7 @@ public class TerminalViewElementAdapter extends AbstractSystemViewAdapter
|
||||||
TerminalElement cmdShell = (TerminalElement) firstSelection;
|
TerminalElement cmdShell = (TerminalElement) firstSelection;
|
||||||
if (showInTerminalViewAction == null) {
|
if (showInTerminalViewAction == null) {
|
||||||
showInTerminalViewAction = new ShowInTerminalViewAction(
|
showInTerminalViewAction = new ShowInTerminalViewAction(
|
||||||
shell);
|
getShell());
|
||||||
|
|
||||||
}
|
}
|
||||||
menu.add(ISystemContextMenuConstants.GROUP_OPEN,
|
menu.add(ISystemContextMenuConstants.GROUP_OPEN,
|
||||||
|
@ -91,7 +91,7 @@ public class TerminalViewElementAdapter extends AbstractSystemViewAdapter
|
||||||
actions.clear();
|
actions.clear();
|
||||||
if (actions.size() == 0) {
|
if (actions.size() == 0) {
|
||||||
if (closeTerminalAction == null) {
|
if (closeTerminalAction == null) {
|
||||||
closeTerminalAction = new RemoveTerminalAction(shell);
|
closeTerminalAction = new RemoveTerminalAction(getShell());
|
||||||
}
|
}
|
||||||
actions.add(closeTerminalAction);
|
actions.add(closeTerminalAction);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue