Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


javax.ide.log
Class LogManager

java.lang.Object
  extended by javax.ide.Service
      extended by javax.ide.log.LogManager


public abstract class LogManager
extends Service

The LogManager provides the interface through which the IDE manipulates LogPages.


Field Summary
static java.lang.String MSG_PAGE_CLASS
          Pseudo-class identifying the message page.

 

Constructor Summary
LogManager()
           

 

Method Summary
abstract  void closePage(LogPage page)
          Close the specified page.
abstract  LogPage findPage(java.lang.String pageClass)
          Find the log page with the specified id.
static LogManager getLogManager()
          Get the log manager implementation for this IDE.
abstract  LogPage getMsgPage()
          Get the message page.
abstract  LogPage getSelectedPage()
          Gets the currently selected page.
protected  void initialize()
          Initialize this manager.
abstract  LogPage openPage(Context context, java.lang.String pageClass)
          Open and display the page identified by the given type identifier.

 

Methods inherited from class javax.ide.Service
getService, resetAllServices

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

MSG_PAGE_CLASS

public static final java.lang.String MSG_PAGE_CLASS
Pseudo-class identifying the message page.
See Also:
Constant Field Values

Constructor Detail

LogManager

public LogManager()

Method Detail

openPage

public abstract LogPage openPage(Context context,
                                 java.lang.String pageClass)
Open and display the page identified by the given type identifier.
Parameters:
context - The current Context.
pageClass - The page class.
Returns:
The log page identified by the specified page identifier.

findPage

public abstract LogPage findPage(java.lang.String pageClass)
Find the log page with the specified id.
Parameters:
pageClass - the log page class.
Returns:
the log page instance if the page is already open, or null if no log page with the specified id is open.

closePage

public abstract void closePage(LogPage page)
Close the specified page.
Parameters:
page - the page to closed.

getMsgPage

public abstract LogPage getMsgPage()
Get the message page. The message page can be used as the default page to display textual messages for the user.
Returns:
get the default message page.

getSelectedPage

public abstract LogPage getSelectedPage()
Gets the currently selected page.
Returns:
the currently selected page.

initialize

protected final void initialize()
Description copied from class: Service
Initialize this manager. This is called the first time a manager is retrieved programmatically. The manager should process necessary information from the extension manifest to initialize itself.

This implementation does nothing.

Overrides:
initialize in class Service

getLogManager

public static LogManager getLogManager()
Get the log manager implementation for this IDE.
Returns:
return a LogManager implementation.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.