public class Actions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.event.ActionListener |
COPY |
static java.awt.event.ActionListener |
CUT |
static Find |
FIND
The "find" action listener.
|
static FindAgain |
FIND_AGAIN
The "find again" action listener.
|
static java.awt.event.ActionListener |
PASTE |
static Replace |
REPLACE
The "replace" action listener.
|
Constructor and Description |
---|
Actions(ScriptEditControl control)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
refresh()
Refreshes the enable/disable state of all menus.
|
void |
scriptEditClose()
Action for "close".
|
void |
scriptEditCloseAll()
Action for "close all".
|
void |
scriptEditCopy()
Action for "copy".
|
void |
scriptEditCut()
Action for "cut".
|
void |
scriptEditFind()
Action for "find".
|
void |
scriptEditFindAgain()
Action for "find again".
|
void |
scriptEditNewScript()
Action for "new script".
|
void |
scriptEditOpen()
Action for "open".
|
void |
scriptEditPaste()
Action for "paste".
|
void |
scriptEditReplace()
Action for "replace".
|
void |
scriptEditSave()
Action for "save".
|
void |
scriptEditSaveAs()
Action for "save as".
|
public static final java.awt.event.ActionListener COPY
public static final java.awt.event.ActionListener CUT
public static final java.awt.event.ActionListener PASTE
public static final Find FIND
public static final Replace REPLACE
public static final FindAgain FIND_AGAIN
public Actions(@NotNull ScriptEditControl control)
control
- The controller to forward to.@ActionMethod public void scriptEditNewScript()
@ActionMethod public void scriptEditOpen()
@ActionMethod public void scriptEditSaveAs()
@ActionMethod public void scriptEditSave()
@ActionMethod public void scriptEditClose()
@ActionMethod public void scriptEditCloseAll()
@ActionMethod public void scriptEditCut()
@ActionMethod public void scriptEditCopy()
@ActionMethod public void scriptEditPaste()
@ActionMethod public void scriptEditFind()
@ActionMethod public void scriptEditReplace()
@ActionMethod public void scriptEditFindAgain()
public void refresh()