code: public void registerLayout(String path, String resource) throws Exception {
          Layout layout = LayoutParser.parseResource(resource);
          ElementUI parent = parentFromPath(path);
          
          if (parent != null) {
              layout.materialize(parent);
          }
      }
docs: Registers a layout at the specified path.
  
  @param path Format is &lt;tab name&gt;\&lt;tree node path&gt;
  @param resource Location of the xml layout.
  @throws Exception Unspecified exception.