oracle.jdeveloper.compiler
Class CompilerPage
java.lang.Object
|
+--oracle.ide.addin.AbstractView
|
+--oracle.ide.log.AbstractLogPage
|
+--oracle.ide.log.DefaultLogPage
|
+--oracle.jdeveloper.compiler.CompilerPage
- All Implemented Interfaces:
- ActiveViewListener, java.util.EventListener, Helpable, LogPage, Observer, Subview, View
- public class CompilerPage
- extends DefaultLogPage
- implements ActiveViewListener, Observer
Fields inherited from class oracle.ide.log.DefaultLogPage |
FIX_SOURCE_CMD_ID, GOTO_SOURCE_CMD_ID, HIDE_ALL_MENUS, HIDE_COPY_MENU, HIDE_FIX_SOURCE_MENU, HIDE_GOTO_SOURCE_MENU, HIDE_NO_MENUS, HIDE_SAVE_AS_MENU, keyAdapter, mouseAdapter, PAGE_ID |
Constructor Summary |
CompilerPage()
|
CompilerPage(java.lang.String pageId,
java.lang.String pageName,
javax.swing.Icon icon)
|
CompilerPage(java.lang.String pageId,
java.lang.String pageName,
javax.swing.Icon icon,
int menuOptions)
|
Method Summary |
protected void |
activateObject(java.lang.Object obj)
Respond to a message object activation originating from the GUI. |
void |
activeViewChanged(ActiveViewEvent e)
|
protected boolean |
canFixObject(javax.swing.tree.DefaultMutableTreeNode node)
Return true if the violation associated with the
node can be fixed. |
void |
clearAll()
Remove all messages from the GUI. |
protected void |
clearUrlOffsetMarkNode(Node node,
OffsetMark[] offsetMarks)
|
protected void |
clearUrlOffsetMarkTable()
|
protected void |
copy(java.lang.Object treeNode)
Copy the contents of the object to the clipboard, the message
displayed in the tree might be slightly modified, the one we
are getting here is the original unmodified version. |
protected void |
fixObject(java.lang.Object obj)
Respond to a the fix command originating from the GUI. |
HelpInfo |
getHelpInfo()
|
protected javax.swing.Icon |
getLeafIcon(IdeLog.Message msg)
getLeafIcon will return the icon that must be used in the leaf tree
node of the JTree. |
java.lang.String |
getToolTip()
Get the tooltip to display when this page is tabbed. |
protected void |
setOffsetMarkTable(java.net.URL url,
javax.swing.tree.DefaultMutableTreeNode treeNode)
|
void |
update(java.lang.Object subject,
UpdateMessage change)
Notification message. |
protected void |
updateTreeModel(java.util.Collection message)
Update the model of the JTree based on the new Collection message object. |
Methods inherited from class oracle.ide.log.DefaultLogPage |
addKeyListener, addMouseListener, getController, getCurrentView, getGUI, getSelectedTreeNode, getTextArea, getTitleName, getTree, logMsg, logText, removeKeyListener, removeMouseListener, saveToFile, setCurrentView, setModel |
Methods inherited from class oracle.ide.addin.AbstractView |
activate, addViewListener, addViewSelectionListener, deactivate, fireViewActivated, fireViewClosed, fireViewDeactivated, fireViewSelectionChanged, getContext, getContextMenu, getId, getSelection, getToolbar, loadToolbar, newId, owner, removeViewListener, removeViewSelectionListener, setId, setOwner, updateTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompilerPage
public CompilerPage()
CompilerPage
public CompilerPage(java.lang.String pageId,
java.lang.String pageName,
javax.swing.Icon icon,
int menuOptions)
CompilerPage
public CompilerPage(java.lang.String pageId,
java.lang.String pageName,
javax.swing.Icon icon)
getLeafIcon
protected javax.swing.Icon getLeafIcon(IdeLog.Message msg)
- getLeafIcon will return the icon that must be used in the leaf tree
node of the JTree.
copy
protected void copy(java.lang.Object treeNode)
- Copy the contents of the object to the clipboard, the message
displayed in the tree might be slightly modified, the one we
are getting here is the original unmodified version.
- Overrides:
copy
in class DefaultLogPage
fixObject
protected void fixObject(java.lang.Object obj)
- Description copied from class:
DefaultLogPage
- Respond to a the fix command originating from the GUI. Default
implementation does nothing.
- Overrides:
fixObject
in class DefaultLogPage
canFixObject
protected boolean canFixObject(javax.swing.tree.DefaultMutableTreeNode node)
- Description copied from class:
DefaultLogPage
- Return
true
if the violation associated with the
node can be fixed. Default return value is false
.
- Overrides:
canFixObject
in class DefaultLogPage
activateObject
protected void activateObject(java.lang.Object obj)
- Description copied from class:
DefaultLogPage
- Respond to a message object activation originating from the GUI. Default
implementation does nothing.
- Overrides:
activateObject
in class DefaultLogPage
getHelpInfo
public HelpInfo getHelpInfo()
- Overrides:
getHelpInfo
in class AbstractView
updateTreeModel
protected void updateTreeModel(java.util.Collection message)
- Description copied from class:
DefaultLogPage
- Update the model of the JTree based on the new Collection message object.
Default implementation creates and invokes a Runnable to construct a new
DefaultTreeModel containing DefaultMutableTreeNode instances for each
element in the Collection where the Collection element is set as the user
data of the DefaultMutableTreeNode instance.
- Overrides:
updateTreeModel
in class DefaultLogPage
setOffsetMarkTable
protected void setOffsetMarkTable(java.net.URL url,
javax.swing.tree.DefaultMutableTreeNode treeNode)
clearUrlOffsetMarkNode
protected void clearUrlOffsetMarkNode(Node node,
OffsetMark[] offsetMarks)
clearUrlOffsetMarkTable
protected void clearUrlOffsetMarkTable()
clearAll
public void clearAll()
- Description copied from class:
DefaultLogPage
- Remove all messages from the GUI.
- Overrides:
clearAll
in class DefaultLogPage
getToolTip
public java.lang.String getToolTip()
- Description copied from interface:
LogPage
- Get the tooltip to display when this page is tabbed.
- Overrides:
getToolTip
in class AbstractLogPage
- Following copied from interface:
oracle.ide.log.LogPage
- Returns:
- the tooltip to display when tabbed.
activeViewChanged
public void activeViewChanged(ActiveViewEvent e)
- Specified by:
activeViewChanged
in interface ActiveViewListener
update
public void update(java.lang.Object subject,
UpdateMessage change)
- Description copied from interface:
Observer
- Notification message. Subjects call this method when they notify their
observers that the subjects state has changed.
- Specified by:
update
in interface Observer
- Following copied from interface:
oracle.ide.addin.Observer
- Parameters:
observed
- the subject whose state has changed.change
- what has changed.