com.ibm.dse.tools.workbench.gui
Class VersionExplorerActionListener

java.lang.Object
  |
  +--com.ibm.dse.tools.workbench.gui.VersionExplorerActionListener

public class VersionExplorerActionListener
extends java.lang.Object
implements ActionVariables, CommonParameters, java.awt.event.ActionListener, DWChangeNotifier

This class is a listener for actions performed on a versions explorer


Fields inherited from interface com.ibm.dse.tools.workbench.gui.ActionVariables
CMD_ADD_TO_WORKSPACE, CMD_CHANGE_REPOSITORY, CMD_CHANGE_WORKSPACE, CMD_CLONE, CMD_CONNECT_REPOSITORY, CMD_COPY, CMD_CREATE_OPEN_EDITION, CMD_CUT, CMD_DELETE, CMD_DISCONNECT_REPOSITORY, CMD_EXIT, CMD_IMPORT_FILE, CMD_LAUNCH_SPECIFIC_WIZARD, CMD_MORPH_INTO, CMD_MOVE, CMD_OPEN_DOMAINS_EXPLORER, CMD_OPEN_FILE, CMD_OPEN_REPOSITORY_EXPLORER, CMD_OPEN_SETTINGS_WIZARD, CMD_OPEN_TO_EDITIONS, CMD_PASTE, CMD_REFRESH_WORKSPACE, CMD_RELOAD_ENVIRONMENT, CMD_SELECT_ALL, CMD_SHOW_CONSOLE, CMD_SHOW_VERSION, CMD_UNDO, CMD_VERSION
 
Fields inherited from interface com.ibm.dse.tools.workbench.gui.CommonParameters
CHANGE_LISTENER, CONTAINER_GROUPS, CURRENT_GROUP, PARENT_ROW, REPOSITORY, ROW_SELECTION_COUNT, SELECTED_PARENT_ROWS, SELECTED_ROWS, WIZARD_PARAM, WORKSPACE
 
Constructor Summary
VersionExplorerActionListener()
          This constructor creates a VersionExplorerActionListener object
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method dispatch the action event.
 void addChangeListener(DWChangeListener listener)
          To add a listener to the listeners list
protected  void fireStateChanged(Repository repositoryChanged)
          To tell to the listener that a event has occurred.
 void removeChangeListener(DWChangeListener listener)
          To remove a listener of the list of listeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionExplorerActionListener

public VersionExplorerActionListener()
This constructor creates a VersionExplorerActionListener object
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This method dispatch the action event.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
event - java.event.ActionEvent

addChangeListener

public void addChangeListener(DWChangeListener listener)
To add a listener to the listeners list
Specified by:
addChangeListener in interface DWChangeNotifier
Parameters:
listener - DWChangeListener the listener

fireStateChanged

protected void fireStateChanged(Repository repositoryChanged)
To tell to the listener that a event has occurred. This event is becouse a Table Row has changed
Parameters:
repositoryChanged - Repository The repository that has changed.

removeChangeListener

public void removeChangeListener(DWChangeListener listener)
To remove a listener of the list of listeners
Specified by:
removeChangeListener in interface DWChangeNotifier
Parameters:
listener - DWChangeListener the listnener that has to be removed