use of org.csstudio.opibuilder.properties.ActionsProperty in project yamcs-studio by yamcs.
the class BoolSwitchModel method configureProperties.
@Override
protected void configureProperties() {
super.configureProperties();
addProperty(new BooleanProperty(PROP_EFFECT3D, "3D Effect", WidgetPropertyCategory.Display, true));
removeProperty(PROP_ACTIONS);
addProperty(new ActionsProperty(PROP_ACTIONS, "Actions", WidgetPropertyCategory.Behavior, false));
// setPropertyDescription(PROP_PVNAME, "Readback PV");
}
use of org.csstudio.opibuilder.properties.ActionsProperty in project yamcs-studio by yamcs.
the class ImageBoolButtonModel method configureProperties.
@Override
protected void configureProperties() {
super.configureProperties();
addProperty(new FilePathProperty(PROP_ON_IMAGE, "On Image", WidgetPropertyCategory.Image, new Path(""), FILE_EXTENSIONS));
addProperty(new FilePathProperty(PROP_OFF_IMAGE, "Off Image", WidgetPropertyCategory.Image, new Path(""), FILE_EXTENSIONS));
addProperty(new BooleanProperty(PROP_STRETCH, "Stretch to Fit", WidgetPropertyCategory.Image, false));
addProperty(new BooleanProperty(PROP_AUTOSIZE, "Auto Size", WidgetPropertyCategory.Image, true));
addProperty(new BooleanProperty(PROP_NO_ANIMATION, "No Animation", WidgetPropertyCategory.Image, false));
addProperty(new BooleanProperty(PROP_ALIGN_TO_NEAREST_SECOND, "Animation aligned to the nearest second", WidgetPropertyCategory.Image, false));
removeProperty(PROP_ACTIONS);
addProperty(new ActionsProperty(PROP_ACTIONS, "Actions", WidgetPropertyCategory.Behavior, false));
setPropertyVisible(PROP_ON_COLOR, false);
setPropertyVisible(PROP_OFF_COLOR, false);
FigureTransparencyHelper.addProperty(this);
}
Aggregations