Search in sources :

Example 1 with BorderStyle

use of org.csstudio.opibuilder.visualparts.BorderStyle in project yamcs-studio by yamcs.

the class AbstractWidgetModel method setBorderStyle.

public void setBorderStyle(BorderStyle borderStyle) {
    int i = 0;
    for (BorderStyle bs : BorderStyle.values()) {
        if (borderStyle == bs) {
            break;
        }
        i++;
    }
    setPropertyValue(PROP_BORDER_STYLE, i);
}
Also used : BorderStyle(org.csstudio.opibuilder.visualparts.BorderStyle) Point(org.eclipse.draw2d.geometry.Point)

Aggregations

BorderStyle (org.csstudio.opibuilder.visualparts.BorderStyle)1 Point (org.eclipse.draw2d.geometry.Point)1