de.hunsicker.jalopy.plugin.jdeveloper.message
Class MessagePage

java.lang.Object
  |
  +--oracle.ide.addin.AbstractView
        |
        +--oracle.ide.log.AbstractLogPage
              |
              +--de.hunsicker.jalopy.plugin.jdeveloper.message.MessagePage
All Implemented Interfaces:
oracle.ide.addin.ControllerProvider, oracle.ide.help.Helpable, oracle.ide.log.LogPage, oracle.ide.addin.View

public class MessagePage
extends oracle.ide.log.AbstractLogPage

The JDeveloper log page that displayes messages in a hierachical tree.

Version:
$Revision: 1.4 $
Author:
Marco Hunsicker

Nested Class Summary
protected static class MessagePage.FileTreeNode
          A FileTreeNode acts as the parent node for all message nodes of a given file.
 
Field Summary
 
Fields inherited from class oracle.ide.addin.AbstractView
owner, SEPARATOR, viewListeners, viewSelectionListeners
 
Fields inherited from interface oracle.ide.addin.View
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Constructor Summary
MessagePage(oracle.ide.layout.ViewId id, javax.swing.Icon icon)
          Creates a new JalopyMessagePage object.
 
Method Summary
 void clearAll()
          Clears all messages.
protected  java.awt.Component getCurrentView()
          Returns the currrent view.
 java.awt.Component getGUI()
          Get the GUI to be used to display the state of this page.
 void logMsg(java.lang.Object message)
          Logs the given message.
protected  void setCurrentView(java.awt.Component component)
          Sets the current view.
 void update()
          Updates the message view.
 
Methods inherited from class oracle.ide.log.AbstractLogPage
addMouseListener, checkCommands, close, getContext, getController, getTabIcon, getTabName, getTitleName, getToolTip, isVisible, log, removeMouseListener, requestShow, setOwner, show
 
Methods inherited from class oracle.ide.addin.AbstractView
activate, addViewListener, addViewSelectionListener, deactivate, fireViewActivated, fireViewClosed, fireViewDeactivated, fireViewSelectionChanged, getContext, getContextMenu, getHelpInfo, getId, getSelection, getToolbar, loadToolbar, loadToolbar, newId, owner, removeViewListener, removeViewSelectionListener, setId, setOwner, setToolbarVisible, updateTitle, updateToolbarActions, updateVisibleActions, updateVisibleActions
 
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.View
activate, addViewListener, addViewSelectionListener, deactivate, getContext, getContextMenu, getId, getSelection, getToolbar, owner, removeViewListener, removeViewSelectionListener, setToolbarVisible, updateTitle, updateVisibleActions
 
Methods inherited from interface oracle.ide.help.Helpable
getHelpInfo
 

Constructor Detail

MessagePage

public MessagePage(oracle.ide.layout.ViewId id,
                   javax.swing.Icon icon)
Creates a new JalopyMessagePage object.

Parameters:
id - the view id.
icon - the icon of the page, possibly null.
Throws:
java.lang.RuntimeException - DOCUMENT ME!
Method Detail

getGUI

public java.awt.Component getGUI()
Get the GUI to be used to display the state of this page.

Returns:
the view's root graphical user interface component.

clearAll

public void clearAll()
Clears all messages.

Specified by:
clearAll in interface oracle.ide.log.LogPage
Overrides:
clearAll in class oracle.ide.log.AbstractLogPage

logMsg

public void logMsg(java.lang.Object message)
Logs the given message.

Overrides:
logMsg in class oracle.ide.log.AbstractLogPage
Parameters:
message - a message object.

update

public void update()
Updates the message view.


setCurrentView

protected final void setCurrentView(java.awt.Component component)
Sets the current view.

Parameters:
component - the component to set as the current view.

getCurrentView

protected final java.awt.Component getCurrentView()
Returns the currrent view.

Returns:
the current view.


Copyright © 1997-2005 Jalopy. All Rights Reserved.