Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.ceditor
Interface CodeMenuConstants

All Known Implementing Classes:
CodeEditorController

public interface CodeMenuConstants

The CodeMenuConstants define menu weights for all items for the dynamic Code Menu, regardless of whether the action is defined by the Code Editor or not. This is so we can manage the organization of the Code menu from one centralized location. If you are planning to add an item to the Code menu, you must add a constant here so that ordering is predictable. The code editor will take care of adding all separators.

All commands which appear in the Code menu should also appear in the same Accelerator category. When you initialize that action, you should assign it to the appropriate category using the constant defined herein.


Field Summary
static java.lang.String CATEGORY_CODE_MENU
          The category to which to add commands which appear in the Code menu.
static float SECTION_SOURCE_CODING
          The menu section Id for the menu section that comprises commands from "Completion Insight" to "Quick Javadoc".
static float SECTION_SOURCE_COMMENTS
          The menu section Id for the menu section that comprises commands from "Surround With" to "Unindent Block".
static float SECTION_SOURCE_CTXT_MENU
          The section Id for commands that live in the dynamic Source menu.
static float SECTION_SOURCE_CTXT_MENU_NON_EDITOR
          The section Id for commands that live in the dynamic Source menu.
static float SECTION_SOURCE_GOTO
          The menu section Id for the menu section that comprises the goto commands.
static float SECTION_SOURCE_GUTTER_BOOKMARK
          The menu section Id for the menu section that comprises the bookmark commands available from the gutter context menu.
static float SECTION_SOURCE_GUTTER_BREAKPOINT
          The menu section Id for the menu section that comprises the breakpoint commands available from the gutter context menu.
static float SECTION_SOURCE_GUTTER_GOTO
          The menu section Id for the menu section that comprises the "Go to implemented method" and "Go to overrided method" commands available from the gutter context menu.
static float SECTION_SOURCE_GUTTER_LINE_NUMBER
          The menu section Id for the menu section that comprises the line number commands available from the gutter context menu.
static float SECTION_SOURCE_GUTTER_PROFILER
          The menu section Id for the menu sec tion that comprises the profiler commands available from the gutter context menu.
static float SECTION_SOURCE_GUTTER_TODO
          The menu section Id for the menu sec tion that comprises the task commands available from the gutter context menu.
static float SECTION_SOURCE_IMPORT
          The menu section Id for the menu section that comprises the import commands.
static float SECTION_SOURCE_INSIGHT
          The menu section Id for the menu section that comprises commands from "Completion Insight" to "Quick Javadoc".
static float SECTION_SOURCE_REFACTOR
          The menu section Id for the menu section that comprises commands from "Rename" to "Extract Method".
static float SECTION_SOURCE_REFORMAT
          The menu section Id for the menu section that comprises the reformat command.
static float WEIGHT_ADD_JAVADOC_COMMENT
          The "Add Javadoc Comment" menu item weight.
static float WEIGHT_ASSISTANCE_INSIGHT
          Deprecated.  
static float WEIGHT_BLOCK_INDENT
          The "Block Indent" menu item weight.
static float WEIGHT_BLOCK_OUTDENT
          The "Block Outdent" menu item weight.
static float WEIGHT_BREAKPOINT
          The "Breakpoint" sub-menu weight.
static float WEIGHT_CODE_ASSIST
          The "Code Assist" menu item weight.
static float WEIGHT_COMPLETE_STATEMENT
          The "Complete Statement" menu item weight.
static float WEIGHT_COMPLETION_INSIGHT
          The "Completion Insight" menu item weight.
static float WEIGHT_EXPAND_SELECTION
          The "Surround With..." menu item weight.
static float WEIGHT_EXPAND_TEMPLATE
          The "Expand Template" menu item weight.
static float WEIGHT_EXTRACT_METHOD
          The "Extract Method" menu item weight.
static float WEIGHT_GENERATE_ACCESSORS
          The "Generate Accessors..." menu item weight.
static float WEIGHT_GENERATE_CONSTRUCTOR
          The "Generate Constructors..." menu item weight.
static float WEIGHT_GOTO
          The "Goto Next Method" menu item weight.
static float WEIGHT_GOTO_NEXT_METHOD
          The "Goto Next Method" menu item weight.
static float WEIGHT_GOTO_PREV_METHOD
          The "Goto Next Method" menu item weight.
static float WEIGHT_IMPLEMENT_INTERFACE
          The "Implement Interface..." menu item weight.
static float WEIGHT_INTRODUCE_VARIABLE
          The "Introduce Variable" menu item weight.
static float WEIGHT_LINE_GUTTER_ADD_TODO
          The "Add Task" menu item weight.
static float WEIGHT_LINE_GUTTER_EDIT_BREAKPOINT
          The "Edit Breakpoint" menu item weight.
static float WEIGHT_LINE_GUTTER_EDIT_TODO
          The "Edit Task" menu item weight.
static float WEIGHT_LINE_GUTTER_ENABLE_BREAKPOINT
          The "Enable Breakpoint" menu item weight.
static float WEIGHT_LINE_GUTTER_PREFERENCES
          The "Preferences" menu item weight.
static float WEIGHT_LINE_GUTTER_TOGGLE_BOOKMARK
          The "Toggle Bookmark" menu item weight.
static float WEIGHT_LINE_GUTTER_TOGGLE_BREAKPOINT
          The "Toggle Breakpoint" menu item weight.
static float WEIGHT_LINE_GUTTER_TOGGLE_LINE_NUMBERS
          The "Toggle Line Numbers" menu item weight.
static float WEIGHT_MOVE_ELEMENT
          The "Move " menu item weight.
static float WEIGHT_NARROW_IMPORTS
          The "Narrow Imports" menu item weight.
static float WEIGHT_NEW_METHOD_TEST
          The "New Method Test" menu item weight.
static float WEIGHT_ORGANIZE_IMPORTS
          The "Organize Imports" sub-menu weight.
static float WEIGHT_OVERRIDE_METHODS
          The "Override Methods..." menu item weight.
static float WEIGHT_PARAMETER_INSIGHT
          The "Parameter Insight" menu item weight.
static float WEIGHT_QUICK_DOC
          The "Quick Doc" menu item weight.
static float WEIGHT_REFORMAT
          The "Reformat" menu item wieght.
static float WEIGHT_REFRESH_TEST_SUITE
          The "Refresh Test Suite" menu item weight.
static float WEIGHT_REMOVE_UNUSED_IMPORTS
          The "Remove Unused Imports" menu item weight.
static float WEIGHT_RENAME_ELEMENT
          The "Rename " menu item weight.
static float WEIGHT_SEPARATOR1
          The first separator weight.
static float WEIGHT_SEPARATOR2
          The second separator weight.
static float WEIGHT_SEPARATOR3
          The third separator weight.
static float WEIGHT_SEPARATOR4
          The 4th separator weight.
static float WEIGHT_SEPARATOR5
          The fifth separator weight.
static float WEIGHT_SEPARATOR6
          The sixth separator weight.
static float WEIGHT_SEPARATOR7
          The seventh separator weight.
static float WEIGHT_SEPARATOR8
          The eighth separator weight.
static float WEIGHT_SMART_COMPLETION_INSIGHT
          The "Completion Insight" menu item weight.
static float WEIGHT_SORT_IMPORTS
          The "Sort Imports" menu item weight.
static float WEIGHT_SOURCE_EDITS_MENU
          The Text Edits sub menu
static float WEIGHT_SURROUND_WITH
          The "Surround With..." menu item weight.
static float WEIGHT_TOGGLE_BLOCK_COLORING
          The block coloring weight.
static float WEIGHT_TOGGLE_BREADCRUMBS
          The toggle breadcrumbs weight.
static float WEIGHT_TOGGLE_COMMENTS
          The "Toggle Comments" menu item weight.
static float WEIGHT_TOGGLE_SHOW_WHITESPACE
          The show whitespace weight.
static float WEIGHT_WIDEN_IMPORTS
          The "Widen Imports" menu item weight.
 

Field Detail

CATEGORY_CODE_MENU

static final java.lang.String CATEGORY_CODE_MENU
The category to which to add commands which appear in the Code menu.


SECTION_SOURCE_CTXT_MENU

static final float SECTION_SOURCE_CTXT_MENU
The section Id for commands that live in the dynamic Source menu. Use this id when adding commands to the Code Editor's context menu only, not other views (like Structure, Navigators, etc.)

See Also:
SECTION_SOURCE_CTXT_MENU_NON_EDITOR

SECTION_SOURCE_CTXT_MENU_NON_EDITOR

static final float SECTION_SOURCE_CTXT_MENU_NON_EDITOR
The section Id for commands that live in the dynamic Source menu. Use this section Id when adding menu items to any context menus other than that displayed in the Code Editor window.

See Also:
SECTION_SOURCE_CTXT_MENU

SECTION_SOURCE_INSIGHT

static final float SECTION_SOURCE_INSIGHT
The menu section Id for the menu section that comprises commands from "Completion Insight" to "Quick Javadoc".

See Also:
Constant Field Values

SECTION_SOURCE_REFACTOR

static final float SECTION_SOURCE_REFACTOR
The menu section Id for the menu section that comprises commands from "Rename" to "Extract Method".

See Also:
Constant Field Values

SECTION_SOURCE_CODING

static final float SECTION_SOURCE_CODING
The menu section Id for the menu section that comprises commands from "Completion Insight" to "Quick Javadoc".

See Also:
Constant Field Values

SECTION_SOURCE_COMMENTS

static final float SECTION_SOURCE_COMMENTS
The menu section Id for the menu section that comprises commands from "Surround With" to "Unindent Block".

See Also:
Constant Field Values

SECTION_SOURCE_IMPORT

static final float SECTION_SOURCE_IMPORT
The menu section Id for the menu section that comprises the import commands.

See Also:
Constant Field Values

SECTION_SOURCE_REFORMAT

static final float SECTION_SOURCE_REFORMAT
The menu section Id for the menu section that comprises the reformat command.

See Also:
Constant Field Values

SECTION_SOURCE_GOTO

static final float SECTION_SOURCE_GOTO
The menu section Id for the menu section that comprises the goto commands.

See Also:
Constant Field Values

SECTION_SOURCE_GUTTER_GOTO

static final float SECTION_SOURCE_GUTTER_GOTO
The menu section Id for the menu section that comprises the "Go to implemented method" and "Go to overrided method" commands available from the gutter context menu.

See Also:
Constant Field Values

SECTION_SOURCE_GUTTER_BOOKMARK

static final float SECTION_SOURCE_GUTTER_BOOKMARK
The menu section Id for the menu section that comprises the bookmark commands available from the gutter context menu.

See Also:
Constant Field Values

SECTION_SOURCE_GUTTER_BREAKPOINT

static final float SECTION_SOURCE_GUTTER_BREAKPOINT
The menu section Id for the menu section that comprises the breakpoint commands available from the gutter context menu.

See Also:
Constant Field Values

SECTION_SOURCE_GUTTER_LINE_NUMBER

static final float SECTION_SOURCE_GUTTER_LINE_NUMBER
The menu section Id for the menu section that comprises the line number commands available from the gutter context menu.

See Also:
Constant Field Values

SECTION_SOURCE_GUTTER_TODO

static final float SECTION_SOURCE_GUTTER_TODO
The menu section Id for the menu sec tion that comprises the task commands available from the gutter context menu.

See Also:
Constant Field Values

SECTION_SOURCE_GUTTER_PROFILER

static final float SECTION_SOURCE_GUTTER_PROFILER
The menu section Id for the menu sec tion that comprises the profiler commands available from the gutter context menu.

See Also:
Constant Field Values

WEIGHT_COMPLETION_INSIGHT

static final float WEIGHT_COMPLETION_INSIGHT
The "Completion Insight" menu item weight.

See Also:
Constant Field Values

WEIGHT_SMART_COMPLETION_INSIGHT

static final float WEIGHT_SMART_COMPLETION_INSIGHT
The "Completion Insight" menu item weight.

See Also:
Constant Field Values

WEIGHT_PARAMETER_INSIGHT

static final float WEIGHT_PARAMETER_INSIGHT
The "Parameter Insight" menu item weight.

See Also:
Constant Field Values

WEIGHT_ASSISTANCE_INSIGHT

static final float WEIGHT_ASSISTANCE_INSIGHT
Deprecated. 
The "Assistance Insight" menu item weight.

See Also:
Constant Field Values

WEIGHT_COMPLETE_STATEMENT

static final float WEIGHT_COMPLETE_STATEMENT
The "Complete Statement" menu item weight.

See Also:
Constant Field Values

WEIGHT_EXPAND_TEMPLATE

static final float WEIGHT_EXPAND_TEMPLATE
The "Expand Template" menu item weight.

See Also:
Constant Field Values

WEIGHT_CODE_ASSIST

static final float WEIGHT_CODE_ASSIST
The "Code Assist" menu item weight.

See Also:
Constant Field Values

WEIGHT_QUICK_DOC

static final float WEIGHT_QUICK_DOC
The "Quick Doc" menu item weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR1

static final float WEIGHT_SEPARATOR1
The first separator weight.

See Also:
Constant Field Values

WEIGHT_BREAKPOINT

static final float WEIGHT_BREAKPOINT
The "Breakpoint" sub-menu weight.

See Also:
Constant Field Values

WEIGHT_TOGGLE_BREADCRUMBS

static final float WEIGHT_TOGGLE_BREADCRUMBS
The toggle breadcrumbs weight.

See Also:
Constant Field Values

WEIGHT_TOGGLE_SHOW_WHITESPACE

static final float WEIGHT_TOGGLE_SHOW_WHITESPACE
The show whitespace weight.

See Also:
Constant Field Values

WEIGHT_TOGGLE_BLOCK_COLORING

static final float WEIGHT_TOGGLE_BLOCK_COLORING
The block coloring weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR2

static final float WEIGHT_SEPARATOR2
The second separator weight.

See Also:
Constant Field Values

WEIGHT_RENAME_ELEMENT

static final float WEIGHT_RENAME_ELEMENT
The "Rename " menu item weight.

See Also:
Constant Field Values

WEIGHT_MOVE_ELEMENT

static final float WEIGHT_MOVE_ELEMENT
The "Move " menu item weight.

See Also:
Constant Field Values

WEIGHT_INTRODUCE_VARIABLE

static final float WEIGHT_INTRODUCE_VARIABLE
The "Introduce Variable" menu item weight.

See Also:
Constant Field Values

WEIGHT_EXTRACT_METHOD

static final float WEIGHT_EXTRACT_METHOD
The "Extract Method" menu item weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR3

static final float WEIGHT_SEPARATOR3
The third separator weight.

See Also:
Constant Field Values

WEIGHT_OVERRIDE_METHODS

static final float WEIGHT_OVERRIDE_METHODS
The "Override Methods..." menu item weight.

See Also:
Constant Field Values

WEIGHT_IMPLEMENT_INTERFACE

static final float WEIGHT_IMPLEMENT_INTERFACE
The "Implement Interface..." menu item weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR4

static final float WEIGHT_SEPARATOR4
The 4th separator weight.

See Also:
Constant Field Values

WEIGHT_GENERATE_ACCESSORS

static final float WEIGHT_GENERATE_ACCESSORS
The "Generate Accessors..." menu item weight.

See Also:
Constant Field Values

WEIGHT_GENERATE_CONSTRUCTOR

static final float WEIGHT_GENERATE_CONSTRUCTOR
The "Generate Constructors..." menu item weight.

See Also:
Constant Field Values

WEIGHT_ADD_JAVADOC_COMMENT

static final float WEIGHT_ADD_JAVADOC_COMMENT
The "Add Javadoc Comment" menu item weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR5

static final float WEIGHT_SEPARATOR5
The fifth separator weight.

See Also:
Constant Field Values

WEIGHT_NEW_METHOD_TEST

static final float WEIGHT_NEW_METHOD_TEST
The "New Method Test" menu item weight.

See Also:
Constant Field Values

WEIGHT_REFRESH_TEST_SUITE

static final float WEIGHT_REFRESH_TEST_SUITE
The "Refresh Test Suite" menu item weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR6

static final float WEIGHT_SEPARATOR6
The sixth separator weight.

See Also:
Constant Field Values

WEIGHT_SOURCE_EDITS_MENU

static final float WEIGHT_SOURCE_EDITS_MENU
The Text Edits sub menu

See Also:
Constant Field Values

WEIGHT_SURROUND_WITH

static final float WEIGHT_SURROUND_WITH
The "Surround With..." menu item weight.

See Also:
Constant Field Values

WEIGHT_TOGGLE_COMMENTS

static final float WEIGHT_TOGGLE_COMMENTS
The "Toggle Comments" menu item weight.

See Also:
Constant Field Values

WEIGHT_BLOCK_INDENT

static final float WEIGHT_BLOCK_INDENT
The "Block Indent" menu item weight.

See Also:
Constant Field Values

WEIGHT_BLOCK_OUTDENT

static final float WEIGHT_BLOCK_OUTDENT
The "Block Outdent" menu item weight.

See Also:
Constant Field Values

WEIGHT_EXPAND_SELECTION

static final float WEIGHT_EXPAND_SELECTION
The "Surround With..." menu item weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR7

static final float WEIGHT_SEPARATOR7
The seventh separator weight.

See Also:
Constant Field Values

WEIGHT_ORGANIZE_IMPORTS

static final float WEIGHT_ORGANIZE_IMPORTS
The "Organize Imports" sub-menu weight.

See Also:
Constant Field Values

WEIGHT_SORT_IMPORTS

static final float WEIGHT_SORT_IMPORTS
The "Sort Imports" menu item weight.

See Also:
Constant Field Values

WEIGHT_NARROW_IMPORTS

static final float WEIGHT_NARROW_IMPORTS
The "Narrow Imports" menu item weight.

See Also:
Constant Field Values

WEIGHT_WIDEN_IMPORTS

static final float WEIGHT_WIDEN_IMPORTS
The "Widen Imports" menu item weight.

See Also:
Constant Field Values

WEIGHT_REMOVE_UNUSED_IMPORTS

static final float WEIGHT_REMOVE_UNUSED_IMPORTS
The "Remove Unused Imports" menu item weight.

See Also:
Constant Field Values

WEIGHT_SEPARATOR8

static final float WEIGHT_SEPARATOR8
The eighth separator weight.

See Also:
Constant Field Values

WEIGHT_REFORMAT

static final float WEIGHT_REFORMAT
The "Reformat" menu item wieght.

See Also:
Constant Field Values

WEIGHT_GOTO

static final float WEIGHT_GOTO
The "Goto Next Method" menu item weight.

See Also:
Constant Field Values

WEIGHT_GOTO_NEXT_METHOD

static final float WEIGHT_GOTO_NEXT_METHOD
The "Goto Next Method" menu item weight.

See Also:
Constant Field Values

WEIGHT_GOTO_PREV_METHOD

static final float WEIGHT_GOTO_PREV_METHOD
The "Goto Next Method" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_TOGGLE_BOOKMARK

static final float WEIGHT_LINE_GUTTER_TOGGLE_BOOKMARK
The "Toggle Bookmark" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_TOGGLE_BREAKPOINT

static final float WEIGHT_LINE_GUTTER_TOGGLE_BREAKPOINT
The "Toggle Breakpoint" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_ENABLE_BREAKPOINT

static final float WEIGHT_LINE_GUTTER_ENABLE_BREAKPOINT
The "Enable Breakpoint" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_EDIT_BREAKPOINT

static final float WEIGHT_LINE_GUTTER_EDIT_BREAKPOINT
The "Edit Breakpoint" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_TOGGLE_LINE_NUMBERS

static final float WEIGHT_LINE_GUTTER_TOGGLE_LINE_NUMBERS
The "Toggle Line Numbers" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_ADD_TODO

static final float WEIGHT_LINE_GUTTER_ADD_TODO
The "Add Task" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_EDIT_TODO

static final float WEIGHT_LINE_GUTTER_EDIT_TODO
The "Edit Task" menu item weight.

See Also:
Constant Field Values

WEIGHT_LINE_GUTTER_PREFERENCES

static final float WEIGHT_LINE_GUTTER_PREFERENCES
The "Preferences" menu item weight.

See Also:
Constant Field Values

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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