use of kutch.biff.marvin.task.PromptManager in project Board-Instrumentation-Framework by intel.
the class ConfigurationReader method ReadPrompt.
public static boolean ReadPrompt(FrameworkNode promptNode) {
PromptManager PROMPTMAN = PromptManager.getPromptManager();
boolean retVal = true;
Utility.ValidateAttributes(new String[] { "ID", "Type", "Height", "Width" }, promptNode);
if (false == promptNode.hasAttribute("ID")) {
LOGGER.warning("Prompt defined with no ID, ignoring");
retVal = false;
} else if (false == PROMPTMAN.CreatePromptObject(promptNode.getAttribute("ID"), promptNode)) {
retVal = false;
}
return retVal;
}
Aggregations