de.miethxml.hawron.gui.context.action
Class MenuAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.miethxml.hawron.gui.context.action.MenuAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, RepositorySelectionListener, java.io.Serializable

public class MenuAction
extends javax.swing.AbstractAction
implements RepositorySelectionListener

Author:
Simon Mieth
See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
MenuAction(Action action)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void directorySelected(Reloadable model, FileModel directory)
           
 void fileSelected(Reloadable model, FileModel file)
           
 void setCheckSupportedExtensions(boolean check)
           
 void setFileSystemModel(RepositoryModel model)
           
 void unselect()
           
 
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
 

Constructor Detail

MenuAction

public MenuAction(Action action)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

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)

unselect

public void unselect()
Specified by:
unselect in interface RepositorySelectionListener

setCheckSupportedExtensions

public void setCheckSupportedExtensions(boolean check)