|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| 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.view.ViewDecorator
public class ViewDecorator
Base decorator object for View implementations.
| Field Summary |
|---|
| Fields inherited from class oracle.ide.view.View |
|---|
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
| Constructor Summary | |
|---|---|
protected |
ViewDecorator(View decorated)Creates a ViewDecorator. |
| Method Summary | |
|---|---|
void |
activate() |
void |
close() |
void |
deactivate()Cleans up after this view stops being the active view. |
Context |
getContext(java.util.EventObject event) |
ContextMenu |
getContextMenu() |
Controller |
getController()Get the Controller associated with this view. |
java.awt.Component |
getGUI() |
HelpInfo |
getHelpInfo() |
protected Element[] |
getSelectionFromUI()This method retrieve's the selection in this View directly from the UI. |
Toolbar |
getToolbar()Get the toolbar associated with this view. |
View |
getViewWithoutDecoration()Returns the View without any decorators. |
boolean |
isVisible() |
void |
loadLayout(PropertyAccess p) |
protected java.lang.String |
newId()Generates a unique view ID. |
void |
saveLayout(PropertyAccess p) |
protected void |
setOwner(View owner) |
void |
setToolbarVisible(boolean visible) |
void |
show()Shows the view if hidden. |
void |
updateTitle(java.lang.Object obj)Called when the view needs to update its title based on the specified object. |
void |
updateVisibleActions(UpdateMessage updateMessage)Called when the IDE or an extension requests that the View updates the enabled state of any actions that are visible on screen. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ViewDecorator(View decorated)
decorated - the View to decorate| Method Detail |
|---|
public View getViewWithoutDecoration()
ViewgetViewWithoutDecoration in class Viewpublic void activate()
activate in class Viewpublic void deactivate()
Viewdeactivate in class Viewpublic void close()
close in class Viewpublic Context getContext(java.util.EventObject event)
getContext in class Viewevent - event associated with the context.public ContextMenu getContextMenu()
getContextMenu in class ViewContextMenu, if any.public Controller getController()
ControllerProviderController associated with this view.getController in interface ControllerProvidergetController in class Viewpublic java.awt.Component getGUI()
getGUI in class Viewpublic HelpInfo getHelpInfo()
getHelpInfo in interface HelpablegetHelpInfo in class Viewprotected Element[] getSelectionFromUI()
ViewgetSelectionFromUI in class Viewpublic Toolbar getToolbar()
ViewgetToolbar in class Viewpublic boolean isVisible()
isVisible in class Viewpublic void loadLayout(PropertyAccess p)
loadLayout in class Viewprotected java.lang.String newId()
ViewnewId in class Viewpublic void saveLayout(PropertyAccess p)
saveLayout in class Viewprotected void setOwner(View owner)
setOwner in class Viewpublic void setToolbarVisible(boolean visible)
setToolbarVisible in class Viewpublic void show()
Viewshow in class Viewpublic void updateTitle(java.lang.Object obj)
ViewupdateTitle in class Viewobj - the specified object.public void updateVisibleActions(UpdateMessage updateMessage)
ViewView updates the enabled state of any actions that are visible on screen. Typically this will involve updating actions that are in visible toolbars. If a View contains or manages other nested instances of View, the outer call to updateVisibleActions should propagate inward to call the updateVisibleActions of all visible, nested Views.updateVisibleActions in class ViewupdateMessage - information on what is triggering the update. Implementations may make use of this information to decide whether or not an update is necessary, since updating the enabled state of a toolbar button may be a lengthy operation. For example, buttons that control a remote debugger would involve network I/O and evaluating their updated state could be avoided if the updateMessage indicates that the source of the update is not relevant to the debugger.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||