T-Plan Robot Enterprise 3.5.2
Build No. 3.5.2-20140701.1

com.tplan.robot.gui.components
Class SafeStartAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.tplan.robot.gui.components.SafeStartAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class SafeStartAction
extends AbstractAction

Action allowing to reset the user configuration and restart in a clean-install way.

See Also:
Serialized Form

T-Plan Robot Enterprise, (C) 2009-2014 T-Plan Limited. All rights reserved.


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
SafeStartAction(Component owner, JButton continueButton)
          Constructor.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
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

SafeStartAction

public SafeStartAction(Component owner,
                       JButton continueButton)
Constructor.

Parameters:
owner - owner (window) of this action. If the argument is not null a descriptive message describing the reset process will be shown.
continueButton - an optional button to click using AbstractButton.doClick() when the reset is completed. If the button is null the action will restart the whole application.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

T-Plan Robot Enterprise 3.5.2
Build No. 3.5.2-20140701.1