|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
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 oracle.ide.docking.DockableView oracle.ide.docking.DockableWindow oracle.jdevimpl.bookmarks.BookmarkDockable
public class BookmarkDockable
Field Summary | |
---|---|
static java.lang.String |
BOOKMARK_VIEW_ID
|
Fields inherited from class oracle.ide.docking.DockableView |
---|
CLOSED, HIDDEN, SHOWN |
Fields inherited from class oracle.ide.view.View |
---|
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Fields inherited from interface oracle.ide.docking.Dockable |
---|
DEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE |
Constructor Summary | |
---|---|
BookmarkDockable(oracle.jdevimpl.bookmarks.BookmarkManager bookmarkManager)
|
Method Summary | |
---|---|
void |
activate()
|
void |
deactivate()
Cleans up after this view stops being the active view. |
ContextMenu |
getContextMenu()
|
int |
getDefaultVisibility(Layout layout)
The first time a Dockable is exposed to a layout, if the dockable is not of type Dockable.TYPE_GLOBAL_VISIBLE ,
it will be asked if it wants to be shown in that layout. |
java.awt.Component |
getGUI()
|
HelpInfo |
getHelpInfo()
|
java.lang.String |
getTabName()
Gets the name to display in a tab. |
java.lang.String |
getTitleName()
Gets title to display in a title bar. |
Toolbar |
getToolbar()
Get the toolbar associated with this view. |
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a context menu. |
void |
menuWillHide(ContextMenu contextMenu)
This method is called just before a showing context menu is dismissed. |
void |
menuWillShow(ContextMenu contextMenu)
Called just before the context menu is shown. |
Methods inherited from class oracle.ide.docking.DockableWindow |
---|
addTitleChangeListener, close, dockableHidden, dockableShown, fireTitleChangeListener, getCachedDockable, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getTabIcon, getType, getUniqueName, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, stateChange, updateTitle |
Methods inherited from class oracle.ide.docking.DockableView |
---|
afterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabled |
Methods inherited from class oracle.ide.view.ViewDecorator |
---|
getContext, getController, getSelectionFromUI, getViewWithoutDecoration, loadLayout, newId, saveLayout, setOwner, setToolbarVisible, updateVisibleActions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.docking.Dockable |
---|
loadLayout, saveLayout |
Field Detail |
---|
public static final java.lang.String BOOKMARK_VIEW_ID
Constructor Detail |
---|
public BookmarkDockable(oracle.jdevimpl.bookmarks.BookmarkManager bookmarkManager)
Method Detail |
---|
public ContextMenu getContextMenu()
getContextMenu
in class ViewDecorator
ContextMenu
, if any.public java.lang.String getTabName()
Dockable
getTabName
in interface Dockable
getTabName
in class View
Dockable.getTabIcon()
public java.lang.String getTitleName()
Dockable
getTitleName
in interface Dockable
Dockable.getTabIcon()
public java.awt.Component getGUI()
getGUI
in class ViewDecorator
public int getDefaultVisibility(Layout layout)
Dockable
Dockable.TYPE_GLOBAL_VISIBLE
,
it will be asked if it wants to be shown in that layout.
getDefaultVisibility
in interface Dockable
getDefaultVisibility
in class DockableWindow
public HelpInfo getHelpInfo()
getHelpInfo
in interface Helpable
getHelpInfo
in class ViewDecorator
public void activate()
activate
in class ViewDecorator
public void deactivate()
View
deactivate
in class ViewDecorator
public Toolbar getToolbar()
View
getToolbar
in class ViewDecorator
public void menuWillShow(ContextMenu contextMenu)
ContextMenuListener
menuWillShow
in interface ContextMenuListener
contextMenu
- the context menu being shownpublic void menuWillHide(ContextMenu contextMenu)
ContextMenuListener
ContextMenuListener.menuWillShow(oracle.ide.controller.ContextMenu)
, since the IDE takes care of that
automatically.
menuWillHide
in interface ContextMenuListener
contextMenu
- the context menu being hiddenpublic boolean handleDefaultAction(Context context)
ContextMenuListener
true
; otherwise it must return
false
. Processing of handleDefaultAction
stops on the first return of true
.
handleDefaultAction
in interface ContextMenuListener
context
- the context on which the default action needs
to occur.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |