org.gjt.sp.jedit
Class Macros.Macro
java.lang.Object
org.gjt.sp.jedit.EditAction
org.gjt.sp.jedit.Macros.Macro
- Enclosing class:
- Macros
- public static class Macros.Macro
- extends EditAction
Encapsulates the macro's label, name and path.
- Since:
- jEdit 2.2pre4
Macros.Macro
public Macros.Macro(Macros.Handler handler,
String name,
String label,
String path)
getHandler
public Macros.Handler getHandler()
getPath
public String getPath()
invoke
public void invoke(View view)
- Description copied from class:
EditAction
- Invokes the action.
- Overrides:
invoke
in class EditAction
- Parameters:
view
- The view
getCode
public String getCode()
- Description copied from class:
EditAction
- Returns the BeanShell code that will replay this action.
- Specified by:
getCode
in class EditAction
macroNameToLabel
public static String macroNameToLabel(String macroName)