Skip navigation links 
 
oracle.jdevimpl.bookmarks
Class BookmarkDockable
java.lang.Object
  
oracle.ide.view.View
      
oracle.ide.view.ViewDecorator
          
oracle.ide.docking.DockableView
              
oracle.ide.docking.DockableWindow
                  
oracle.jdevimpl.bookmarks.BookmarkDockable
- All Implemented Interfaces:
 
- ContextMenuListener, ControllerProvider, Dockable, Helpable
 
- 
public class BookmarkDockable
 
- extends DockableWindow
 
- implements ContextMenuListener
 
 
 
 
 
  
 
| Constructor Summary | 
BookmarkDockable(oracle.jdevimpl.bookmarks.BookmarkManager bookmarkManager) 
            | 
  
 
 
| 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.view.View | 
addViewListener, addViewSelectionListener, addViewStateListener, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, scheduleUpdateSelection, setId, toString, updateSelection, updateSelectionImpl, updateToolbarActions, updateVisibleActions | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
 
BOOKMARK_VIEW_ID
public static final java.lang.String BOOKMARK_VIEW_ID
- 
- See Also:
 
- Constant Field Values
 
 
BookmarkDockable
public BookmarkDockable(oracle.jdevimpl.bookmarks.BookmarkManager bookmarkManager)
getContextMenu
public ContextMenu getContextMenu()
- 
- Overrides:
 
getContextMenu in class ViewDecorator 
 
- 
- Returns:
 
- the 
ContextMenu, if any. 
 
getTabName
public java.lang.String getTabName()
- Description copied from interface: 
Dockable 
- Gets the name to display in a tab.
 
- 
- Specified by:
 
getTabName in interface Dockable 
- Overrides:
 
getTabName in class View 
 
- 
- Returns:
 
- the name to display in a tab.
 
- See Also:
 
Dockable.getTabIcon() 
 
getTitleName
public java.lang.String getTitleName()
- Description copied from interface: 
Dockable 
- Gets title to display in a title bar.
 
- 
- Specified by:
 
getTitleName in interface Dockable 
 
- 
- Returns:
 
- the title to display in a title bar.
 
- See Also:
 
Dockable.getTabIcon() 
 
getGUI
public java.awt.Component getGUI()
- 
- Overrides:
 
getGUI in class ViewDecorator 
 
- 
- Returns:
 
- the root graphical user interface component.
 
 
getDefaultVisibility
public int getDefaultVisibility(Layout layout)
- Description copied from interface: 
Dockable 
- 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. 
- 
- Specified by:
 
getDefaultVisibility in interface Dockable 
- Overrides:
 
getDefaultVisibility in class DockableWindow 
 
getHelpInfo
public HelpInfo getHelpInfo()
- 
- Specified by:
 
getHelpInfo in interface Helpable 
- Overrides:
 
getHelpInfo in class ViewDecorator 
 
activate
public void activate()
- 
- Overrides:
 
activate in class ViewDecorator 
 
deactivate
public void deactivate()
- Description copied from class: 
View 
- Cleans up after this view stops being the active view.
 
- 
- Overrides:
 
deactivate in class ViewDecorator 
 
getToolbar
public Toolbar getToolbar()
- Description copied from class: 
View 
- Get the toolbar associated with this view.
 
- 
- Overrides:
 
getToolbar in class ViewDecorator 
 
menuWillShow
public void menuWillShow(ContextMenu contextMenu)
- Description copied from interface: 
ContextMenuListener 
- Called just before the context menu is shown. Implementations should add their items to the context menu here.
 
- 
- Specified by:
 
menuWillShow in interface ContextMenuListener 
 
- 
- Parameters:
 
contextMenu - the context menu being shown 
 
menuWillHide
public void menuWillHide(ContextMenu contextMenu)
- Description copied from interface: 
ContextMenuListener 
- This method is called just before a showing context menu is dismissed. Most implementations should not do anything in this method. In particular, it is not necessary to clean out menu items or submenus that were added during 
ContextMenuListener.menuWillShow(oracle.ide.controller.ContextMenu), since the IDE takes care of that automatically. 
- 
- Specified by:
 
menuWillHide in interface ContextMenuListener 
 
- 
- Parameters:
 
contextMenu - the context menu being hidden 
 
handleDefaultAction
public boolean handleDefaultAction(Context context)
- Description copied from interface: 
ContextMenuListener 
- Called when the user double clicks on an item that has a context menu. If the listener handles the action, then it must return 
true; otherwise it must return false. Processing of handleDefaultAction stops on the first return of true. 
- 
- Specified by:
 
handleDefaultAction in interface ContextMenuListener 
 
- 
- Parameters:
 
context - the context on which the default action needs to occur. 
 
Skip navigation links 
 
Copyright © 1997, 2013, Oracle. All rights reserved.