use of org.csstudio.opibuilder.properties.MacrosProperty in project yamcs-studio by yamcs.
the class OpenDisplayAction method configureProperties.
@Override
protected void configureProperties() {
addProperty(new FilePathProperty(PROP_PATH, "File Path", WidgetPropertyCategory.Basic, new Path(""), new String[] { "opi" }, false) {
@Override
public Object readValueFromXML(Element propElement) {
handleLegacySettings(propElement);
return super.readValueFromXML(propElement);
}
});
addProperty(new MacrosProperty(PROP_MACROS, "Macros", WidgetPropertyCategory.Basic, new MacrosInput(new LinkedHashMap<String, String>(), true)));
addProperty(new ComboProperty(PROP_MODE, "Mode", WidgetPropertyCategory.Basic, DisplayMode.stringValues(), DisplayMode.REPLACE.ordinal()));
}
use of org.csstudio.opibuilder.properties.MacrosProperty in project yamcs-studio by yamcs.
the class AbstractContainerModel method configureBaseProperties.
@Override
protected void configureBaseProperties() {
super.configureBaseProperties();
addProperty(new MacrosProperty(PROP_MACROS, "Macros", WidgetPropertyCategory.Basic, new MacrosInput(new LinkedHashMap<String, String>(), true)));
}
Aggregations