/** * @param path * @return */ private boolean handleListDataMapping(Path path) { ListInputController listInputController = new ListInputController(path); formGenerator.addListComponent(getRootContainer(), path); getFullPathInputControllerMap().put("/" + path.getId(), listInputController); getTopLevelInputControllerMap().put(path.getId(), listInputController); return true; }
/** * @param path * @return */ private boolean handleEnumerationPath(Path path) { PrimitiveInputController inputController = new PrimitiveInputController(path, new PrimitiveInputControllerDataTypeAdapter(path)); FormInput input = formGenerator.addEnumerationInput(getRootContainer(), inputController); getRootContainer().getInputs().add(input); getFullPathInputControllerMap().put("/" + path.getId(), inputController); getTopLevelInputControllerMap().put(path.getId(), inputController); return true; }
/** * @param path * @return */ private boolean handleStructureDataMapping(Path path) { getTopLevelInputControllerMap() .put( path.getId(), formGenerator.generateStructurePanel( getFullPathInputControllerMap(), getRootContainer(), path)); return true; }