public class OpenScriptAction 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 |
---|
OpenScriptAction(ScriptMenu menu,
CliGuiContext cliGuiCtx,
File file) |
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 OpenScriptAction(ScriptMenu menu, CliGuiContext cliGuiCtx, File file)
public void actionPerformed(ActionEvent e)
ScriptAction
actionPerformed
in interface ActionListener
actionPerformed
in class ScriptAction
Copyright © 2023 JBoss by Red Hat. All rights reserved.