Package db
Interface DBListener
- All Known Implementing Classes:
AddressRangeMapDB
public interface DBListener
Database Listener.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDatabase has been closedvoiddbRestored(DBHandle dbh) Provides notification that an undo or redo was performed.voidtableAdded(DBHandle dbh, Table table) Provides notification that a table was added.voidtableDeleted(DBHandle dbh, Table table) Provides notification that a table was deleted.
-
Method Details
-
dbRestored
Provides notification that an undo or redo was performed. During the restore processtableAdded(DBHandle, Table)andtableDeleted(DBHandle, Table)notifications will be supressed. Any listener concerned with tables added or removed should reacquire their table(s).- Parameters:
dbh- associated database handle
-
dbClosed
Database has been closed- Parameters:
dbh- associated database handle
-
tableDeleted
Provides notification that a table was deleted. The state of the database may still be in transition and should not be accessed by this callback method.- Parameters:
dbh- associated database handletable-
-
tableAdded
Provides notification that a table was added. The state of the database may still be in transition and should not be accessed by this callback method.- Parameters:
dbh- associated database handletable-
-