use of org.csstudio.opibuilder.properties.StringListProperty in project yamcs-studio by yamcs.
the class AbstractChoiceModel method configureProperties.
@Override
protected void configureProperties() {
addProperty(new StringListProperty(PROP_ITEMS, "Items", WidgetPropertyCategory.Behavior, Arrays.asList(DEFAULT_ITEMS)));
addProperty(new BooleanProperty(PROP_ITEMS_FROM_PV, "Items From PV", WidgetPropertyCategory.Behavior, true));
addProperty(new ColorProperty(PROP_SELECTED_COLOR, "Selected Color", WidgetPropertyCategory.Display, DEFAULT_SELECTED_COLOR));
addProperty(new BooleanProperty(PROP_HORIZONTAL, "Horizontal", WidgetPropertyCategory.Display, false));
}
use of org.csstudio.opibuilder.properties.StringListProperty in project yamcs-studio by yamcs.
the class ByteMonitorModel method configureProperties.
/* (non-Javadoc)
* @see org.csstudio.opibuilder.model.AbstractWidgetModel#configureProperties()
*/
@Override
protected void configureProperties() {
addProperty(new IntegerProperty(PROP_NUM_BITS, "Number of Bits", WidgetPropertyCategory.Display, 16, 0, 64));
addProperty(new IntegerProperty(PROP_START_BIT, "Start Bit", WidgetPropertyCategory.Display, 0, 0, 64));
addProperty(new BooleanProperty(PROP_HORIZONTAL, "Horizontal", WidgetPropertyCategory.Display, true));
addProperty(new BooleanProperty(PROP_BIT_REVERSE, "Reverse Bits", WidgetPropertyCategory.Display, false));
addProperty(new ColorProperty(PROP_ON_COLOR, "On Color", WidgetPropertyCategory.Display, DEFAULT_ON_COLOR));
addProperty(new ColorProperty(PROP_OFF_COLOR, "Off Color", WidgetPropertyCategory.Display, DEFAULT_OFF_COLOR));
addProperty(new BooleanProperty(PROP_SQUARE_LED, "Square LED", WidgetPropertyCategory.Display, false));
addProperty(new BooleanProperty(PROP_EFFECT3D, "3D Effect", WidgetPropertyCategory.Display, true));
addProperty(new StringListProperty(PROP_LABELS, "Labels", WidgetPropertyCategory.Display, new ArrayList<String>()));
addProperty(new IntegerProperty(PROP_LED_BORDER, "LED border", WidgetPropertyCategory.Display, DEFAULT_LED_BORDER));
addProperty(new ColorProperty(PROP_LED_BORDER_COLOR, "LED border color", WidgetPropertyCategory.Display, DEFAULT_LED_BORDER_COLOR.getRGB()));
addProperty(new BooleanProperty(PROP_PACK_LEDS, "Pack LEDs", WidgetPropertyCategory.Display, false));
}
use of org.csstudio.opibuilder.properties.StringListProperty in project yamcs-studio by yamcs.
the class ComboModel method configureProperties.
@Override
protected void configureProperties() {
addProperty(new StringListProperty(PROP_ITEMS, "Items", WidgetPropertyCategory.Behavior, new ArrayList<String>()));
addProperty(new BooleanProperty(PROP_ITEMS_FROM_PV, "Items From PV", WidgetPropertyCategory.Behavior, false));
}
Aggregations