protected UIStructurBrowser getNewStructurBrowser ( final Instance _instance , final UIStructurBrowser _strucBrwsr ) throws EFapsException { final UUID uuid ; if ( _strucBrwsr . getTable ( ) == null ) { uuid = Menu . getTypeTreeMenu ( _instance . getType ( ) ) . getUUID ( ) ; } else { uuid = _strucBrwsr . getCommandUUID ( ) ; } final UIStructurBrowser ret = new UIStructurBrowser ( uuid , _instance == null ? null : _instance . getKey ( ) , false , _strucBrwsr . getSortDirection ( ) ) ; ret . setParentBrws ( this ) ; ret . setLevel ( getLevel ( ) + 1 ) ; return ret ; }
Internal method to call a constructor it is used to set that this StructurBrowserModel is not a root .