Package org.gjt.sp.jedit
Class JEditBeanShellAction
- java.lang.Object
-
- org.gjt.sp.jedit.JEditAbstractEditAction<TextArea>
-
- org.gjt.sp.jedit.JEditBeanShellAction
-
public class JEditBeanShellAction extends JEditAbstractEditAction<TextArea>
An action that evaluates BeanShell code when invoked. BeanShell actions are usually loaded fromactions.xmlandbrowser.actions.xmlfiles; seeActionSetfor syntax information.- See Also:
jEdit.getAction(String),jEdit.getActionNames(),ActionSet
-
-
Field Summary
-
Fields inherited from class org.gjt.sp.jedit.JEditAbstractEditAction
args, name
-
-
Constructor Summary
Constructors Constructor Description JEditBeanShellAction(java.lang.String name, java.lang.String code, java.lang.String isSelected, boolean noRepeat, boolean noRecord, boolean noRememberLast)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()voidinvoke(TextArea textArea)Invokes the action.booleanisSelected(java.awt.Component comp)booleannoRecord()booleannoRememberLast()Returns 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
-
-
-
-
Method Detail
-
invoke
public void invoke(TextArea textArea)
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
public boolean isSelected(java.awt.Component comp)
-
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
public java.lang.String getCode()
-
-