|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
.
Method Summary | |
void |
addPage(LogPage page)
Add and display the specified page to the LogWindow . |
ContextMenu |
getContextMenu()
Get the ContextMenu . |
LogWindow |
getLogWindow()
Get the LogWindow . |
LogPage |
getMsgPage()
Get the MessagePage . |
int |
getPageCount()
Find out the number of opened LogPage s. |
LogPage[] |
getPages()
Get a list of all the pages currently opened. |
LogPage |
getSelectedPage()
|
void |
hideLog()
Hide the LogWindow . |
void |
initialize()
Initialize the log window management. |
boolean |
isLogVisible()
Find out if the LogWindow is visible. |
void |
removePage(LogPage page)
Remove the specified page from the LogWindow . |
void |
showLog()
Show the LogWindow . |
void |
shutdown()
Cleanup the log window management. |
void |
toggleLog(Context context)
Shows/Hide the LogWindow . |
Methods inherited from interface oracle.ide.addin.Controller |
checkCommands, handleEvent, supervisor, update |
Method Detail |
public void initialize()
public void shutdown()
public ContextMenu getContextMenu()
ContextMenu
. In general, subclasses should get the
context menu to add custom menu items.
public void addPage(LogPage page)
page
to the LogWindow
.
page
- the page to add.public void removePage(LogPage page)
page
from the LogWindow
.
page
- the page to removed.public int getPageCount()
LogPage
s.
public LogPage[] getPages()
public boolean isLogVisible()
LogWindow
is visible.
true
if the log window is visible.public void showLog()
LogWindow
.
public void hideLog()
LogWindow
.
public void toggleLog(Context context)
LogWindow
.
public LogWindow getLogWindow()
LogWindow
.
public LogPage getMsgPage()
MessagePage
. The message page can be used as the
default page to display messages for the user.
public LogPage getSelectedPage()
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.