com.borland.primetime.editor
Class EditorActions

java.lang.Object
  |
  +--com.borland.primetime.editor.EditorActions
All Implemented Interfaces:
EditorActionNames
Direct Known Subclasses:
CUAActions, VisualStudioActions

public class EditorActions
extends java.lang.Object
implements EditorActionNames

This is the editor kit that JBuilder is going to use. It defines which view and document types will be used, and also defines additional Action objects that the editor can perform.


Inner Class Summary
static class EditorActions.BackwardAction
          Action to move the cursor backward by one character.
static class EditorActions.BeginAction
          Move the caret to the begining of the document.
static class EditorActions.BeginLineAction
          Position the caret to the beginning of the line.
static class EditorActions.BeginWordAction
          Position the caret at the beginning of the current word.
static class EditorActions.BottomOfScreenAction
          Move the caret to the bottom of the screen.
static class EditorActions.ChangeWordCaseAction
          Convert the entire word that contains the caret to upper- or lowercase.
static class EditorActions.ClearBookmarksAction
          Clears all bookmarks in the current editor.
static class EditorActions.ClosingCurlyBraceAction
          Do any special code handling when the closing curly brace is entered.
static class EditorActions.CommentLineAction
          Place a line comment at the start of the current line.
static class EditorActions.CopyAction
          Copies the selected region and place its contents into the system clipboard.
static class EditorActions.CutAction
          Cuts the selected region and place its contents into the system clipboard.
static class EditorActions.DefaultKeyTypedAction
          The action that is executed by default if a key typed event is received and there is no keymap entry.
static class EditorActions.DeleteBeginLineAction
          Delete from the caret position to the beginning of the the line that the caret is currently on.
static class EditorActions.DeleteBeginWordAction
          Delete from the caret to the beginning of the current word.
static class EditorActions.DeleteEndLineAction
          Delete from the caret position to the end of the the line that the caret is currently on.
static class EditorActions.DeleteLineAction
          Delete the line that the caret is currently on.
static class EditorActions.DeleteNextCharAction
          Deletes the character of content that follows the current caret position.
static class EditorActions.DeletePrevCharAction
          Deletes the character of content that precedes the current caret position.
static class EditorActions.DeleteSelectionAction
          Delete the current selection.
static class EditorActions.DeleteWordAction
          Delete all characters from the current Caret position to the end of the current word.
static class EditorActions.DownAction
          This action is basically used as a tag.
static class EditorActions.EndAction
          Move the caret to the end of the document.
static class EditorActions.EndLineAction
          Position the caret to the end of the line.
static class EditorActions.EndWordAction
          Position the caret at the end of the current word.
static class EditorActions.ForwardAction
          Action to move the cursor forward by one character.
static class EditorActions.GotoBookmarkAction
          Goto a bookmark in one of the editors
static class EditorActions.GotoBookmarkDialogAction
          Bring up the Goto Bookmark Dialog.
static class EditorActions.GotoLineDialogAction
          Bring up the Goto Line Dialog.
static class EditorActions.IncrementalSearchAction
          Incremental Search.
static class EditorActions.IndentBlockAction
          Indent every line that contains part of the current selection.
static class EditorActions.InsertTabAction
          Insert a tab character into the text.
static interface EditorActions.KeymapSwitchAction
          This is simply a tagging interface for Actions which switch to a subkeymap.
static class EditorActions.LowerCaseAction
          Convert the selected text to lower case.
static class EditorActions.MatchBraceAction
          Move the caret to the matching brace, bracket, or paren.
static class EditorActions.NextBookmarkAction
          Goto the next bookmark below the current line, with wrap around to the top if no bookmark is found before the end of the file.
static class EditorActions.NextVisualPositionAction
          Action to move the selection by way of the getNextVisualPositionFrom method.
static class EditorActions.NextWordAction
          Position the caret at start of the next word.
static class EditorActions.OpenLineAction
          Places a newline into the document.
static class EditorActions.OutdentBlockAction
          Outdent every line that contains part of the current selection.
static class EditorActions.PageDownAction
          Pages down vertically.
static class EditorActions.PageLeftAction
          Pages left one screen.
static class EditorActions.PageRightAction
          Pages right one screen.
static class EditorActions.PageUpAction
          Pages up vertically.
