ca.sqlpower.architect.swingui.action
Class EditColumnAction

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

public class EditColumnAction
extends AbstractArchitectAction
implements SelectionListener

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.sqlpower.architect.swingui.action.AbstractArchitectAction
frame, playpen
 
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
EditColumnAction(ArchitectSwingSession session)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void itemDeselected(SelectionEvent e)
          Called whenever an item is deselected.
 void itemSelected(SelectionEvent e)
          Called whenever an item is selected.
protected  void showDialog(SQLTable st, int colIdx)
           
protected  void showDialog(SQLTable st, int colIdx, boolean addToTable, TablePane tp)
           
 
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

EditColumnAction

public EditColumnAction(ArchitectSwingSession session)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

showDialog

protected void showDialog(SQLTable st,
                          int colIdx)
                   throws ArchitectException
Throws:
ArchitectException

showDialog

protected void showDialog(SQLTable st,
                          int colIdx,
                          boolean addToTable,
                          TablePane tp)
                   throws ArchitectException
Throws:
ArchitectException

itemSelected

public void itemSelected(SelectionEvent e)
Description copied from interface: SelectionListener
Called whenever an item is selected. The selected item is the event's source.

Specified by:
itemSelected in interface SelectionListener

itemDeselected

public void itemDeselected(SelectionEvent e)
Description copied from interface: SelectionListener
Called whenever an item is deselected. The deselected item is the event's source.

Specified by:
itemDeselected in interface SelectionListener


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