An action that evaluates BeanShell code when invoked. BeanShell actions are
usually loaded from
actions.xml and
browser.actions.xml files; see ActionSet for syntax
information.- Version:
- $Id: BeanShellAction.java 10803 2007-10-04 20:45:31Z kpouer $
- Author:
- Slava Pestov, Matthieu Casanova
- See Also:
-
Field Summary
Fields inherited from class org.gjt.sp.jedit.JEditAbstractEditAction
args, name -
Constructor Summary
ConstructorsConstructorDescriptionJEditBeanShellAction(String name, String code, String isSelected, boolean noRepeat, boolean noRecord, boolean noRememberLast) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()voidInvokes the action.booleanisSelected(Component comp) booleannoRecord()booleanReturns if this edit action should not be remembered as the most recently invoked action.booleannoRepeat()Methods inherited from class org.gjt.sp.jedit.JEditAbstractEditAction
getName, invoke, setName, toString
-
Constructor Details
-
JEditBeanShellAction
-
-
Method Details
-
invoke
Description copied from class:JEditAbstractEditActionInvokes the action. This is an implementation of the Command pattern, and concrete actions should override this.- Specified by:
invokein classJEditAbstractEditAction<TextArea>- Parameters:
textArea- the argument
-
isSelected
-
noRepeat
public boolean noRepeat() -
noRecord
public boolean noRecord() -
noRememberLast
public boolean noRememberLast()Returns if this edit action should not be remembered as the most recently invoked action.- Since:
- jEdit 4.2pre1
-
getCode
-