public abstract class AbstractLogManager extends LogManager implements Controller
AbstractLogManager class provides the basic support
  for managing and showing a log page's context menu. LogManagers
  should extend this class in order to get the default context menu support.
  The default context menu provides three menu items: Close, Clear,
  and Open File.| Modifier and Type | Field and Description | 
|---|---|
static int | 
CLEAR_LOG_CMD_ID
Clear command identifier. 
 | 
static int | 
CLOSE_ALL_LOGS_CMD_ID
Close all logs command identifier. 
 | 
static int | 
CLOSE_LOG_CMD_ID
Close command identifier. 
 | 
static int | 
CLOSE_OTHER_LOGS_CMD_ID
Close other logs command identifier. 
 | 
static int | 
OPEN_FILE_CMD_ID
Open file command identifier. 
 | 
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED| Constructor and Description | 
|---|
AbstractLogManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPage(LogPage page)
Classes that extend the  
AbstractLogManager class should
  override this method from where they should call this method to
  install the appropriate mouse listener on the specified page. | 
protected Context | 
getContext(java.util.EventObject event)
Classes that extend the  
AbstractLogManager class should
  override this method in order to return the appropriate context. | 
ContextMenu | 
getContextMenu()
Get the  
ContextMenu. | 
protected java.util.List | 
getLogRecognizers()
Gets the list of registered  
LogRecognizers | 
int | 
getPageCount()
Concrete implementations must override this method and return the
  number of opened pages. 
 | 
LogPage[] | 
getPages()
Concrete implementations must override this method and return the
  list of opened pages. 
 | 
protected void | 
installContextMenuListener()
 | 
protected void | 
installMouseListener(LogPage page)
 | 
protected boolean | 
isHeadless()  | 
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. | 
void | 
removePage(LogPage page)
Classes that extend the  
AbstractLogManager class should
  override this method from where they should call this method to
  install the remove any mouse listener installed on the specified
  page | 
protected void | 
triggerPopup(java.awt.event.MouseEvent e)
The  
triggerPopup method is called from the menu
  listener. | 
void | 
unregisterLogRecognizer(LogRecognizer logRecognizer)
Unregister a  
LogRecognizer. | 
getIdeLogWindow, getLogManager, getLogWindow, getMsgPage, getSelectedPage, hideLog, isLogVisible, setLogManager, showLog, shutdown, toggleLogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleEvent, updatepublic static final int CLOSE_LOG_CMD_ID
public static final int CLEAR_LOG_CMD_ID
public static final int CLOSE_OTHER_LOGS_CMD_ID
public static final int CLOSE_ALL_LOGS_CMD_ID
public static final int OPEN_FILE_CMD_ID
public void addPage(LogPage page)
AbstractLogManager class should
  override this method from where they should call this method to
  install the appropriate mouse listener on the specified page.
  Installing the mouse listener is necessary for popping up the context
  menu when the user clicks on the page.addPage in class LogManagerpage - the page to add.public void removePage(LogPage page)
AbstractLogManager class should
  override this method from where they should call this method to
  install the remove any mouse listener installed on the specified
  pageremovePage in class LogManagerpage - the page to removed.public ContextMenu getContextMenu()
LogManagerContextMenu. In general, subclasses should get the
  context menu to add custom menu items.getContextMenu in class LogManagerpublic void registerLogRecognizer(LogRecognizer logRecognizer)
LogManagerLogRecognizer 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.registerLogRecognizer in class LogManagerlogRecognizer - to registerpublic void unregisterLogRecognizer(LogRecognizer logRecognizer)
LogManagerLogRecognizer.unregisterLogRecognizer in class LogManagerlogRecognizer - to unregisterpublic int getPageCount()
getPageCount in class LogManagerpublic LogPage[] getPages()
getPages in class LogManagerprotected Context getContext(java.util.EventObject event)
AbstractLogManager class should
  override this method in order to return the appropriate context.
  This method is called just before the context menu is about to
  be shown.protected void triggerPopup(java.awt.event.MouseEvent e)
triggerPopup method is called from the menu
  listener. It is responsible from popping up the context menu.
  Just before popping up a context menu, a call is made to the
  getContext(java.util.EventObject) method.protected void installContextMenuListener()
installContextMenuListener method adds a 
  ContextMenuListener to the ContextMenu.
  The listener adds the Close and Clear menu items to the context menu.protected void installMouseListener(LogPage page)
installMouseListener method adds a 
  MouseListener to the specified LogPage.
  The listener is reponsible for popping up the context menu when
  the user clicks on the page.protected java.util.List getLogRecognizers()
LogRecognizersLogRecognizersprotected boolean isHeadless()