ca.sqlpower.architect.swingui
Class RelationshipEditPanel
java.lang.Object
ca.sqlpower.architect.swingui.RelationshipEditPanel
- All Implemented Interfaces:
- SQLObjectListener, ca.sqlpower.swingui.DataEntryPanel
public class RelationshipEditPanel
- extends java.lang.Object
- implements SQLObjectListener, ca.sqlpower.swingui.DataEntryPanel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelationshipEditPanel
public RelationshipEditPanel(ArchitectSwingSession session)
setRelationship
public void setRelationship(SQLRelationship r)
applyChanges
public boolean applyChanges()
- Specified by:
applyChanges in interface ca.sqlpower.swingui.DataEntryPanel
discardChanges
public void discardChanges()
- Specified by:
discardChanges in interface ca.sqlpower.swingui.DataEntryPanel
getPanel
public javax.swing.JPanel getPanel()
- Specified by:
getPanel in interface ca.sqlpower.swingui.DataEntryPanel
hasUnsavedChanges
public boolean hasUnsavedChanges()
- Specified by:
hasUnsavedChanges in interface ca.sqlpower.swingui.DataEntryPanel
dbChildrenInserted
public void dbChildrenInserted(SQLObjectEvent e)
- Specified by:
dbChildrenInserted in interface SQLObjectListener
dbChildrenRemoved
public void dbChildrenRemoved(SQLObjectEvent e)
- Checks to see if its respective relationship is removed from
playpen. If yes, exit the editing dialog window.
- Specified by:
dbChildrenRemoved in interface SQLObjectListener
dbObjectChanged
public void dbObjectChanged(SQLObjectEvent e)
- Specified by:
dbObjectChanged in interface SQLObjectListener
dbStructureChanged
public void dbStructureChanged(SQLObjectEvent e)
- Specified by:
dbStructureChanged in interface SQLObjectListener
setEditDialog
public void setEditDialog(javax.swing.JDialog editDialog)
Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca