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
-
Field Summary
Fields inherited from class org.gjt.sp.jedit.JEditActionSet
actions, loaded, placeholder, uri -
Constructor Summary
ConstructorsConstructorDescriptionStandaloneActionSet(IPropertyManager iPropertyManager, TextArea textArea, URL url) -
Method Summary
Modifier and TypeMethodDescriptionprotected JEditBeanShellActioncreateBeanShellAction(String actionName, String code, String selected, boolean noRepeat, boolean noRecord, boolean noRememberLast) This method should be implemented to return an action that will execute the given codeprotected JEditBeanShellAction[]getArray(int size) Returns an empty array E[].protected StringgetProperty(String name) Returns a property for the given name.Methods inherited from class org.gjt.sp.jedit.JEditActionSet
addAction, contains, getAction, getActionCount, getActionNames, getActions, getCacheableActionNames, initKeyBindings, load, removeAction, removeAllActions, size
-
Constructor Details
-
StandaloneActionSet
-
-
Method Details
-
getArray
Description copied from class:JEditActionSetReturns an empty array E[]. I know it is bad, if you find a method to instantiate a generic Array, tell me- Specified by:
getArrayin classJEditActionSet<JEditBeanShellAction>- Parameters:
size- the size of the array- Returns:
- the empty array
-
getProperty
Description copied from class:JEditActionSetReturns 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:
getPropertyin classJEditActionSet<JEditBeanShellAction>- Parameters:
name- the property name- Returns:
- the property value
-
getInputHandler
-
createBeanShellAction
protected JEditBeanShellAction createBeanShellAction(String actionName, String code, String selected, boolean noRepeat, boolean noRecord, boolean noRememberLast) Description copied from class:JEditActionSetThis method should be implemented to return an action that will execute the given code- Specified by:
createBeanShellActionin classJEditActionSet<JEditBeanShellAction>- Parameters:
actionName- the action namecode- the codeselected- selectednoRepeat- noRepeatnoRecord- noRecordnoRememberLast- noRememberLast- Returns:
- an action
-