static class EditorActions.PasteAction
          Pastes the contents of the system clipboard into the selected region, or before the caret if nothing is selected.
static class EditorActions.PreviousBookmarkAction
          Goto the previous bookmark above the current line, with wrap around to the bottom if no bookmark is found before the start of the file.
static class EditorActions.PreviousIndentAction
          Move the caret to the previous indent position.
static class EditorActions.PreviousWordAction
          Position the caret at the start of the previous word.
static class EditorActions.RecenterAction
          Center the current line on the screen.
static class EditorActions.RedoAction
          Redo the previously undone text modification.
static class EditorActions.ReplaceDialogAction
          Bring up the Replace Dialog.
static class EditorActions.ScrollDownAction
          Scroll the editor down one line.
static class EditorActions.ScrollUpAction
          Scroll the editor up one line.
static class EditorActions.SearchAgainAction
          Repeat the previous search.
static class EditorActions.SearchDialogAction
          Bring up the Search Dialog.
static class EditorActions.SearchSelectedAction
          Search on the selected text.
static class EditorActions.SelectAllAction
          Select the entire document
static class EditorActions.SelectLineAction
          Select the line around the caret.
static class EditorActions.SelectWordAction
          Select the word around the caret
static class EditorActions.SetBookmarkAction
          Set a bookmark at the current caret position.
static class EditorActions.SmartBackspaceAction
          This is the SmartBackspaceAction action.
static class EditorActions.SmartIndentAction
          This is the SmartIndent action.
static class EditorActions.StripTrailingSpaceAction
          Strip whitespace at the end of lines.
static class EditorActions.TabKeyAction
          Does one of the following: If EditorManager.isSmartTabs is true, places enough spaces on the the line to line up the next character typed with the next non-whitespace character on the previous non-blank line.
static class EditorActions.ToggleBookmarkAction
          Toggle a bookmark at the current caret position.
static class EditorActions.ToggleCaseAction
          Toggle the case of each character in the selected text.
static class EditorActions.ToggleInsertModeAction
          Toggle the editor Insert mode (Insert or Overwrite)
static class EditorActions.TopOfScreenAction
          Move the caret to the top of the screen.
static class EditorActions.TransposeCharsAction
          Switch the position of the two characters on either side of the caret.
static class EditorActions.TransposeLinesAction
          Switch the position of the line that the caret is on with the previous line.
static class EditorActions.TransposeWordsAction
          Switch the position of the two words on either side of the caret.
static class EditorActions.UndoAction
          Undo the previous text modification.
static class EditorActions.UnTabKeyAction
          This action is normally bound to the Shift-Tab key, thus the bizarre name.
static class EditorActions.UpAction
          This action is basically used as a tag.
static class EditorActions.UpperCaseAction
          Convert the selected text to upper case.
 
Field Summary
static EditorAction ACTION_Backward
           
static EditorAction ACTION_Begin
           
static EditorAction ACTION_BeginLine
           
static EditorAction ACTION_BeginWord
           
static EditorAction ACTION_BottomOfScreen
           
static EditorAction ACTION_ClearBookmarks
           
static EditorAction ACTION_ClosingCurlyBrace
           
static EditorAction ACTION_CommentLine
           
static EditorAction ACTION_Copy
           
static EditorAction ACTION_Cut
           
static EditorAction ACTION_DefaultKeyTyped
           
static EditorAction ACTION_DeleteBeginLine
           
static EditorAction ACTION_DeleteBeginWord
           
static EditorAction ACTION_DeleteEndLine
           
static EditorAction ACTION_DeleteLine
           
static EditorAction ACTION_DeleteNextChar
           
static EditorAction ACTION_DeletePrevChar
           
static EditorAction ACTION_DeleteSelection
           
static EditorAction ACTION_DeleteWord
           
static EditorAction ACTION_Down
           
static EditorAction ACTION_End
           
static EditorAction ACTION_EndLine
           
static EditorAction ACTION_EndWord
           
static EditorAction ACTION_Forward
           
static EditorAction ACTION_GotoBookmark0
           
static EditorAction ACTION_GotoBookmark1
           
static EditorAction ACTION_GotoBookmark2
           
static EditorAction ACTION_GotoBookmark3
           
