use of org.csstudio.opibuilder.widgets.model.TankModel in project yamcs-studio by yamcs.
the class TankEditPart method doCreateFigure.
/**
* {@inheritDoc}
*/
@Override
protected IFigure doCreateFigure() {
TankModel model = getWidgetModel();
TankFigure tank = new TankFigure();
initializeCommonFigureProperties(tank, model);
tank.setFillColor(model.getFillColor());
tank.setEffect3D(model.isEffect3D());
tank.setFillBackgroundColor(model.getFillbackgroundColor());
return tank;
}
Aggregations