|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gjt.sp.jedit.EditAction
org.gjt.sp.jedit.BeanShellAction
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.
jEdit.getAction(String),
jEdit.getActionNames(),
ActionSet| Nested Class Summary |
| Nested classes inherited from class org.gjt.sp.jedit.EditAction |
EditAction.Wrapper |
| Constructor Summary | |
BeanShellAction(java.lang.String name,
java.lang.String code,
java.lang.String isSelected,
boolean noRepeat,
boolean noRecord,
boolean noRememberLast)
|
|
| Method Summary | |
java.lang.String |
getCode()
Returns the BeanShell code that will replay this action. |
void |
invoke(View view)
Invokes the action. |
boolean |
isSelected(java.awt.Component comp)
If this edit action is a toggle, returns if it is selected or not. |
boolean |
noRecord()
Returns if this edit action should not be recorded. |
boolean |
noRememberLast()
Returns if this edit action should not be remembered as the most recently invoked action. |
boolean |
noRepeat()
Returns if this edit action should not be repeated. |
| Methods inherited from class org.gjt.sp.jedit.EditAction |
getLabel, getMouseOverText, getName, getView, isToggle, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BeanShellAction(java.lang.String name,
java.lang.String code,
java.lang.String isSelected,
boolean noRepeat,
boolean noRecord,
boolean noRememberLast)
| Method Detail |
public void invoke(View view)
EditAction
invoke in class EditActionview - The viewpublic boolean isSelected(java.awt.Component comp)
EditAction
isSelected in class EditActioncomp - The componentpublic boolean noRepeat()
EditAction
noRepeat in class EditActionpublic boolean noRecord()
EditAction
noRecord in class EditActionpublic boolean noRememberLast()
noRememberLast in class EditActionpublic java.lang.String getCode()
EditAction
getCode in class EditAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||