public void execute() {

        CmsClientSitemapEntry entry = getHoverbar().getEntry();
        final CmsUUID id = entry.getId();
        CmsRpcAction<CmsModelInfo> action = new CmsRpcAction<CmsModelInfo>() {

            @Override
            public void execute() {

                start(0, true);
                getHoverbar().getController().getService().setDefaultModel(
                    getHoverbar().getController().getData().getRoot().getId(),
                    id,
                    this);
            }

            @Override
            protected void onResponse(CmsModelInfo result) {

                stop(false);
                CmsSitemapView.getInstance().displayModelPages(result);
                getHoverbar().getController().loadNewElementInfo(null);
            }

        };
        action.execute();
    }
public void execute ( ) { CmsClientSitemapEntry entry = getHoverbar ( ) . getEntry ( ) ; final CmsUUID id = entry . getId ( ) ; CmsRpcAction < CmsModelInfo > action = new CmsRpcAction < CmsModelInfo > ( ) { @ Override public void execute ( ) { start ( 0 , true ) ; getHoverbar ( ) . getController ( ) . getService ( ) . setDefaultModel ( getHoverbar ( ) . getController ( ) . getData ( ) . getRoot ( ) . getId ( ) , id , this ) ; } @ Override protected void onResponse ( CmsModelInfo result ) { stop ( false ) ; CmsSitemapView . getInstance ( ) . displayModelPages ( result ) ; getHoverbar ( ) . getController ( ) . loadNewElementInfo ( null ) ; } } ; action . execute ( ) ; }
@see org.opencms.gwt.client.ui.contextmenu.I_CmsContextMenuEntry#execute()