public void execute() {

        final CmsSitemapController controller = getHoverbar().getController();
        final CmsUUID id = getHoverbar().getId();
        askForNewCategoryInfo(id, new AsyncCallback<CmsCategoryTitleAndName>() {

            public void onFailure(Throwable caught) {

                // do nothing
            }

            public void onSuccess(CmsCategoryTitleAndName result) {

                controller.createCategory(id, result.getTitle(), result.getName());
            }
        });

    }
public void execute ( ) { final CmsSitemapController controller = getHoverbar ( ) . getController ( ) ; final CmsUUID id = getHoverbar ( ) . getId ( ) ; askForNewCategoryInfo ( id , new AsyncCallback < CmsCategoryTitleAndName > ( ) { public void onFailure ( Throwable caught ) { } public void onSuccess ( CmsCategoryTitleAndName result ) { controller . createCategory ( id , result . getTitle ( ) , result . getName ( ) ) ; } } ) ; }
@see org.opencms.gwt.client.ui.contextmenu.I_CmsContextMenuEntry#execute()