public class BeanShellAction extends EditAction
actions.xml
and
browser.actions.xml
files; see ActionSet
for syntax
information.jEdit.getAction(String)
,
jEdit.getActionNames()
,
ActionSet
EditAction.Wrapper
args, name
Constructor and Description |
---|
BeanShellAction(java.lang.String name,
java.lang.String code,
java.lang.String isSelected,
boolean noRepeat,
boolean noRecord,
boolean noRememberLast) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
void |
invoke(View view)
Invokes the action.
|
boolean |
isSelected(java.awt.Component comp) |
boolean |
noRecord() |
boolean |
noRememberLast()
Returns if this edit action should not be remembered as the most
recently invoked action.
|
boolean |
noRepeat() |
getLabel, getMouseOverText, isToggle
getName, invoke, setName, toString
public BeanShellAction(java.lang.String name, java.lang.String code, java.lang.String isSelected, boolean noRepeat, boolean noRecord, boolean noRememberLast)
public void invoke(View view)
EditAction
invoke
in class EditAction
view
- The viewpublic boolean isSelected(java.awt.Component comp)
isSelected
in class EditAction
comp
- The componentpublic boolean noRepeat()
noRepeat
in class EditAction
public boolean noRecord()
noRecord
in class EditAction
public boolean noRememberLast()
noRememberLast
in class EditAction
public java.lang.String getCode()
getCode
in class EditAction