use of cbit.vcell.clientdb.DocumentManager in project vcell by virtualcell.
the class DatabaseWindowManager method initializeAll.
/**
* Insert the method's description here.
* Creation date: (5/14/2004 5:28:23 PM)
*/
public void initializeAll() {
AsynchClientTask task1 = new AsynchClientTask("initializeAll", AsynchClientTask.TASKTYPE_SWING_NONBLOCKING) {
@Override
public void run(Hashtable<String, Object> hashTable) throws Exception {
try {
DocumentManager documentManager = getRequestManager().getDocumentManager();
getBioModelDbTreePanel().setDocumentManager(documentManager);
getMathModelDbTreePanel().setDocumentManager(documentManager);
getGeometryTreePanel().setDocumentManager(documentManager);
// getDatabaseWindowPanel().setDocumentManager(documentManager);
// getImageBrowser().getImageDbTreePanel1().setDocumentManager(documentManager);
} catch (Throwable exc) {
exc.printStackTrace(System.out);
}
}
};
ClientTaskDispatcher.dispatch(null, new Hashtable<String, Object>(), new AsynchClientTask[] { task1 });
}
use of cbit.vcell.clientdb.DocumentManager in project vcell by virtualcell.
the class TestingFrameworkWindowManager method initializeAllPanels.
/**
* Insert the method's description here.
* Creation date: (5/14/2004 5:28:23 PM)
*/
public void initializeAllPanels() {
AsynchClientTask task1 = new AsynchClientTask("initializeAllPanels", AsynchClientTask.TASKTYPE_SWING_NONBLOCKING) {
@Override
public void run(Hashtable<String, Object> hashTable) throws Exception {
try {
DocumentManager documentManager = getRequestManager().getDocumentManager();
getTestingFrameworkWindowPanel().setDocumentManager(documentManager);
getAddTestSuitePanel().setTestingFrameworkWindowManager(TestingFrameworkWindowManager.this);
getTestCaseAddPanel().setTestingFrameworkWindowManager(TestingFrameworkWindowManager.this);
getEditTestCriteriaPanel().setTestingFrameworkWindowManager(TestingFrameworkWindowManager.this);
} catch (Throwable exc) {
exc.printStackTrace(System.out);
}
}
};
ClientTaskDispatcher.dispatch(null, new Hashtable<String, Object>(), new AsynchClientTask[] { task1 });
}
use of cbit.vcell.clientdb.DocumentManager in project vcell by virtualcell.
the class BioModelEditor method setBioModelWindowManager.
/**
* Insert the method's description here.
* Creation date: (5/7/2004 5:40:13 PM)
* @param newBioModelWindowManager cbit.vcell.client.desktop.BioModelWindowManager
*/
public void setBioModelWindowManager(BioModelWindowManager bioModelWindowManager) {
if (this.bioModelWindowManager == bioModelWindowManager) {
return;
}
this.bioModelWindowManager = bioModelWindowManager;
bioModelsNetPanel.setDocumentWindowManager(bioModelWindowManager);
getBioModelsNetPropertiesPanel().setDocumentWindowManager(bioModelWindowManager);
bioModelPropertiesPanel.setBioModelWindowManager(bioModelWindowManager);
bioModelParametersPanel.setBioModelWindowManager(bioModelWindowManager);
DatabaseWindowManager dbWindowManager = new DatabaseWindowManager(databaseWindowPanel, bioModelWindowManager.getRequestManager());
databaseWindowPanel.setDatabaseWindowManager(dbWindowManager);
DocumentManager documentManager = bioModelWindowManager.getRequestManager().getDocumentManager();
databaseWindowPanel.setDocumentManager(documentManager);
bioModelEditorModelPanel.setDocumentManager(documentManager);
geometryMetaDataPanel.setDocumentManager(documentManager);
bioModelEditorApplicationPanel.setBioModelWindowManager(bioModelWindowManager);
}
use of cbit.vcell.clientdb.DocumentManager in project vcell by virtualcell.
the class DatabaseWindowPanel method setDocumentManager.
/**
* Sets the documentManager property (cbit.vcell.clientdb.DocumentManager) value.
* @param documentManager The new value for the property.
* @see #getDocumentManager
*/
public void setDocumentManager(DocumentManager documentManager) {
DocumentManager oldValue = fieldDocumentManager;
fieldDocumentManager = documentManager;
firePropertyChange(CommonTask.DOCUMENT_MANAGER.name, oldValue, documentManager);
}
use of cbit.vcell.clientdb.DocumentManager in project vcell by virtualcell.
the class TestingFrameworkPanel method setDocumentManager.
/**
* Sets the documentManager property (cbit.vcell.clientdb.DocumentManager) value.
* @param documentManager The new value for the property.
* @see #getDocumentManager
*/
public void setDocumentManager(DocumentManager documentManager) {
DocumentManager oldValue = fieldDocumentManager;
fieldDocumentManager = documentManager;
firePropertyChange(CommonTask.DOCUMENT_MANAGER.name, oldValue, documentManager);
}
Aggregations