Package cern.accsoft.steering.aloha.meas
Class MeasurementManager.ModelDelegateInstance
- java.lang.Object
-
- cern.accsoft.steering.aloha.meas.MeasurementManager.ModelDelegateInstance
-
- Enclosing interface:
- MeasurementManager
public static class MeasurementManager.ModelDelegateInstance extends java.lang.ObjectThis class is a helper class which holds one model instance and references to measurements which use the one instance. This is intended to be a temporal description and shall not be kept as reference in order to avoid have unnecessary references to models and measurements. This class is mainly intended to be shown in a combo-box for selecting an existing instance.
-
-
Constructor Summary
Constructors Constructor Description ModelDelegateInstance(ModelDelegate modelDelegate)the constructor, which needs a model to which this instance belongs to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMeasurementName(Measurement measurement)adds a measurement.ModelDelegategetModelDelegate()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ModelDelegateInstance
public ModelDelegateInstance(ModelDelegate modelDelegate)
the constructor, which needs a model to which this instance belongs to.- Parameters:
modelDelegate-
-
-
Method Detail
-
addMeasurementName
public void addMeasurementName(Measurement measurement)
adds a measurement.- Parameters:
measurement-
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getModelDelegate
public ModelDelegate getModelDelegate()
-
-