src/main/java/org/efaps/ui/wicket/models/objects/UIStructurBrowser.java
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;
    }
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.

@param _instance     Instance
@param _strucBrwsr   StructurBrowser the values will be copied from
@return UIStructurBrowser
@throws EFapsException on error