de.miethxml.hawron.gui.context.editor
Class EditorAction
java.lang.Object
javax.swing.AbstractAction
de.miethxml.hawron.gui.context.editor.EditorAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, EditorCloseListener, java.util.EventListener, RepositorySelectionListener, java.io.Serializable
- public class EditorAction
- extends javax.swing.AbstractAction
- implements EditorCloseListener, RepositorySelectionListener
- Author:
- Simon Mieth
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditorAction
public EditorAction()
EditorAction
public EditorAction(java.lang.String name)
- Parameters:
name -
EditorAction
public EditorAction(java.lang.String name,
javax.swing.Icon icon)
- Parameters:
name - icon -
EditorAction
public EditorAction(Editor editor)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
close
public void close(CacheableEditor editor)
- Specified by:
close in interface EditorCloseListener
directorySelected
public void directorySelected(Reloadable model,
FileModel directory)
- Specified by:
directorySelected in interface RepositorySelectionListener
fileSelected
public void fileSelected(Reloadable model,
FileModel file)
- Specified by:
fileSelected in interface RepositorySelectionListener
setFileSystemModel
public void setFileSystemModel(RepositoryModel model)
getToolTip
public java.lang.String getToolTip()
destroy
public void destroy()
unselect
public void unselect()
- Specified by:
unselect in interface RepositorySelectionListener
isCheckSupportedExtensions
public boolean isCheckSupportedExtensions()
- Returns:
- Returns the supportAll.
setCheckSupportedExtensions
public void setCheckSupportedExtensions(boolean check)