@Override
    protected void onAttach() {

        super.onAttach();
        if (m_allowUploads) {
            // use the parent element with CSS class .widgetHolder as the upload drop zone to allow proper highlighting
            Element dropZone = CmsDomUtil.getAncestor(getElement(), I_CmsLayoutBundle.INSTANCE.form().widgetHolder());
            if (dropZone != null) {
                m_linkSelect.setDropZoneElement(dropZone);
            }
        }
    }
@ Override protected void onAttach ( ) { super . onAttach ( ) ; if ( m_allowUploads ) { Element dropZone = CmsDomUtil . getAncestor ( getElement ( ) , I_CmsLayoutBundle . INSTANCE . form ( ) . widgetHolder ( ) ) ; if ( dropZone != null ) { m_linkSelect . setDropZoneElement ( dropZone ) ; } } }
@see com.google.gwt.user.client.ui.Composite#onAttach()