|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.addin.AbstractView
oracle.ide.log.AbstractLogPage
oracle.ide.log.DefaultLogPage
oracle.jdeveloper.compiler.CompilerPage
Field Summary |
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 |
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 | |
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)
This method is called every time a view becomes the active view. |
void |
cancelAsynchronousLogging()
Cancel asynchronous logging immediately. |
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. |
void |
finishAsynchronousLogging()
Finish asynchronous logging |
protected void |
fixObject(java.lang.Object obj)
Respond to a the fix command originating from the GUI. |
protected javax.swing.tree.DefaultMutableTreeNode |
getFileNode(javax.swing.tree.DefaultMutableTreeNode parent,
Storage storage)
Get the file node matching the given storage object |
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. |
boolean |
isShowingTree()
Determine if the log page is showing the tree view |
void |
log(java.lang.Object msg)
Display the specified msg . |
protected void |
logMsg(java.lang.Object msg)
Display a message in the GUI. |
protected void |
setOffsetMarkTable(java.net.URL url,
javax.swing.tree.DefaultMutableTreeNode treeNode)
|
void |
startAsynchronousLogging()
Start asynchronous logging |
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, getContextMenu, getController, getCurrentView, getGUI, getSelectedTreeNode, getTextArea, getTitleName, getTree, logText, removeKeyListener, removeMouseListener, saveToFile, setCurrentView, setModel |
Methods inherited from class oracle.ide.log.AbstractLogPage |
checkCommands, close, getContext, 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, updateTitle |
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, getId, getSelection, getToolbar, removeViewListener, removeViewSelectionListener, updateTitle |
Methods inherited from interface oracle.ide.addin.Subview |
getContext, owner |
Constructor Detail |
public CompilerPage()
public CompilerPage(java.lang.String pageId, java.lang.String pageName, javax.swing.Icon icon, int menuOptions)
public CompilerPage(java.lang.String pageId, java.lang.String pageName, javax.swing.Icon icon)
Method Detail |
public void log(java.lang.Object msg)
AbstractLogPage
msg
. This method first makes sure
that the page is visible and then calls the logMsg
method to do the actual displaying of the message. Subclasses
should not override this method. Instead they should override the
logMsg
method.
log
in interface LogPage
log
in class AbstractLogPage
msg
- the message to display.protected javax.swing.Icon getLeafIcon(IdeLog.Message msg)
protected void copy(java.lang.Object treeNode)
copy
in class DefaultLogPage
protected void fixObject(java.lang.Object obj)
DefaultLogPage
fixObject
in class DefaultLogPage
protected boolean canFixObject(javax.swing.tree.DefaultMutableTreeNode node)
DefaultLogPage
true
if the violation associated with the
node can be fixed. Default return value is false
.
canFixObject
in class DefaultLogPage
protected void activateObject(java.lang.Object obj)
DefaultLogPage
activateObject
in class DefaultLogPage
public HelpInfo getHelpInfo()
getHelpInfo
in interface Helpable
getHelpInfo
in class AbstractView
protected void logMsg(java.lang.Object msg)
DefaultLogPage
logMsg
in class DefaultLogPage
DefaultLogPage.updateTreeModel(java.util.Collection)
,
DefaultLogPage.logText(java.lang.String)
public void startAsynchronousLogging()
public void cancelAsynchronousLogging()
public void finishAsynchronousLogging()
public boolean isShowingTree()
protected javax.swing.tree.DefaultMutableTreeNode getFileNode(javax.swing.tree.DefaultMutableTreeNode parent, Storage storage)
parent
- the parent node to searchstorage
- the storage to search for
protected void updateTreeModel(java.util.Collection message)
DefaultLogPage
updateTreeModel
in class DefaultLogPage
protected void setOffsetMarkTable(java.net.URL url, javax.swing.tree.DefaultMutableTreeNode treeNode)
protected void clearUrlOffsetMarkNode(Node node, OffsetMark[] offsetMarks)
protected void clearUrlOffsetMarkTable()
public void clearAll()
DefaultLogPage
clearAll
in interface LogPage
clearAll
in class DefaultLogPage
public java.lang.String getToolTip()
LogPage
getToolTip
in interface LogPage
getToolTip
in class AbstractLogPage
public void activeViewChanged(ActiveViewEvent e)
ActiveViewListener
ActiveViewEvent
will have information about the
view that is becoming active and the view that became inactive.
activeViewChanged
in interface ActiveViewListener
public void update(java.lang.Object subject, UpdateMessage change)
Observer
update
in interface Observer
subject
- the subject whose state has changed.change
- what has changed.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.