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, saveStateaddPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocusgetAdaptergetAutoScrollLock, setAutoScrollLockvoid display(IConsole console)
console - console to display, cannot be nullvoid 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 IScrollLockStateProviderscrollLock - true to turn scroll lock on, otherwise falseboolean getScrollLock()
getScrollLock in interface IScrollLockStateProvidertrue if scroll lock is on, false otherwisevoid setWordWrap(boolean wordWrap)
wordWrap - true to turn word wrap on, otherwise
falseboolean getWordWrap()
true if word wrap is on, false
otherwise
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.