|
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 UIEditorCanvaspublic 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 SubviewgetController in class AbstractViewpublic final Context getContext()
Subview
getContext in interface SubviewgetContext in class AbstractViewpublic final Context getContext(java.util.EventObject e)
View
getContext in interface Viewe - event associated with the context;
public void setContext(Context context)
Explorer
setContext in interface ExplorersetContext in class AbstractExplorerpublic void setOwner(View owner)
Explorer
setOwner in interface ExplorersetOwner in class AbstractExplorerpublic final Element[] getSelection()
View
getSelection in interface ViewgetSelection in class AbstractViewpublic oracle.jdeveloper.cmt.CmtModel getModel()
UIEditorCanvas
getModel in interface UIEditorCanvaspublic void setModel(oracle.jdeveloper.cmt.CmtModel model)
UIEditorCanvas
setModel in interface UIEditorCanvaspublic java.awt.Component getDefaultFocusComponent()
UIEditorCanvas
getDefaultFocusComponent in interface UIEditorCanvasoracle.ide.editor.AbstractEditor.getDefaultFocusComponentpublic void viewSelectionChanged(ViewSelectionEvent e)
ViewSelectionListenerViewSelectionEvent object has detailed information
of the objects selected in the view.
viewSelectionChanged in interface ViewSelectionListenerpublic void stateChanged(int state)
Explorer
stateChanged in interface ExplorerstateChanged in class AbstractExplorerpublic void close()
Subview
close in interface Subviewclose in class AbstractViewpublic void poppingUp(ContextMenu cMenu)
ContextMenuListener
poppingUp in interface ContextMenuListenerpublic void poppingDown(ContextMenu cMenu)
poppingDown in interface ContextMenuListenerpublic boolean handleDefaultAction(Context context)
ContextMenuListener
handleDefaultAction in interface ContextMenuListenercontext - 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.