static EditorAction ACTION_GotoBookmark4
           
static EditorAction ACTION_GotoBookmark5
           
static EditorAction ACTION_GotoBookmark6
           
static EditorAction ACTION_GotoBookmark7
           
static EditorAction ACTION_GotoBookmark8
           
static EditorAction ACTION_GotoBookmark9
           
static EditorAction ACTION_GotoBookmarkDialog
           
static EditorAction ACTION_GotoLineDialog
           
static EditorAction ACTION_IncrementalSearch
           
static EditorAction ACTION_IndentBlock
           
static EditorAction ACTION_InsertTab
           
static EditorAction ACTION_LowerCase
           
static EditorAction ACTION_LowerCaseWord
           
static EditorAction ACTION_MatchBrace
           
static EditorAction ACTION_NextBookmark
           
static EditorAction ACTION_NextWord
           
static EditorAction ACTION_OpenLine
           
static EditorAction ACTION_OutdentBlock
           
static EditorAction ACTION_PageDown
           
static EditorAction ACTION_PageLeft
           
static EditorAction ACTION_PageRight
           
static EditorAction ACTION_PageUp
           
static EditorAction ACTION_Paste
           
static EditorAction ACTION_PreviousBookmark
           
static EditorAction ACTION_PreviousIndent
           
static EditorAction ACTION_PreviousTabStop
           
static EditorAction ACTION_PreviousWord
           
static EditorAction ACTION_Recenter
           
static EditorAction ACTION_Redo
           
static EditorAction ACTION_ReplaceDialog
           
static EditorAction ACTION_ReverseIncrementalSearch
           
static EditorAction ACTION_ScrollDown
           
static EditorAction ACTION_ScrollUp
           
static EditorAction ACTION_SearchAgain
           
static EditorAction ACTION_SearchAgainBackward
           
static EditorAction ACTION_SearchAgainForward
           
static EditorAction ACTION_SearchAgainInReverse
           
static EditorAction ACTION_SearchDialog
           
static EditorAction ACTION_SearchSelectedBackward
           
static EditorAction ACTION_SearchSelectedForward
           
static EditorAction ACTION_SelectAll
           
static EditorAction ACTION_SelectionBackward
           
static EditorAction ACTION_SelectionBegin
           
static EditorAction ACTION_SelectionBeginLine
           
static EditorAction ACTION_SelectionBeginWord
           
static EditorAction ACTION_SelectionBottomOfScreen
           
static EditorAction ACTION_SelectionDown
           
static EditorAction ACTION_SelectionEnd
           
static EditorAction ACTION_SelectionEndLine
           
static EditorAction ACTION_SelectionEndWord
           
static EditorAction ACTION_SelectionForward
           
static EditorAction ACTION_SelectionMatchBrace
           
static EditorAction ACTION_SelectionNextWord
           
static EditorAction ACTION_SelectionPageDown
           
static EditorAction ACTION_SelectionPageUp
           
static EditorAction ACTION_SelectionPreviousWord
           
static EditorAction ACTION_SelectionTopOfScreen
           
static EditorAction ACTION_SelectionUp
           
static EditorAction ACTION_SelectLine
           
static EditorAction ACTION_SelectMultiLine
           
static EditorAction ACTION_SelectWord
           
static EditorAction ACTION_SetBookmark0
           
static EditorAction ACTION_SetBookmark1
           
static EditorAction ACTION_SetBookmark2
           
static EditorAction ACTION_SetBookmark3
           
static EditorAction ACTION_SetBookmark4
           
static EditorAction ACTION_SetBookmark5
           
static EditorAction ACTION_SetBookmark6
           
static EditorAction ACTION_SetBookmark7
           
static EditorAction ACTION_SetBookmark8
           
static EditorAction ACTION_SetBookmark9
           
static EditorAction ACTION_SmartBackspace
           
static EditorAction ACTION_SmartIndent
           
static EditorAction ACTION_StripTrailingSpace
           
static EditorAction ACTION_TabKey
           
static EditorAction ACTION_ToggleBookmark
           
static EditorAction ACTION_ToggleCase
           
static EditorAction ACTION_ToggleInsertMode
           
static EditorAction ACTION_TopOfScreen
           
static EditorAction ACTION_TransposeChars
           
static EditorAction ACTION_TransposeLines
           
static EditorAction ACTION_TransposeWords
           
static EditorAction ACTION_Undo
           
static EditorAction ACTION_UnTabKey
           
static EditorAction ACTION_Up
           
static EditorAction ACTION_UpperCase
           
static EditorAction ACTION_UpperCaseWord
           
static javax.swing.Action[] customActions
           
 
Fields inherited from interface com.borland.primetime.editor.EditorActionNames
backwardAction, beepAction, beginAction, beginLineAction, beginWordAction, bottomOfScreenAction, clearBookmarksAction, closingCurlyBraceAction, commentLineAction, copyAction, cutAction, defaultKeyTypedAction, deleteBeginLineAction, deleteBeginWordAction, deleteEndLineAction, deleteLineAction, deleteNextCharAction, deletePrevCharAction, deleteSelectionAction, deleteWordAction, downAction, endAction, endLineAction, endWordAction, forwardAction, gotoBookmark0Action, gotoBookmark1Action, gotoBookmark2Action, gotoBookmark3Action, gotoBookmark4Action, gotoBookmark5Action, gotoBookmark6Action, gotoBookmark7Action, gotoBookmark8Action, gotoBookmark9Action, gotoBookmarkDialogAction, gotoLineDialogAction, incrSearchAction, indentBlockAction, insertBreakAction, insertTabAction, lowerCaseAction, lowerCaseWordAction, matchBraceAction, nextBookmarkAction, nextWordAction, openLineAction, outdentBlockAction, pageDownAction, pageLeftAction, pageRightAction, pageUpAction, pasteAction, previousBookmarkAction, previousIndentAction, previousTabStopAction, previousWordAction, printAction, recenterAction, redoAction, replaceDialogAction, reverseIncrSearchAction, scrollDownAction, scrollLeftAction, scrollRightAction, scrollUpAction, searchAgainAction, searchAgainBackwardAction, searchAgainForwardAction, searchAgainInReverseAction, searchDialogAction, searchSelectedBackwardAction, searchSelectedForwardAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginWordAction, selectionBottomOfScreenAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndWordAction, selectionForwardAction, selectionMatchBraceAction, selectionNextWordAction, selectionPageDownAction, selectionPageUpAction, selectionPreviousWordAction, selectionTopOfScreenAction, selectionUpAction, selectLineAction, selectMultiLineAction, selectWordAction, setBookmark0Action, setBookmark1Action, setBookmark2Action, setBookmark3Action, setBookmark4Action, setBookmark5Action, setBookmark6Action, setBookmark7Action, setBookmark8Action, setBookmark9Action, smartBackspaceAction, smartIndentAction, stripTrailingSpaceAction, tabKeyAction, toggleBookmarkAction, toggleCaseAction, toggleInsertModeAction, topOfScreenAction, transposeCharsAction, transposeLinesAction, transposeWordsAction, undoAction, unTabKeyAction, upAction, upperCaseAction, upperCaseWordAction
 
Constructor Summary
EditorActions()
           
 
Method Summary
static void addBindableEditorAction(javax.swing.Action action)
          Add an action that can safely be executed in the editor and that users are allowed to bind to keystrokes through the use of the keymap editor.
static void addBindableEditorAction(javax.swing.Action action, java.lang.String keymap)
          Add an action that can safely be executed in the editor and that users are allowed to bind to keystrokes through the use of the keymap editor.
static void addBindableIdeAction(javax.swing.Action action)
          Add an action that can safely be executed in the IDE and that users are allowed to bind to keystrokes through the use of the keymap editor.
static void addBindableIdeAction(javax.swing.Action action, java.lang.String keymap)
          Add an action that can safely be executed in the IDE and that users are allowed to bind to keystrokes through the use of the keymap editor.
static javax.swing.Action[] getActions()
           
static javax.swing.Action[] getBindableEditorActions()
          Return the list of actions that can safely be bound to keystrokes in the editor.
static javax.swing.Action[] getBindableIdeActions()
          Return the list of actions that can safely be bound to keystrokes in the IDE.
static boolean isBindableIdeAction(javax.swing.Action action)
          Determine if the incoming action is an action that is an IDE centric action, instead of an editor centric action.
static void removeBindableEditorAction(javax.swing.Action action)
          Remove an editor action from the list of actions that users are allowed to bind in the keymap editor.
static void removeBindableIdeAction(javax.swing.Action action)
          Remove an IDE action from the list of actions that users are allowed to bind in the keymap editor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_Forward

public static EditorAction ACTION_Forward

ACTION_Backward

public static EditorAction ACTION_Backward

ACTION_Up

public static EditorAction ACTION_Up

ACTION_Down

public static EditorAction ACTION_Down

ACTION_BeginWord

public static EditorAction ACTION_BeginWord

ACTION_EndWord

public static EditorAction ACTION_EndWord

ACTION_NextWord

public static EditorAction ACTION_NextWord

ACTION_PreviousWord

public static EditorAction ACTION_PreviousWord

ACTION_BeginLine

public static EditorAction ACTION_BeginLine

ACTION_EndLine

public static EditorAction ACTION_EndLine

ACTION_TopOfScreen

public static EditorAction ACTION_TopOfScreen

ACTION_BottomOfScreen

public static EditorAction ACTION_BottomOfScreen

ACTION_PageUp

public static EditorAction ACTION_PageUp

ACTION_PageDown

public static EditorAction ACTION_PageDown

ACTION_PageLeft

public static EditorAction ACTION_PageLeft

ACTION_PageRight

public static EditorAction ACTION_PageRight

ACTION_Begin

public static EditorAction ACTION_Begin

ACTION_End

public static EditorAction ACTION_End

ACTION_ScrollUp

public static EditorAction ACTION_ScrollUp

ACTION_ScrollDown

public static EditorAction ACTION_ScrollDown

ACTION_GotoLineDialog

public static EditorAction ACTION_GotoLineDialog

ACTION_MatchBrace

public static EditorAction ACTION_MatchBrace

ACTION_ToggleBookmark

public static EditorAction ACTION_ToggleBookmark

ACTION_SetBookmark0

public static EditorAction ACTION_SetBookmark0

ACTION_SetBookmark1

public static EditorAction ACTION_SetBookmark1

ACTION_SetBookmark2

public static EditorAction ACTION_SetBookmark2

ACTION_SetBookmark3

public static EditorAction ACTION_SetBookmark3

ACTION_SetBookmark4

public static EditorAction ACTION_SetBookmark4

ACTION_SetBookmark5

public static EditorAction ACTION_SetBookmark5

ACTION_SetBookmark6

public static EditorAction ACTION_SetBookmark6

ACTION_SetBookmark7

public static EditorAction ACTION_SetBookmark7

ACTION_SetBookmark8

public static EditorAction ACTION_SetBookmark8

ACTION_SetBookmark9

public static EditorAction ACTION_SetBookmark9

ACTION_GotoBookmark0

public static EditorAction ACTION_GotoBookmark0

ACTION_GotoBookmark1

public static EditorAction ACTION_GotoBookmark1

ACTION_GotoBookmark2

public static EditorAction ACTION_GotoBookmark2

ACTION_GotoBookmark3

public static EditorAction ACTION_GotoBookmark3

ACTION_GotoBookmark4

public static EditorAction ACTION_GotoBookmark4

ACTION_GotoBookmark5

public static EditorAction ACTION_GotoBookmark5

ACTION_GotoBookmark6

public static EditorAction ACTION_GotoBookmark6

ACTION_GotoBookmark7

public static EditorAction ACTION_GotoBookmark7

ACTION_GotoBookmark8

public static EditorAction ACTION_GotoBookmark8

ACTION_GotoBookmark9

public static EditorAction ACTION_GotoBookmark9

ACTION_NextBookmark

public static EditorAction ACTION_NextBookmark

ACTION_PreviousBookmark

public static EditorAction ACTION_PreviousBookmark

ACTION_ClearBookmarks

public static EditorAction ACTION_ClearBookmarks

ACTION_GotoBookmarkDialog

public static EditorAction ACTION_GotoBookmarkDialog

ACTION_SelectionForward

public static EditorAction ACTION_SelectionForward

ACTION_SelectionBackward

public static EditorAction ACTION_SelectionBackward

ACTION_SelectionUp

public static EditorAction ACTION_SelectionUp

ACTION_SelectionDown

public static EditorAction ACTION_SelectionDown

