ca.sqlpower.architect.swingui.action
Class EditIndexAction

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

public abstract class EditIndexAction
extends AbstractArchitectAction

Abstract base class for the two different index edit actions. The protected method makeDialog(SQLIndex) gets used by subclasses once they've decided which index to edit.

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
protected EditIndexAction(ArchitectSwingSession session, java.lang.String actionName, java.lang.String actionDescription, java.lang.String iconResourceName)
           
 
Method Summary
protected  void makeDialog(SQLIndex index)
          Creates and shows the index properties dialog for the given index.
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

EditIndexAction

protected EditIndexAction(ArchitectSwingSession session,
                          java.lang.String actionName,
                          java.lang.String actionDescription,
                          java.lang.String iconResourceName)
Method Detail

makeDialog

protected void makeDialog(SQLIndex index)
                   throws ArchitectException
Creates and shows the index properties dialog for the given index.

Throws:
ArchitectException


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