use of org.csstudio.opibuilder.widgets.model.BoolSwitchModel in project yamcs-studio by yamcs.
the class BoolSwitchEditPart method doCreateFigure.
@Override
protected IFigure doCreateFigure() {
final BoolSwitchModel model = getWidgetModel();
BoolSwitchFigure boolSwitch = new BoolSwitchFigure();
initializeCommonFigureProperties(boolSwitch, model);
boolSwitch.setEffect3D(model.isEffect3D());
return boolSwitch;
}
Aggregations