ca.sqlpower.architect.swingui.action
Class EditSpecificIndexAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ca.sqlpower.architect.swingui.action.AbstractArchitectAction
          extended by ca.sqlpower.architect.swingui.action.EditIndexAction
              extended by ca.sqlpower.architect.swingui.action.EditSpecificIndexAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class EditSpecificIndexAction
extends EditIndexAction

An action that, when invoked, pops up the IndexEditPanel for a certain pre-determined index.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.sqlpower.architect.swingui.action.AbstractArchitectAction
frame, playpen, session
 
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
EditSpecificIndexAction(ArchitectSwingSession session, SQLIndex index)
          Creates a new instance of this action which will pop up an IndexEditPanel for the given index, regardless of the current selection.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 
Methods inherited from class ca.sqlpower.architect.swingui.action.EditIndexAction
makeDialog
 
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

EditSpecificIndexAction

public EditSpecificIndexAction(ArchitectSwingSession session,
                               SQLIndex index)
Creates a new instance of this action which will pop up an IndexEditPanel for the given index, regardless of the current selection. For a selection-sensitive index edit action, see ArchitectFrame.getEditIndexAction().

Parameters:
session - The session to which this action belongs.
index - The index this action instance will edit. Cannot be modified once this action is constructed.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca