public interface IConsoleView extends IViewPart, IScrollLockStateProvider
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 |
getWordWrap()
Returns the word wrap 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 |
setWordWrap(boolean wordWrap)
Sets the word wrap 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
getAutoScrollLock, setAutoScrollLock
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)
setScrollLock
in interface IScrollLockStateProvider
scrollLock
- true
to turn scroll lock on, otherwise false
boolean getScrollLock()
getScrollLock
in interface IScrollLockStateProvider
true
if scroll lock is on, false
otherwisevoid setWordWrap(boolean wordWrap)
wordWrap
- true
to turn word wrap on, otherwise
false
boolean getWordWrap()
true
if word wrap is on, false
otherwise
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.