com.github.croesch.micro_debug.gui.actions
Class Mic1CreatingAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.github.croesch.micro_debug.gui.actions.Mic1CreatingAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public final class Mic1CreatingAction
extends AbstractAction

Action that passes the file paths fetched from an IBinaryFilePathProvider to an IMic1Creator.

Since:
Date: Mar 9, 2012
Author:
croesch
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
Mic1CreatingAction(IMic1Creator creator, IBinaryFilePathProvider filePathProvider, GuiText text)
          Creates an action that'll fetch the file paths from the given IBinaryFilePathProvider and pass them to the given IMic1Creator.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Fetches the file paths from IBinaryFilePathProvider and passes them to the IMic1Creator.
 
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

Mic1CreatingAction

public Mic1CreatingAction(IMic1Creator creator,
                          IBinaryFilePathProvider filePathProvider,
                          GuiText text)
Creates an action that'll fetch the file paths from the given IBinaryFilePathProvider and pass them to the given IMic1Creator.

Parameters:
creator - the IMic1Creator to receive the file paths
filePathProvider - the IBinaryFilePathProvider to fetch the file paths from
text - the text of the action
Since:
Date: Mar 9, 2012
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Fetches the file paths from IBinaryFilePathProvider and passes them to the IMic1Creator.

Parameters:
e - the ActionEvent that caused this action
Since:
Date: Mar 9, 2012


Copyright © 2012. All Rights Reserved.