Extension SDK

oracle.jdevimpl.uieditor
Class UIExplorer

java.lang.Object
  extended byoracle.ide.addin.AbstractView
      extended byoracle.ide.explorer.AbstractExplorer
          extended byoracle.jdevimpl.uieditor.AbstractCanvas
              extended byoracle.jdevimpl.uieditor.UIExplorer
All Implemented Interfaces:
java.awt.event.ActionListener, ContextMenuListener, java.util.EventListener, Explorer, java.awt.event.FocusListener, Helpable, java.awt.event.KeyListener, java.awt.event.MouseListener, Observer, Subview, javax.swing.event.TreeSelectionListener, UIEditorCanvas, View, ViewSelectionListener

public final class UIExplorer
extends AbstractCanvas
implements javax.swing.event.TreeSelectionListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.ActionListener, java.awt.event.FocusListener, Observer


Field Summary
 
Fields inherited from class oracle.jdevimpl.uieditor.AbstractCanvas
editor, LAYOUT_SEPARATOR, model, SERIALIZE_ACTION, SERIALIZE_ITEM, SERIALIZE_SEPARATOR, X_MARGIN, Y_MARGIN
 
Fields inherited from class oracle.ide.explorer.AbstractExplorer
defaultDocument, defaultProject, defaultWorkspace
 
Fields inherited from class oracle.ide.addin.AbstractView
owner, SEPARATOR, viewListeners, viewSelectionListeners
 
Fields inherited from interface oracle.ide.explorer.Explorer
CLOSED, HIDDEN, SHOWN
 
Fields inherited from interface oracle.ide.addin.View
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Constructor Summary
UIExplorer()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  void fireDefaultAction(java.awt.event.InputEvent e)
           
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 java.awt.Component getGUI()
          Gets the view's root graphical user interface component
 boolean handleDefaultAction(Context ctx)
          Called when the user double clicks on an item that has a popup menu.
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void poppingUp(ContextMenu ctxMenu)
          Called just before the context menu is popping up.
 void setContext(Context context)
          (Re)initialize the contents of the gui.
 void stateChanged(int state)
          Respond to a change of state between SHOWN, HIDDEN or CLOSED.
 void tryPopup(java.awt.event.MouseEvent e)
           
 void update(java.lang.Object observed, UpdateMessage message)
          Notification message.
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           
 void viewSelectionChanged(ViewSelectionEvent e)
          This method is called every time the selection changes in a view.
 
Methods inherited from class oracle.jdevimpl.uieditor.AbstractCanvas
close, getContext, getContext, getController, getDefaultFocusComponent, getModel, getPrecedingContextItem, getSelection, getUIEditor, poppingDown, setModel, setOwner
 
Methods inherited from class oracle.ide.explorer.AbstractExplorer
getContextMenu
 
Methods inherited from class oracle.ide.addin.AbstractView
activate, addViewListener, addViewSelectionListener, deactivate, fireViewActivated, fireViewClosed, fireViewDeactivated, fireViewSelectionChanged, getHelpInfo, getId, getToolbar, isVisible, loadToolbar, loadToolbar, newId, owner, removeViewListener, removeViewSelectionListener, setId, show, 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, getToolbar, removeViewListener, removeViewSelectionListener, updateTitle
 
Methods inherited from interface oracle.ide.help.Helpable
getHelpInfo
 
Methods inherited from interface oracle.ide.addin.Subview
getContextMenu, isVisible, owner, show
 

Constructor Detail

UIExplorer

public UIExplorer()
Method Detail

setContext

public void setContext(Context context)
Description copied from interface: Explorer
(Re)initialize the contents of the gui.

Specified by:
setContext in interface Explorer
Overrides:
setContext in class AbstractCanvas

getGUI

public java.awt.Component getGUI()
Description copied from interface: Subview
Gets the view's root graphical user interface component

Specified by:
getGUI in interface Subview
Returns:
the view's root graphical user interface component

viewSelectionChanged

public void viewSelectionChanged(ViewSelectionEvent e)
Description copied from interface: ViewSelectionListener
This method is called every time the selection changes in a view. The ViewSelectionEvent object has detailed information of the objects selected in the view.

Specified by:
viewSelectionChanged in interface ViewSelectionListener
Overrides:
viewSelectionChanged in class AbstractCanvas

stateChanged

public void stateChanged(int state)
Description copied from interface: Explorer
Respond to a change of state between SHOWN, HIDDEN or CLOSED.

Specified by:
stateChanged in interface Explorer
Overrides:
stateChanged in class AbstractCanvas

update

public void update(java.lang.Object observed,
                   UpdateMessage message)
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
Parameters:
observed - the subject whose state has changed.
message - what has changed.

poppingUp

public void poppingUp(ContextMenu ctxMenu)
Description copied from interface: ContextMenuListener
Called just before the context menu is popping up.

Specified by:
poppingUp in interface ContextMenuListener
Overrides:
poppingUp in class AbstractCanvas

handleDefaultAction

public boolean handleDefaultAction(Context ctx)
Description copied from interface: ContextMenuListener
Called when the user double clicks on an item that has a popup menu. Only one listener should return true from this menu.

Specified by:
handleDefaultAction in interface ContextMenuListener
Overrides:
handleDefaultAction in class AbstractCanvas

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

tryPopup

public void tryPopup(java.awt.event.MouseEvent e)

fireDefaultAction

protected void fireDefaultAction(java.awt.event.InputEvent e)

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener

Extension SDK

 

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