|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.log.LogManager
The LogManager
interface should be implemented to
provide customized management of LogPage
s. The framework
provides an implementation that manages the log pages as tabbed
sub-views inside a Dockable
view: the LogWindow
.
Constructor Summary | |
LogManager()
|
Method Summary | |
abstract void |
addPage(LogPage page)
Add and display the specified page to the LogWindow . |
abstract ContextMenu |
getContextMenu()
Get the ContextMenu . |
static LogWindow |
getIdeLogWindow()
Returns the LogWindow instance that is used by the currently active LogManager. |
static LogManager |
getLogManager()
Returns the LogManager instance that is active in the IDE. |
abstract LogWindow |
getLogWindow()
Get the LogWindow . |
abstract LogPage |
getMsgPage()
Get the MessagePage . |
abstract int |
getPageCount()
Find out the number of opened LogPage s. |
abstract LogPage[] |
getPages()
Get a list of all the pages currently opened. |
abstract LogPage |
getSelectedPage()
Gets the currently selected page. |
abstract void |
hideLog()
Hide the LogWindow . |
abstract boolean |
isLogVisible()
Find out if the LogWindow is visible. |
abstract void |
registerLogRecognizer(LogRecognizer logRecognizer)
Register a LogRecognizer Registered LogRecognizers
determine what files can be opened in the log window and define
what class will be used to present the data from the file. |
abstract void |
removePage(LogPage page)
Remove the specified page from the LogWindow . |
static void |
setLogManager(LogManager logManager)
Publishes the specified LogManager as the active instance in the IDE. |
abstract void |
showLog()
Show the LogWindow . |
abstract void |
shutdown()
Cleanup the log window management. |
abstract void |
toggleLog(Context context)
Shows/Hide the LogWindow . |
abstract void |
unregisterLogRecognizer(LogRecognizer logRecognizer)
Unregister a LogRecognizer . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.addin.Controller |
handleEvent, update |
Methods inherited from interface oracle.javatools.Module |
initialize |
Constructor Detail |
public LogManager()
Method Detail |
public static LogManager getLogManager()
public static void setLogManager(LogManager logManager)
public static LogWindow getIdeLogWindow()
public abstract void shutdown()
public abstract ContextMenu getContextMenu()
ContextMenu
. In general, subclasses should get the
context menu to add custom menu items.
public abstract void addPage(LogPage page)
page
to the LogWindow
.
page
- the page to add.public abstract void removePage(LogPage page)
page
from the LogWindow
.
page
- the page to removed.public abstract int getPageCount()
LogPage
s.
public abstract LogPage[] getPages()
public abstract boolean isLogVisible()
LogWindow
is visible.
true
if the log window is visible.public abstract void showLog()
LogWindow
.
public abstract void hideLog()
LogWindow
.
public abstract void toggleLog(Context context)
LogWindow
.
context
- that should be toggledpublic abstract LogWindow getLogWindow()
LogWindow
.
public abstract LogPage getMsgPage()
MessagePage
. The message page can be used as the
default page to display messages for the user.
public abstract LogPage getSelectedPage()
public abstract void registerLogRecognizer(LogRecognizer logRecognizer)
LogRecognizer
Registered LogRecognizers
determine what files can be opened in the log window and define
what class will be used to present the data from the file.
logRecognizer
- to registerpublic abstract void unregisterLogRecognizer(LogRecognizer logRecognizer)
LogRecognizer
.
logRecognizer
- to unregister
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.