public void setActive(boolean active) {

        if (m_active == active) {
            return;
        }
        m_active = active;
        if (m_editor != null) {
            if (m_active) {
                getElement().removeClassName(I_CmsLayoutBundle.INSTANCE.form().inActive());
                removeEditorDisabledStyle();
                fireValueChange(true);
            } else {
                getElement().addClassName(I_CmsLayoutBundle.INSTANCE.form().inActive());
                setEditorDisabledStyle();
            }
        }
    }
public void setActive ( boolean active ) { if ( m_active == active ) { return ; } m_active = active ; if ( m_editor != null ) { if ( m_active ) { getElement ( ) . removeClassName ( I_CmsLayoutBundle . INSTANCE . form ( ) . inActive ( ) ) ; removeEditorDisabledStyle ( ) ; fireValueChange ( true ) ; } else { getElement ( ) . addClassName ( I_CmsLayoutBundle . INSTANCE . form ( ) . inActive ( ) ) ; setEditorDisabledStyle ( ) ; } } }
@see org.opencms.acacia.client.widgets.I_CmsEditWidget#setActive(boolean)