コード例 #1
0
 public DatasetEditorModel(DatasetEditor datasetEditor) throws SQLException {
   super(datasetEditor.getConnectionHandler());
   this.datasetEditor = datasetEditor;
   this.datasetRef = DBObjectRef.from(datasetEditor.getDataset());
   this.settings = DataEditorSettings.getInstance(datasetEditor.getProject());
   setHeader(new DatasetEditorModelHeader(datasetEditor, null));
 }
コード例 #2
0
 @Nullable
 public DBDataset getDataset() {
   return DBObjectRef.get(datasetRef);
 }