@Override
        public boolean isReadOnly(Object element) {
            if (element instanceof AbstractStorageEditorInput) {
                return ((AbstractStorageEditorInput) element).isReadOnly();
            }
            return editorInput.isReadOnly();
        }
Updates the status fields for the given category.

@param category the category
@since 2.0
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditorBase.java