| net.sourceforge.squirrel_sql.fw.datasetviewer.IDataSetUpdateableModel
IDataSetUpdateableModel | public interface IDataSetUpdateableModel (Code) | | author: gwg author: If the underlying data maintained by the application may be author: changed by the user through the framework interface, then the fw author: objects must be able to get back to the application objects to author: tell them what the change is. The signature of the method to be author: used to signal that change will depend on the type of underlying data author: (e.g. list, table, etc.), but the setup of the fw code from the author: application is done at a fairly high level, so that data type is not author: known at the time that the application object creates the fw objects. author: Therefore, we define this interface as a data type so that the application author: code (e.g. author: net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.BaseDataSetTab) author: may tell the fw code in author: net.sourceforge.squirrel_sql.fw.datasetviewer.DataSetScrollingPanel author: that the calling object is editable and must be saved in the fw author: objects for later reference. author: While this interface is defined within the fw object tree, it is author: actually for use by application objects. Thus, you will find the author: objects implementing this interface in the application tree, not here. author: The reason for this is that the fw code is intended to be reusable, so author: we need a reusable data type for making callbacks into the application, author: and that data type must be defined in fw. author: This interface must be extended by another interface that handles author: the actual call from fw to application to update the data. For example: author: net.sourceforge.squirrel_sql.fw.datasetviewer.IDataSetUpdateableTableModel author: is the interface used to update table objects. |
Method Summary | |
public boolean | editModeIsForced() The fw gui may need to query the application on whether it is in "forced edit" mode
or not. | public void | forceEditMode(boolean mode) The fw gui may contain hooks that let the user force the application
into editing mode, and this function is how the framework tells the application
to go into editing mode. |
editModeIsForced | public boolean editModeIsForced()(Code) | | The fw gui may need to query the application on whether it is in "forced edit" mode
or not.
|
forceEditMode | public void forceEditMode(boolean mode)(Code) | | The fw gui may contain hooks that let the user force the application
into editing mode, and this function is how the framework tells the application
to go into editing mode.
|
|
|