ACTION_SelectionBeginWord

public static EditorAction ACTION_SelectionBeginWord

ACTION_SelectionEndWord

public static EditorAction ACTION_SelectionEndWord

ACTION_SelectionPreviousWord

public static EditorAction ACTION_SelectionPreviousWord

ACTION_SelectionNextWord

public static EditorAction ACTION_SelectionNextWord

ACTION_SelectionBeginLine

public static EditorAction ACTION_SelectionBeginLine

ACTION_SelectionEndLine

public static EditorAction ACTION_SelectionEndLine

ACTION_SelectionTopOfScreen

public static EditorAction ACTION_SelectionTopOfScreen

ACTION_SelectionBottomOfScreen

public static EditorAction ACTION_SelectionBottomOfScreen

ACTION_SelectionPageUp

public static EditorAction ACTION_SelectionPageUp

ACTION_SelectionPageDown

public static EditorAction ACTION_SelectionPageDown

ACTION_SelectionBegin

public static EditorAction ACTION_SelectionBegin

ACTION_SelectionEnd

public static EditorAction ACTION_SelectionEnd

ACTION_SelectionMatchBrace

public static EditorAction ACTION_SelectionMatchBrace

ACTION_SelectWord

public static EditorAction ACTION_SelectWord

ACTION_SelectLine

public static EditorAction ACTION_SelectLine

ACTION_SelectMultiLine

public static EditorAction ACTION_SelectMultiLine

ACTION_SelectAll

public static EditorAction ACTION_SelectAll

ACTION_ToggleInsertMode

public static EditorAction ACTION_ToggleInsertMode

ACTION_DeletePrevChar

public static EditorAction ACTION_DeletePrevChar

ACTION_DeleteNextChar

public static EditorAction ACTION_DeleteNextChar

ACTION_DeleteSelection

public static EditorAction ACTION_DeleteSelection

ACTION_DeleteLine

public static EditorAction ACTION_DeleteLine

ACTION_DeleteBeginLine

public static EditorAction ACTION_DeleteBeginLine

ACTION_DeleteEndLine

public static EditorAction ACTION_DeleteEndLine

ACTION_DeleteWord

public static EditorAction ACTION_DeleteWord

ACTION_DeleteBeginWord

public static EditorAction ACTION_DeleteBeginWord

ACTION_IndentBlock

public static EditorAction ACTION_IndentBlock

ACTION_OutdentBlock

public static EditorAction ACTION_OutdentBlock

ACTION_SmartIndent

public static EditorAction ACTION_SmartIndent

ACTION_SmartBackspace

public static EditorAction ACTION_SmartBackspace

ACTION_Undo

public static EditorAction ACTION_Undo

ACTION_Redo

public static EditorAction ACTION_Redo

ACTION_UpperCase

public static EditorAction ACTION_UpperCase

ACTION_LowerCase

public static EditorAction ACTION_LowerCase

ACTION_ToggleCase

public static EditorAction ACTION_ToggleCase

ACTION_UpperCaseWord

public static EditorAction ACTION_UpperCaseWord

ACTION_LowerCaseWord

public static EditorAction ACTION_LowerCaseWord

ACTION_OpenLine

public static EditorAction ACTION_OpenLine

ACTION_Cut

public static EditorAction ACTION_Cut

ACTION_Copy

public static EditorAction ACTION_Copy

ACTION_Paste

public static EditorAction ACTION_Paste

ACTION_SearchDialog

public static EditorAction ACTION_SearchDialog

ACTION_SearchAgain

public static EditorAction ACTION_SearchAgain

ACTION_SearchAgainInReverse

public static EditorAction ACTION_SearchAgainInReverse

ACTION_SearchAgainForward

public static EditorAction ACTION_SearchAgainForward

ACTION_SearchAgainBackward

public static EditorAction ACTION_SearchAgainBackward

ACTION_SearchSelectedForward

public static EditorAction ACTION_SearchSelectedForward

ACTION_SearchSelectedBackward

public static EditorAction ACTION_SearchSelectedBackward

ACTION_ReplaceDialog

public static EditorAction ACTION_ReplaceDialog

ACTION_IncrementalSearch

public static EditorAction ACTION_IncrementalSearch

ACTION_ReverseIncrementalSearch

