|
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.explorer.AbstractExplorer
oracle.jdevimpl.uieditor.AbstractCanvas
Field Summary | |
protected UIEditor |
editor
|
protected static javax.swing.JSeparator |
LAYOUT_SEPARATOR
|
protected oracle.jdeveloper.cmt.CmtModel |
model
|
protected static IdeAction |
SERIALIZE_ACTION
|
protected static javax.swing.JMenuItem |
SERIALIZE_ITEM
|
protected static javax.swing.JSeparator |
SERIALIZE_SEPARATOR
|
static int |
X_MARGIN
|
static int |
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 | |
protected |
AbstractCanvas()
Constructor. |
Method Summary | |
void |
close()
Closes the view |
Context |
getContext()
Gets the current view context. |
Context |
getContext(java.util.EventObject e)
Gets the current view context. |
Controller |
getController()
Gets the Controller associated with this view. |
java.awt.Component |
getDefaultFocusComponent()
Get the default Component upon which to set focus when focus is switched to the hosting UI Editor. |
oracle.jdeveloper.cmt.CmtModel |
getModel()
Get the CmtModel being depicted. |
protected java.awt.Component |
getPrecedingContextItem()
|
Element[] |
getSelection()
Gets the selection context. |
UIEditor |
getUIEditor()
Get the UIEditor host instance. |
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a popup menu. |
void |
poppingDown(ContextMenu cMenu)
|
void |
poppingUp(ContextMenu cMenu)
Called just before the context menu is popping up. |
void |
setContext(Context context)
(Re)initialize the contents of the gui. |
void |
setModel(oracle.jdeveloper.cmt.CmtModel model)
Set the CmtModel to be depicted. |
void |
setOwner(View owner)
Set the View which is to act as the host of this Explorer. |
void |
stateChanged(int state)
Respond to a change of state between SHOWN, HIDDEN or CLOSED. |
void |
viewSelectionChanged(ViewSelectionEvent e)
This method is called every time the selection changes in a view. |
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, getGUI, isVisible, owner, show |
Field Detail |
public static final int X_MARGIN
public static final int Y_MARGIN
protected static javax.swing.JSeparator LAYOUT_SEPARATOR
protected static javax.swing.JSeparator SERIALIZE_SEPARATOR
protected static javax.swing.JMenuItem SERIALIZE_ITEM
protected static IdeAction SERIALIZE_ACTION
protected UIEditor editor
protected oracle.jdeveloper.cmt.CmtModel model
Constructor Detail |
protected AbstractCanvas()
Method Detail |
public final UIEditor getUIEditor()
UIEditorCanvas
getUIEditor
in interface UIEditorCanvas
public Controller getController()
Controller
associated with this view. By default
just returns the controller of the UIEditor. Subclasses overriding this
method should ensure that the Controller returned defers to the
UIEditorController singleton from the its Controller.supervisor()
implementation to ensure consistent UIEditor behavior.
getController
in interface Subview
getController
in class AbstractView
public final Context getContext()
Subview
getContext
in interface Subview
getContext
in class AbstractView
public final Context getContext(java.util.EventObject e)
View
getContext
in interface View
e
- event associated with the context;
public void setContext(Context context)
Explorer
setContext
in interface Explorer
setContext
in class AbstractExplorer
public void setOwner(View owner)
Explorer
setOwner
in interface Explorer
setOwner
in class AbstractExplorer
public final Element[] getSelection()
View
getSelection
in interface View
getSelection
in class AbstractView
public oracle.jdeveloper.cmt.CmtModel getModel()
UIEditorCanvas
getModel
in interface UIEditorCanvas
public void setModel(oracle.jdeveloper.cmt.CmtModel model)
UIEditorCanvas
setModel
in interface UIEditorCanvas
public java.awt.Component getDefaultFocusComponent()
UIEditorCanvas
getDefaultFocusComponent
in interface UIEditorCanvas
oracle.ide.editor.AbstractEditor.getDefaultFocusComponent
public void viewSelectionChanged(ViewSelectionEvent e)
ViewSelectionListener
ViewSelectionEvent
object has detailed information
of the objects selected in the view.
viewSelectionChanged
in interface ViewSelectionListener
public void stateChanged(int state)
Explorer
stateChanged
in interface Explorer
stateChanged
in class AbstractExplorer
public void close()
Subview
close
in interface Subview
close
in class AbstractView
public void poppingUp(ContextMenu cMenu)
ContextMenuListener
poppingUp
in interface ContextMenuListener
public void poppingDown(ContextMenu cMenu)
poppingDown
in interface ContextMenuListener
public boolean handleDefaultAction(Context context)
ContextMenuListener
handleDefaultAction
in interface ContextMenuListener
context
- the current contextprotected java.awt.Component getPrecedingContextItem()
|
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.