Extension SDK 10.1.2

oracle.ide.runner
Class RunLogPage

java.lang.Object
  extended byoracle.ide.addin.AbstractView
      extended byoracle.ide.log.AbstractLogPage
          extended byoracle.ide.log.MessagePage
              extended byoracle.ide.runner.RunLogPage
All Implemented Interfaces:
ControllerProvider, Helpable, LogPage, View

public final class RunLogPage
extends MessagePage
implements Helpable

The RunLogPage class is the LogPage used for a running process.


Field Summary
 
Fields inherited from class oracle.ide.log.MessagePage
_scrollPane, _textComponent, MESSAGE_PAGE_ID
 
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
 
Method Summary
protected  void appendToTextComponent(java.lang.String msg, int maxLogLines)
           
protected  void clearTextComponent()
           
protected  void deleteFromStartOfTextComponent(int linesToDelete, int offset)
           
 Context getContext(java.util.EventObject event)
          Returns the Context that is associated with this log page.
 java.awt.Component getGUI()
          This method is for internal use only and should not be called directly by an addin.
 HelpInfo getHelpInfo()
          Returns the HelpInfo for this log page.
 java.lang.String getName()
          Returns the name for this log page.
 Project getProject()
          Returns the Project associated with this log page.
 RunProcess getRunProcess()
          Returns the RunProcess associated with this log page.
 java.lang.String getTitleName()
          Returns the title name for this log page.
 java.lang.String getToolTip()
          Returns the tooltip for this log page.
 Workspace getWorkspace()
          Returns the Workspace associated with this log page.
 boolean isProcessAlive()
          Returns whether any process using this log page is still alive.
 void log(java.lang.Object msg)
          Display the specified msg in this log page.
 void logWithoutShow(java.lang.Object msg)
           
 void setNorthComponent(java.awt.Component northComponent)
          Sets the component to be positioned in the NORTH section of the RunLogPage.
 void showPage()
           
 
Methods inherited from class oracle.ide.log.MessagePage
addHref, addMouseListener, addStyle, checkLogOpen, clearAll, getContextMenu, getController, getText, getWrapLines, logMsg, removeMouseListener, replaceTextComponentDocument, setLogFileName, setWrapLines
 
Methods inherited from class oracle.ide.log.AbstractLogPage
checkCommands, close, getTabIcon, getTabName, isVisible, requestShow, setOwner, show
 
Methods inherited from class oracle.ide.addin.AbstractView
activate, addViewListener, addViewSelectionListener, deactivate, fireViewActivated, fireViewClosed, fireViewDeactivated, fireViewSelectionChanged, getContext, 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, getId, getSelection, getToolbar, owner, removeViewListener, removeViewSelectionListener, setToolbarVisible, updateTitle, updateVisibleActions
 

Method Detail

getGUI

public java.awt.Component getGUI()
This method is for internal use only and should not be called directly by an addin.

Specified by:
getGUI in interface View
Overrides:
getGUI in class MessagePage

getContext

public Context getContext(java.util.EventObject event)
Returns the Context that is associated with this log page.

Specified by:
getContext in interface View
Overrides:
getContext in class AbstractLogPage
Returns:
the Context

getName

public java.lang.String getName()
Returns the name for this log page.

Returns:
the name

getWorkspace

public Workspace getWorkspace()
Returns the Workspace associated with this log page.


getProject

public Project getProject()
Returns the Project associated with this log page.


getToolTip

public java.lang.String getToolTip()
Returns the tooltip for this log page.

Specified by:
getToolTip in interface LogPage
Overrides:
getToolTip in class AbstractLogPage

getTitleName

public java.lang.String getTitleName()
Returns the title name for this log page.

Specified by:
getTitleName in interface LogPage
Overrides:
getTitleName in class AbstractLogPage

getHelpInfo

public HelpInfo getHelpInfo()
Returns the HelpInfo for this log page.

Specified by:
getHelpInfo in interface Helpable
Overrides:
getHelpInfo in class MessagePage

isProcessAlive

public boolean isProcessAlive()
Returns whether any process using this log page is still alive.


getRunProcess

public RunProcess getRunProcess()
Returns the RunProcess associated with this log page.


log

public void log(java.lang.Object msg)
Display the specified msg in this log page.

Specified by:
log in interface LogPage
Overrides:
log in class AbstractLogPage
Parameters:
msg - the message to display.

logWithoutShow

public void logWithoutShow(java.lang.Object msg)

appendToTextComponent

protected void appendToTextComponent(java.lang.String msg,
                                     int maxLogLines)
Overrides:
appendToTextComponent in class MessagePage

deleteFromStartOfTextComponent

protected void deleteFromStartOfTextComponent(int linesToDelete,
                                              int offset)
Overrides:
deleteFromStartOfTextComponent in class MessagePage

clearTextComponent

protected void clearTextComponent()
Overrides:
clearTextComponent in class MessagePage

showPage

public void showPage()

setNorthComponent

public void setNorthComponent(java.awt.Component northComponent)
Sets the component to be positioned in the NORTH section of the RunLogPage.


Extension SDK

 

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