public static EditorAction ACTION_ReverseIncrementalSearch

ACTION_Recenter

public static EditorAction ACTION_Recenter

ACTION_InsertTab

public static EditorAction ACTION_InsertTab

ACTION_TabKey

public static EditorAction ACTION_TabKey

ACTION_UnTabKey

public static EditorAction ACTION_UnTabKey

ACTION_StripTrailingSpace

public static EditorAction ACTION_StripTrailingSpace

ACTION_CommentLine

public static EditorAction ACTION_CommentLine

ACTION_PreviousIndent

public static EditorAction ACTION_PreviousIndent

ACTION_PreviousTabStop

public static EditorAction ACTION_PreviousTabStop

ACTION_DefaultKeyTyped

public static EditorAction ACTION_DefaultKeyTyped

ACTION_TransposeLines

public static EditorAction ACTION_TransposeLines

ACTION_TransposeWords

public static EditorAction ACTION_TransposeWords

ACTION_TransposeChars

public static EditorAction ACTION_TransposeChars

ACTION_ClosingCurlyBrace

public static EditorAction ACTION_ClosingCurlyBrace

customActions

public static final javax.swing.Action[] customActions
Constructor Detail

EditorActions

public EditorActions()
Method Detail

getActions

public static javax.swing.Action[] getActions()

addBindableEditorAction

public static void addBindableEditorAction(javax.swing.Action action,
                                           java.lang.String keymap)
Add an action that can safely be executed in the editor and that users are allowed to bind to keystrokes through the use of the keymap editor. This particular action should only be bindable when the keymap, specified by the keymap parameter, is the current keymap. Use this function to register actions that make only sense when the focus is in the editor.
Parameters:
action - The action that can be bound to keystrokes
keymap - The name of the keymap that introduces this action.

addBindableEditorAction

public static void addBindableEditorAction(javax.swing.Action action)
Add an action that can safely be executed in the editor and that users are allowed to bind to keystrokes through the use of the keymap editor. This action is compatible with all keymaps. Use this function to register actions that make only sense when the focus is in the editor.
Parameters:
action - The action that can be bound to keystrokes

removeBindableEditorAction

public static void removeBindableEditorAction(javax.swing.Action action)
Remove an editor action from the list of actions that users are allowed to bind in the keymap editor.
Parameters:
action - The action to be removed.

getBindableEditorActions

public static javax.swing.Action[] getBindableEditorActions()
Return the list of actions that can safely be bound to keystrokes in the editor.
Returns:
The list of actions that can be bound. The return will be an arraylist with zero or more members.

addBindableIdeAction

public static void addBindableIdeAction(javax.swing.Action action,
                                        java.lang.String keymap)
Add an action that can safely be executed in the IDE and that users are allowed to bind to keystrokes through the use of the keymap editor. This particular action should only be bindable when the keymap, specified by the keymap parameter, is the current keymap. Use this function to register actions that make sense if the focus is anywhere in the IDE, such as SearchInPath.
Parameters:
action - The action that can be bound to keystrokes
keymap - The name of the keymap that introduces this action.

addBindableIdeAction

public static void addBindableIdeAction(javax.swing.Action action)
Add an action that can safely be executed in the IDE and that users are allowed to bind to keystrokes through the use of the keymap editor. This action is compatible with all keymaps. Use this function to register actions that make sense if the focus is anywhere in the IDE, such as SearchInPath.
Parameters:
action - The action that can be bound to keystrokes

removeBindableIdeAction

public static void removeBindableIdeAction(javax.swing.Action action)
Remove an IDE action from the list of actions that users are allowed to bind in the keymap editor.
Parameters:
action - The action to be removed.

getBindableIdeActions

public static javax.swing.Action[] getBindableIdeActions()
Return the list of actions that can safely be bound to keystrokes in the IDE.
Returns:
The list of actions that can be bound. The return will be an arraylist with zero or more members.

isBindableIdeAction

public static boolean isBindableIdeAction(javax.swing.Action action)
Determine if the incoming action is an action that is an IDE centric action, instead of an editor centric action. IDE actions can be bound in both the editor and the IDE keymap, but editor actions are usually only bound in the editor keymap.
Parameters:
action - The action we are interested in
Returns:
True if this is an IDE centric action, false otherwise.