Package mars.venus.actions.file
Class FileOpenAction
java.lang.Object
javax.swing.AbstractAction
mars.venus.actions.VenusAction
mars.venus.actions.file.FileOpenAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Action for the File -> Open menu item.
- See Also:
-
Field Summary
Fields inherited from class mars.venus.actions.VenusAction
gui, shortcutFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) Launch a file chooser for the user to select one or more files, attempting to open them in new editor tabs afterward.Methods inherited from class mars.venus.actions.VenusAction
getGUI, getName, getShortcut, registerShortcut, updateMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
FileOpenAction
-
-
Method Details
-
actionPerformed
Launch a file chooser for the user to select one or more files, attempting to open them in new editor tabs afterward.- Specified by:
actionPerformedin interfaceActionListener- Specified by:
actionPerformedin classVenusAction- Parameters:
event- component triggering this call
-