public interface IConsoleView extends IViewPart
PROP_TITLE
Modifier and Type | Method and Description |
---|---|
void |
display(IConsole console)
Displays the page for the given console in this console view.
|
IConsole |
getConsole()
Returns the console currently being displayed, or
null
if none |
boolean |
getScrollLock()
Returns the scroll lock state of the currently active console.
|
boolean |
isPinned()
Returns whether this console view is currently pinned to a
specific console.
|
void |
pin(IConsole console)
Deprecated.
rather than pinning a specific console, a console view is
pinned - use
setPinned(boolean) |
void |
setPinned(boolean pin)
Pins this console view.
|
void |
setScrollLock(boolean scrollLock)
Sets the scroll lock state of the currently active console.
|
void |
warnOfContentChange(IConsole console)
Warns that the content of the given console has changed.
|
getViewSite, init, init, saveState
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
getAdapter
void display(IConsole console)
console
- console to display, cannot be null
void setPinned(boolean pin)
pin
- true
to pin the current console to the
top of the stack, false
otherwise@Deprecated void pin(IConsole console)
setPinned(boolean)
null
un-pins this consoleconsole
- console to pin, or null
to un-pinboolean isPinned()
IConsole getConsole()
null
if nonenull
if nonevoid warnOfContentChange(IConsole console)
console
- the console that has changedvoid setScrollLock(boolean scrollLock)
scrollLock
- true
to turn scroll lock on, otherwise false
boolean getScrollLock()
true
if scroll lock is on, false
otherwise
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.