public void setEditSmallElements(final boolean editable, boolean save) {

        if (save) {
            CmsRpcAction<Void> action = new CmsRpcAction<Void>() {

                @Override
                public void execute() {

                    start(200, false);
                    internalSetEditSmallElements(editable);
                    m_service.setEditSmallElements(editable, this);

                }

                @Override
                protected void onResponse(Void result) {

                    stop(false);
                    m_editing = editable;
                }
            };
            action.execute();
        } else {
            internalSetEditSmallElements(editable);
            m_editing = editable;
        }
    }
public void setEditSmallElements ( final boolean editable , boolean save ) { if ( save ) { CmsRpcAction < Void > action = new CmsRpcAction < Void > ( ) { @ Override public void execute ( ) { start ( 200 , false ) ; internalSetEditSmallElements ( editable ) ; m_service . setEditSmallElements ( editable , this ) ; } @ Override protected void onResponse ( Void result ) { stop ( false ) ; m_editing = editable ; } } ; action . execute ( ) ; } else { internalSetEditSmallElements ( editable ) ; m_editing = editable ; } }
Enables or disables editing for small elements and optionally saves the setting.<p>

@param editable if true, enables editing for small elements
@param save true if the setting should be saved