use of org.csstudio.opibuilder.widgets.model.ComboModel in project yamcs-studio by yamcs.
the class ComboEditPart method doCreateFigure.
/**
* {@inheritDoc}
*/
@Override
protected IFigure doCreateFigure() {
final ComboModel model = getWidgetModel();
updatePropSheet(model.isItemsFromPV());
ComboFigure comboFigure = new ComboFigure(this);
combo = comboFigure.getSWTWidget();
List<String> items = getWidgetModel().getItems();
updateCombo(items);
markAsControlPV(AbstractPVWidgetModel.PROP_PVNAME, AbstractPVWidgetModel.PROP_PVVALUE);
return comboFigure;
}
Aggregations