public void registerLayout ( String path , String resource ) throws Exception { Layout layout = LayoutParser . parseResource ( resource ) ; ElementUI parent = parentFromPath ( path ) ; if ( parent != null ) { layout . materialize ( parent ) ; } }
Registers a layout at the specified path .