Package org.gjt.sp.jedit.textarea
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.
-
-
Field Summary
-
Fields inherited from class org.gjt.sp.jedit.JEditActionSet
actions, loaded, placeholder, uri
-
-
Constructor Summary
Constructors Constructor Description StandaloneActionSet(IPropertyManager iPropertyManager, TextArea textArea, java.net.URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JEditBeanShellActioncreateBeanShellAction(java.lang.String actionName, java.lang.String code, java.lang.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[].AbstractInputHandlergetInputHandler()protected java.lang.StringgetProperty(java.lang.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 Detail
-
StandaloneActionSet
public StandaloneActionSet(IPropertyManager iPropertyManager, TextArea textArea, java.net.URL url)
-
-
Method Detail
-
getArray
protected JEditBeanShellAction[] getArray(int size)
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
protected java.lang.String getProperty(java.lang.String name)
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
public AbstractInputHandler getInputHandler()
-
createBeanShellAction
protected JEditBeanShellAction createBeanShellAction(java.lang.String actionName, java.lang.String code, java.lang.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
-
-