public class ChooseScriptAction extends ScriptAction
ScriptAction.ScriptRunner
cliGuiCtx
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
ChooseScriptAction(ScriptMenu menu,
CliGuiContext cliGuiCtx) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Subclasses should override this method and then call runScript() when a script File
is determined.
|
runScript
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public ChooseScriptAction(ScriptMenu menu, CliGuiContext cliGuiCtx)
public void actionPerformed(ActionEvent e)
ScriptAction
actionPerformed
in interface ActionListener
actionPerformed
in class ScriptAction
Copyright © 2023 JBoss by Red Hat. All rights reserved.