|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.view.View
oracle.ide.log.AbstractLogPage
oracle.ide.log.MessagePage
oracle.ide.runner.RunLogPage
public final class RunLogPage
The RunLogPage
class is the LogPage
used for
a running process.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.ide.log.MessagePage |
---|
MessagePage.CustomTextPane |
Field Summary |
---|
Fields inherited from class oracle.ide.log.MessagePage |
---|
_scrollPane, _textComponent, MESSAGE_PAGE_ID |
Fields inherited from class oracle.ide.view.View |
---|
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Method Summary | |
---|---|
protected void |
appendToTextComponent(java.lang.String msg,
int maxLogLines)
Adds the given message to the message page, removing lines from the top, if necessary, so it contains no more than maxLogLines |
protected void |
clearTextComponent()
Clears the text component |
void |
close()
|
protected MessagePage.CustomTextPane |
createStyledTextPane()
|
protected void |
deleteFromStartOfTextComponent(int linesToDelete,
int offset)
Deletes the linesToDelete from the message page |
java.awt.Component |
getBottomComponent()
Gets the component to put in the bottom component position in the log page display. |
Context |
getContext(java.util.EventObject event)
Returns the Context that is associated with this log page. |
boolean |
getDontForceOutput()
|
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. |
java.lang.String |
getToolTipText()
|
java.awt.Component |
getTopComponent()
Gets the component to put in the top component position in the log page display By default returns getLogPageView().getToolbar() |
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 |
setDontForceOutput(boolean dfo)
|
void |
setNorthComponent(java.awt.Component northComponent)
Sets the component to be positioned in the NORTH section of the RunLogPage . |
void |
show()
Shows the view if hidden. |
void |
showPage()
|
void |
updateVisibleActions(UpdateMessage updateMessage)
Called when the IDE or an extension requests that the View updates the enabled state of any actions
that are visible on screen. |
Methods inherited from class oracle.ide.log.MessagePage |
---|
addHref, addMouseListener, addStyle, checkLogOpen, clearAll, findHrefByOffset, getContextMenu, getController, getText, getWrapLines, logMsg, removeMouseListener, replaceTextComponentDocument, setController, setLogFileName, setWrapLines, updateToolTipText |
Methods inherited from class oracle.ide.log.AbstractLogPage |
---|
getLogPageView, getTabIcon, getTabName, isDisplayComponentScrollable, isVisible, log, logQuietly, requestShow, requestShow, setOwner, tabNameUpdated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.awt.Component getTopComponent()
AbstractLogPage
getTopComponent
in class AbstractLogPage
public java.awt.Component getBottomComponent()
AbstractLogPage
getBottomComponent
in class AbstractLogPage
public java.awt.Component getGUI()
getGUI
in class MessagePage
protected MessagePage.CustomTextPane createStyledTextPane()
createStyledTextPane
in class MessagePage
public Context getContext(java.util.EventObject event)
getContext
in class View
event
- event associated with the context.
public void updateVisibleActions(UpdateMessage updateMessage)
View
View
updates the enabled state of any actions
that are visible on screen. Typically this will involve updating actions that are in visible toolbars. If a
View
contains or manages other nested instances of View
, the outer call to
updateVisibleActions
should propagate inward to call the updateVisibleActions
of all
visible, nested View
s.
updateVisibleActions
in class View
updateMessage
- information on what is triggering the update. Implementations may make use of this
information to decide whether or not an update is necessary, since updating the enabled state of a toolbar button
may be a lengthy operation. For example, buttons that control a remote debugger would involve network I/O and
evaluating their updated state could be avoided if the updateMessage indicates that the source of the update is not
relevant to the debugger.public java.lang.String getName()
public Workspace getWorkspace()
Workspace
associated with this log page.
public Project getProject()
Project
associated with this log page.
public java.lang.String getToolTipText()
public java.lang.String getToolTip()
getToolTip
in interface LogPage
getToolTip
in class AbstractLogPage
public java.lang.String getTitleName()
getTitleName
in interface LogPage
getTitleName
in class AbstractLogPage
public HelpInfo getHelpInfo()
HelpInfo
for this log page.
getHelpInfo
in interface Helpable
getHelpInfo
in class MessagePage
public boolean isProcessAlive()
public RunProcess getRunProcess()
RunProcess
associated with this log page.
public void log(java.lang.Object msg)
msg
in this log page.
log
in interface LogPage
log
in class AbstractLogPage
msg
- the message to display.public void logWithoutShow(java.lang.Object msg)
public void setDontForceOutput(boolean dfo)
public boolean getDontForceOutput()
protected void appendToTextComponent(java.lang.String msg, int maxLogLines)
MessagePage
appendToTextComponent
in class MessagePage
msg
- the message to addmaxLogLines
- the maximum number of lines to displayprotected void deleteFromStartOfTextComponent(int linesToDelete, int offset)
MessagePage
deleteFromStartOfTextComponent
in class MessagePage
protected void clearTextComponent()
MessagePage
clearTextComponent
in class MessagePage
public void showPage()
public void setNorthComponent(java.awt.Component northComponent)
RunLogPage
.
public void show()
View
show
in class AbstractLogPage
public void close()
close
in class AbstractLogPage
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |