|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 the dynamic Source menu. |
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_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_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 |
WEIGHT_ADD_JAVADOC_COMMENT
The "Add Javadoc Comment" menu item weight. |
static float |
WEIGHT_ASSISTANCE_INSIGHT
The "Assistance Insight" menu item weight. |
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_COMPLETION_INSIGHT
The "Completion Insight" 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_IMPLEMENT_INTERFACE
The "Implement Interface..." menu item weight. |
static float |
WEIGHT_INTRODUCE_VARIABLE
The "Introduce Variable" menu item weight. |
static float |
WEIGHT_LINE_GUTTER_EDIT_BREAKPOINT
The "Edit Breakpoint" 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 |
static float |
WEIGHT_NARROW_IMPORTS
The "Narrow Imports" 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_JAVADOC
The "Quick Javadoc" menu item weight. |
static float |
WEIGHT_REMOVE_UNUSED_IMPORTS
The "Remove Unused Imports" menu item weight. |
static float |
WEIGHT_RENAME_ELEMENT
The "Rename |
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 fourth separator weight. |
static float |
WEIGHT_SEPARATOR5
The fifst separator weight. |
static float |
WEIGHT_SORT_IMPORTS
The "Sort Imports" menu item weight. |
static float |
WEIGHT_SURROUND_WITH
The "Surround With..." menu item weight. |
static float |
WEIGHT_TOGGLE_COMMENTS
The "Toggle Comments" menu item weight. |
static float |
WEIGHT_WIDEN_IMPORTS
The "Widen Imports" menu item weight. |
Field Detail |
public static final java.lang.String CATEGORY_CODE_MENU
public static final float SECTION_SOURCE_CTXT_MENU
public static final float SECTION_SOURCE_INSIGHT
public static final float SECTION_SOURCE_REFACTOR
public static final float SECTION_SOURCE_CODING
public static final float SECTION_SOURCE_COMMENTS
public static final float SECTION_SOURCE_IMPORT
public static final float SECTION_SOURCE_GUTTER_BOOKMARK
public static final float SECTION_SOURCE_GUTTER_BREAKPOINT
public static final float SECTION_SOURCE_GUTTER_LINE_NUMBER
public static final float WEIGHT_COMPLETION_INSIGHT
public static final float WEIGHT_PARAMETER_INSIGHT
public static final float WEIGHT_ASSISTANCE_INSIGHT
public static final float WEIGHT_EXPAND_TEMPLATE
public static final float WEIGHT_QUICK_JAVADOC
public static final float WEIGHT_SEPARATOR1
public static final float WEIGHT_BREAKPOINT
public static final float WEIGHT_SEPARATOR2
public static final float WEIGHT_RENAME_ELEMENT
public static final float WEIGHT_MOVE_ELEMENT
public static final float WEIGHT_INTRODUCE_VARIABLE
public static final float WEIGHT_EXTRACT_METHOD
public static final float WEIGHT_SEPARATOR3
public static final float WEIGHT_OVERRIDE_METHODS
public static final float WEIGHT_IMPLEMENT_INTERFACE
public static final float WEIGHT_GENERATE_ACCESSORS
public static final float WEIGHT_GENERATE_CONSTRUCTOR
public static final float WEIGHT_ADD_JAVADOC_COMMENT
public static final float WEIGHT_SEPARATOR4
public static final float WEIGHT_SURROUND_WITH
public static final float WEIGHT_TOGGLE_COMMENTS
public static final float WEIGHT_BLOCK_INDENT
public static final float WEIGHT_BLOCK_OUTDENT
public static final float WEIGHT_SEPARATOR5
public static final float WEIGHT_ORGANIZE_IMPORTS
public static final float WEIGHT_SORT_IMPORTS
public static final float WEIGHT_NARROW_IMPORTS
public static final float WEIGHT_WIDEN_IMPORTS
public static final float WEIGHT_REMOVE_UNUSED_IMPORTS
public static final float WEIGHT_LINE_GUTTER_TOGGLE_BOOKMARK
public static final float WEIGHT_LINE_GUTTER_TOGGLE_BREAKPOINT
public static final float WEIGHT_LINE_GUTTER_ENABLE_BREAKPOINT
public static final float WEIGHT_LINE_GUTTER_EDIT_BREAKPOINT
public static final float WEIGHT_LINE_GUTTER_TOGGLE_LINE_NUMBERS
public static final float WEIGHT_LINE_GUTTER_PREFERENCES
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.