Module jEdit

Class StandaloneTextArea.StandaloneActionSet

java.lang.Object
org.gjt.sp.jedit.JEditActionSet<JEditBeanShellAction>
org.gjt.sp.jedit.textarea.StandaloneTextArea.StandaloneActionSet
All Implemented Interfaces:
InputHandlerProvider
Enclosing class:
StandaloneTextArea

public static class StandaloneTextArea.StandaloneActionSet extends JEditActionSet<JEditBeanShellAction>
The actionSet for standalone textArea.
Author:
Matthieu Casanova
  • Constructor Details

  • Method Details

    • getArray

      protected JEditBeanShellAction[] getArray(int size)
      Description copied from class: JEditActionSet
      Returns an empty array E[]. I know it is bad, if you find a method to instantiate a generic Array, tell me
      Specified by:
      getArray in class JEditActionSet<JEditBeanShellAction>
      Parameters:
      size - the size of the array
      Returns:
      the empty array
    • getProperty

      protected String getProperty(String name)
      Description copied from class: JEditActionSet
      Returns a property for the given name. In jEdit it will returns a jEdit.getProperty(name), but it can return something else for a standalone textarea.
      Specified by:
      getProperty in class JEditActionSet<JEditBeanShellAction>
      Parameters:
      name - the property name
      Returns:
      the property value
    • getInputHandler

      public AbstractInputHandler getInputHandler()
    • createBeanShellAction

      protected JEditBeanShellAction createBeanShellAction(String actionName, String code, String selected, boolean noRepeat, boolean noRecord, boolean noRememberLast)
      Description copied from class: JEditActionSet
      This method should be implemented to return an action that will execute the given code
      Specified by:
      createBeanShellAction in class JEditActionSet<JEditBeanShellAction>
      Parameters:
      actionName - the action name
      code - the code
      selected - selected
      noRepeat - noRepeat
      noRecord - noRecord
      noRememberLast - noRememberLast
      Returns:
      an action