public void preserveValues( Widget widget ) {
ControlLCAUtil.preserveValues( ( Control )widget );
preserveCustomVariant( widget );
preserveBackgroundGradient( widget );
preserveRoundedBorder( widget );
RefreshComposite composite = ( RefreshComposite )widget;
preserveProperty( composite, PROPERTY_CLIENT_AREA, composite.getClientArea() );
preserveProperty( composite, PROPERTY_MESSAGE, composite.getMessage() );
preserveProperty( composite, PROPERTY_DONE, composite.getAdapter( RefreshAdapter.class ).isDone() );
preserveListener( composite, EVENT_REFRESH, !composite.getRefreshListeners().isEmpty() );
}