use of org.csstudio.apputil.macros.MacroTable in project org.csstudio.display.builder by kasemir.
the class DataBrowserWidgedModel method getAllMacros.
/**
* @return All macros of this widget, including optional parent settings
*/
MacroTable getAllMacros() {
final Map<String, String> macros = new HashMap<String, String>();
final MacrosInput macro_input = getMacrosInput();
if (macro_input.isInclude_parent_macros())
macros.putAll(getParentMacroMap());
macros.putAll(macro_input.getMacrosMap());
return new MacroTable(macros);
}
Aggregations