public void deactivateAll() {

        for (Widget button : getAll()) {
            if (button instanceof I_CmsToolbarActivatable) {
                ((I_CmsToolbarActivatable)button).setEnabled(false);
            } else if (button instanceof CmsToggleButton) {
                ((CmsToggleButton)button).setEnabled(false);
            }
        }
    }
public void deactivateAll ( ) { for ( Widget button : getAll ( ) ) { if ( button instanceof I_CmsToolbarActivatable ) { ( ( I_CmsToolbarActivatable ) button ) . setEnabled ( false ) ; } else if ( button instanceof CmsToggleButton ) { ( ( CmsToggleButton ) button ) . setEnabled ( false ) ; } } }
Deactivates all toolbar buttons.<p>