public void onToolbarActivate() {

        Document.get().getBody().addClassName(I_CmsButton.ButtonData.CLIPBOARD_BUTTON.getIconClass());
        getHandler().loadFavorites();
        getHandler().loadRecent();
        CmsRpcAction<Integer> tabAction = new CmsRpcAction<Integer>() {

            @Override
            public void execute() {

                start(1, false);
                CmsContainerpageController.get().getContainerpageService().loadClipboardTab(this);
            }

            @Override
            protected void onResponse(Integer result) {

                stop(false);
                m_tabs.selectTab(result.intValue(), false);
                updateSize();
            }

        };
        tabAction.execute();
    }
public void onToolbarActivate ( ) { Document . get ( ) . getBody ( ) . addClassName ( I_CmsButton . ButtonData . CLIPBOARD_BUTTON . getIconClass ( ) ) ; getHandler ( ) . loadFavorites ( ) ; getHandler ( ) . loadRecent ( ) ; CmsRpcAction < Integer > tabAction = new CmsRpcAction < Integer > ( ) { @ Override public void execute ( ) { start ( 1 , false ) ; CmsContainerpageController . get ( ) . getContainerpageService ( ) . loadClipboardTab ( this ) ; } @ Override protected void onResponse ( Integer result ) { stop ( false ) ; m_tabs . selectTab ( result . intValue ( ) , false ) ; updateSize ( ) ; } } ; tabAction . execute ( ) ; }
@see org.opencms.gwt.client.ui.I_CmsToolbarButton#onToolbarActivate()