Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.ceditor
Class CodeEditorGutterView

java.lang.Object
  extended by oracle.ide.view.View
      extended by oracle.ide.ceditor.CodeEditorGutterView
All Implemented Interfaces:
ControllerProvider, Helpable
Direct Known Subclasses:
CodeEditorGutter.GutterView

public class CodeEditorGutterView
extends View

The CodeEditorGutter has its own view in order to support the context menu properly. Otherwise, it makes it more cumbersome to have clients who want to display their menu items in the gutter context menu. So the gutter will be a "child" view of the code editor. However, you won't be able to close/activate/deactivate the gutter view, since it will never be the active view.


Field Summary
 
Fields inherited from class oracle.ide.view.View
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
 
Method Summary
 Context getContext(java.util.EventObject event)
           
 ContextMenu getContextMenu()
           
 Controller getController()
          Get the Controller associated with this view.
 java.awt.Component getGUI()
           
 HelpInfo getHelpInfo()
           
 boolean isVisible()
           
protected  java.lang.String newId()
          Generates a unique view ID.
 
Methods inherited from class oracle.ide.view.View
activate, addViewListener, addViewSelectionListener, addViewStateListener, close, deactivate, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, getSelectionFromUI, getTabName, getToolbar, getViewWithoutDecoration, loadLayout, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, saveLayout, scheduleUpdateSelection, setId, setOwner, setToolbarVisible, show, toString, updateSelection, updateSelectionImpl, updateTitle, updateToolbarActions, updateVisibleActions, updateVisibleActions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getController

public Controller getController()
Description copied from interface: ControllerProvider
Get the Controller associated with this view.

Specified by:
getController in interface ControllerProvider
Overrides:
getController in class View
Returns:
the Controller associated with this view.

isVisible

public boolean isVisible()
Overrides:
isVisible in class View

getGUI

public java.awt.Component getGUI()
Specified by:
getGUI in class View
Returns:
the root graphical user interface component.

getContext

public Context getContext(java.util.EventObject event)
Overrides:
getContext in class View
Parameters:
event - event associated with the context.
Returns:
the current view context for the given event.

getContextMenu

public ContextMenu getContextMenu()
Overrides:
getContextMenu in class View
Returns:
the ContextMenu, if any.

newId

protected java.lang.String newId()
Description copied from class: View
Generates a unique view ID. The default view ID is UnknownView{N}, where {N} is a unique integer value. Subclasses should override this method to return a more meaningful view ID.

Overrides:
newId in class View

getHelpInfo

public HelpInfo getHelpInfo()
Specified by:
getHelpInfo in interface Helpable
Overrides:
getHelpInfo in class View

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.