// Item creation
status.setData(OPERATION_CALLED, "true");
if ((sourceNodeType.getItems() == null || sourceNodeType.getItems().size() == 0) &&
(sourceNodeType.getInheritedItems() == null ||
sourceNodeType.getInheritedItems().size() == 0)) {
service.createNode(parentPath, null, sourceNodeType.getName(), null, null,
new ArrayList<GWTJahiaNodeProperty>(), null, new BaseAsyncCallback<GWTJahiaNode>() {
public void onApplicationFailure(Throwable throwable) {
Window.alert("Properties save failed\n\n" + throwable.getLocalizedMessage());
Log.error("failed", throwable);
}