private void attachRelayoutListener( Composite composite ) {
if( configuration.getMode() == LayoutMode.AUTO ) {
boolean hasListener = hasRelayoutListener( composite );
if( !hasListener ) {
RelayoutListener listener = new RelayoutListener( composite );
composite.addListener( SWT.Resize, listener );
}
}
}