|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.view.View oracle.ide.log.AbstractLogPage oracle.ide.log.DefaultLogPage oracle.jdeveloper.compiler.CompilerPage
public class CompilerPage
Nested Class Summary | |
---|---|
protected static class |
CompilerPage.MsgTreeNode
|
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 |
Fields inherited from class oracle.ide.view.View |
---|
EMPTY_SELECTION, 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 javax.swing.JTree |
createTree()
|
void |
finishAsynchronousLogging()
Finish asynchronous logging |
protected java.lang.String |
fixMessages(IdeLog.Message m)
For all messages, remove non printable characters and for partially used import warnings, slightly modify the message to guide the user how to easily fix the message. |
protected void |
fixObject(java.lang.Object obj)
Respond to a the fix command originating from the GUI. |
Controller |
getController()
Get the Controller associated with this view. |
protected javax.swing.tree.DefaultMutableTreeNode |
getFileNode(javax.swing.tree.DefaultMutableTreeNode parent,
Storage storage,
boolean insert)
Get the file node matching the given storage object |
protected java.net.URL |
getFileStorageURL(Storage storage)
|
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 |
setCreateProjectNodes(boolean value)
Set to true if the tree hierarchy should create nodes for projects; false otherwise |
protected void |
setCreateWorkspaceNodes(boolean value)
Set to true if the tree hierarchy should create nodes for workspaces; false otherwise. |
protected void |
setOffsetMarkTable(java.net.URL url,
javax.swing.tree.DefaultMutableTreeNode treeNode)
|
void |
startAsynchronousLogging()
Start asynchronous logging |
protected java.lang.String |
treeNodeToString(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 |
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, forceResizeNotification, getContextMenu, getCurrentView, getGUI, getSelectedTreeNode, getTextArea, getTitleName, getTree, logText, removeKeyListener, removeMouseListener, saveToFile, setCurrentView, setModel |
Methods inherited from class oracle.ide.log.AbstractLogPage |
---|
close, getBottomComponent, getLogPageView, getTabIcon, getTabName, getTopComponent, isDisplayComponentScrollable, isVisible, log, logQuietly, requestShow, requestShow, setOwner, show, tabNameUpdated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.public Controller getController()
ControllerProvider
Controller
associated with this view.
getController
in interface ControllerProvider
getController
in class DefaultLogPage
protected void setCreateWorkspaceNodes(boolean value)
value
- protected void setCreateProjectNodes(boolean value)
value
- protected javax.swing.Icon getLeafIcon(IdeLog.Message msg)
protected java.lang.String treeNodeToString(java.lang.Object treeNode)
treeNodeToString
in class DefaultLogPage
treeNode
- the userdata of a tree node.
protected java.lang.String fixMessages(IdeLog.Message m)
protected java.net.URL getFileStorageURL(Storage storage)
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 javax.swing.JTree createTree()
createTree
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 View
protected void logMsg(java.lang.Object msg)
DefaultLogPage
logMsg
in class DefaultLogPage
msg
- the message to display.DefaultLogPage.updateTreeModel(Collection)
,
DefaultLogPage.logText(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, boolean insert)
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.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |