Search in sources :

Example 16 with ParameterEstimationTask

use of cbit.vcell.modelopt.ParameterEstimationTask in project vcell by virtualcell.

the class ParameterEstimationTaskPropertiesPanel method setParameterEstimationTask.

private void setParameterEstimationTask(ParameterEstimationTask newValue) {
    ParameterEstimationTask oldValue = fieldParameterEstimationTask;
    fieldParameterEstimationTask = newValue;
    /* Stop listening for events from the current object */
    if (oldValue != null) {
        oldValue.removePropertyChangeListener(eventHandler);
    }
    /* Listen for events from the new object */
    if (newValue != null) {
        newValue.addPropertyChangeListener(eventHandler);
        taskNameTextField.setText(fieldParameterEstimationTask.getName());
        annotationTextArea.setText(fieldParameterEstimationTask.getAnnotation());
    } else {
        taskNameTextField.setText(null);
        annotationTextArea.setText(null);
    }
}
Also used : ParameterEstimationTask(cbit.vcell.modelopt.ParameterEstimationTask)

Aggregations

ParameterEstimationTask (cbit.vcell.modelopt.ParameterEstimationTask)16 AnalysisTask (cbit.vcell.modelopt.AnalysisTask)4 BioEvent (cbit.vcell.mapping.BioEvent)3 SimulationContext (cbit.vcell.mapping.SimulationContext)3 SpatialObject (cbit.vcell.mapping.spatial.SpatialObject)3 SpatialProcess (cbit.vcell.mapping.spatial.processes.SpatialProcess)3 PropertyVetoException (java.beans.PropertyVetoException)3 Element (org.jdom.Element)3 ImageException (cbit.image.ImageException)2 DataSymbol (cbit.vcell.data.DataSymbol)2 GeometryException (cbit.vcell.geometry.GeometryException)2 RateRule (cbit.vcell.mapping.RateRule)2 ReactionRuleSpec (cbit.vcell.mapping.ReactionRuleSpec)2 ReactionSpec (cbit.vcell.mapping.ReactionSpec)2 SimulationContextParameter (cbit.vcell.mapping.SimulationContext.SimulationContextParameter)2 MathException (cbit.vcell.math.MathException)2 ModelException (cbit.vcell.model.ModelException)2 ExpressionBindingException (cbit.vcell.parser.ExpressionBindingException)2 ExpressionException (cbit.vcell.parser.ExpressionException)2 AnnotatedFunction (cbit.vcell.solver.AnnotatedFunction)2