this( shellParent, fdCurrent, cdCurrent, true );
this.isAlignmentEnabled = isAlignmentEnabled; this.wizardContext = wizardContext; this.fdCurrent = fdCurrent == null ? FontDefinitionImpl.createEmpty( ) : (FontDefinition) EcoreUtil.copy( fdCurrent ); this.cdCurrent = cdCurrent == null ? null : (ColorDefinition) EcoreUtil.copy( cdCurrent ); this.fdBackup = (FontDefinition) EcoreUtil.copy( this.fdCurrent ); this.cdBackup = this.cdCurrent == null ? null : (ColorDefinition) EcoreUtil.copy( this.cdCurrent ); shell = new Shell( shellParent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL ); shell.setLayout( new FillLayout( ) ); placeComponents( ); populateLists( ); shell.setText( Messages.getString( "FontDefinitionDialog.Title.FontDescriptor" ) ); shell.setSize( 450, isAlignmentEnabled ? 360 : 320 ); UIHelper.centerOnScreen( shell ); shell.layout( ); shell.open( ); while ( !shell.isDisposed( ) ) { if ( !shell.getDisplay( ).readAndDispatch( ) ) { shell.getDisplay( ).sleep( ); } }
	public FontDefinitionDialog( Shell shellParent, FontDefinition fdCurrent,			ColorDefinition cdCurrent )	{		this( shellParent, fdCurrent, cdCurrent, true );	}