de.uni_paderborn.fujaba.app.action
Class OpenRecentProjectAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.uni_paderborn.fujaba.app.action.ProjectNotSavedAction
          extended byde.uni_paderborn.fujaba.app.action.OpenRecentProjectAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, de.upb.lib.userinterface.ElementInitializer, java.util.EventListener, java.io.Serializable

public class OpenRecentProjectAction
extends ProjectNotSavedAction
implements de.upb.lib.userinterface.ElementInitializer

Open recent project from filelist

Version:
$Revision: 1.9 $
Author:
$Author: schneider $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  java.io.File file
          File to be opened with this Action
private static org.apache.log4j.Logger log
          log4j logging
private  javax.swing.JMenuItem menuItem
          putValue doesn't work well for other attribs than name, so this is a fix...
 
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
OpenRecentProjectAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          No comment provided by developer, please add a comment to improve documentation.
 java.io.File getFile()
          Get the file attribute of the OpenRecentProjectAction object
 void initialize(javax.swing.JComponent item, java.lang.Object source)
          No comment provided by developer, please add a comment to improve documentation.
 void setFile(java.io.File file)
          Sets the file attribute of the OpenRecentProjectAction object
 
Methods inherited from class de.uni_paderborn.fujaba.app.action.ProjectNotSavedAction
confirmDialog
 
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
 

Field Detail

log

private static final transient org.apache.log4j.Logger log
log4j logging


file

private java.io.File file
File to be opened with this Action


menuItem

private javax.swing.JMenuItem menuItem
putValue doesn't work well for other attribs than name, so this is a fix...

Constructor Detail

OpenRecentProjectAction

public OpenRecentProjectAction()
Method Detail

setFile

public void setFile(java.io.File file)
Sets the file attribute of the OpenRecentProjectAction object

Parameters:
file - The new file value

getFile

public java.io.File getFile()
Get the file attribute of the OpenRecentProjectAction object

Returns:
The file value

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - No description provided

initialize

public void initialize(javax.swing.JComponent item,
                       java.lang.Object source)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
initialize in interface de.upb.lib.userinterface.ElementInitializer
Parameters:
item - No description provided
source - No description provided