use of org.csstudio.opibuilder.widgets.model.BoolButtonModel in project yamcs-studio by yamcs.
the class BoolButtonEditPart method doCreateFigure.
@Override
protected IFigure doCreateFigure() {
final BoolButtonModel model = getWidgetModel();
BoolButtonFigure btn = new BoolButtonFigure();
initializeCommonFigureProperties(btn, model);
btn.setEffect3D(model.isEffect3D());
btn.setSquareButton((model.isSquareButton()));
btn.setShowLED(model.isShowLED());
return btn;
}
Aggregations