ca.sqlpower.architect.undo
Class SQLObjectChildren

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by ca.sqlpower.architect.undo.SQLObjectChildren
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit
Direct Known Subclasses:
SQLObjectInsertChildren, SQLObjectRemoveChildren

public abstract class SQLObjectChildren
extends javax.swing.undo.AbstractUndoableEdit

See Also:
Serialized Form

Field Summary
protected  SQLObjectEvent e
           
protected  java.lang.String toolTip
           
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
SQLObjectChildren()
           
 
Method Summary
 void addChildren()
           
 boolean canRedo()
           
 boolean canUndo()
           
 void createEditFromEvent(SQLObjectEvent event)
           
abstract  void createToolTip()
           
 java.lang.String getPresentationName()
           
 void removeChildren()
           
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, toString, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e

protected SQLObjectEvent e

toolTip

protected java.lang.String toolTip
Constructor Detail

SQLObjectChildren

public SQLObjectChildren()
Method Detail

createEditFromEvent

public void createEditFromEvent(SQLObjectEvent event)

createToolTip

public abstract void createToolTip()

removeChildren

public void removeChildren()

addChildren

public void addChildren()
                 throws ArchitectException
Throws:
ArchitectException

canRedo

public boolean canRedo()
Specified by:
canRedo in interface javax.swing.undo.UndoableEdit
Overrides:
canRedo in class javax.swing.undo.AbstractUndoableEdit

canUndo

public boolean canUndo()
Specified by:
canUndo in interface javax.swing.undo.UndoableEdit
Overrides:
canUndo in class javax.swing.undo.AbstractUndoableEdit

getPresentationName

public java.lang.String getPresentationName()
Specified by:
getPresentationName in interface javax.swing.undo.UndoableEdit
Overrides:
getPresentationName in class javax.swing.undo.AbstractUndoableEdit


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