prefdialog = new PreferenceDialog( shell, this ) {  protected void setShellStyle( int newShellStyle ) { super.setShellStyle( SWT.DIALOG_TRIM |SWT.APPLICATION_MODAL ); } };
prefdialog = new PreferenceDialog( shell, this );
	public void open( Shell shell, CoreCommunication mldonkey ) {		try {				initialize( preferenceStore );			} catch ( IOException e ) {				System.out.println( "initalizing Preferences Dialog failed due to IOException" );			}		prefdialog = new PreferenceDialog( shell, this ) {								/* (non-Javadoc)				 * @see org.eclipse.jface.window.Window#setShellStyle(int)				 */					protected void setShellStyle( int newShellStyle ) {											super.setShellStyle( SWT.DIALOG_TRIM |SWT.APPLICATION_MODAL );					}				};				if ( ( mldonkey != null ) && ( mldonkey.isConnected() ) ) {			this.connected = true;			createMLDonkeyOptions( connected, mldonkey );		}										//myprefs.addToRoot( new PreferenceNode		//		( "mldonkey", new General( preferenceStore, connected, mldonkey ) ) );		//				//myprefs.addToRoot( new PreferenceNode		//		( "eDonkey", new Edonkey( preferenceStore, connected ) ) );								prefdialog.open();	}