if (minHeight != 0) string += "minHeight="+minHeight+" ";
public String toString () {	String hAlign = "";	switch (horizontalAlignment) {		case SWT.FILL: hAlign = "SWT.FILL"; break;		case SWT.BEGINNING: hAlign = "SWT.BEGINNING"; break;		case SWT.LEFT: hAlign = "SWT.LEFT"; break;		case SWT.END: hAlign = "SWT.END"; break;		case END: hAlign = "GridData.END"; break;		case SWT.RIGHT: hAlign = "SWT.RIGHT"; break;		case SWT.CENTER: hAlign = "SWT.CENTER"; break;		case CENTER: hAlign = "GridData.CENTER"; break;		default: hAlign = "Undefined "+horizontalAlignment; break;	}	String vAlign = "";	switch (verticalAlignment) {		case SWT.FILL: vAlign = "SWT.FILL"; break;		case SWT.BEGINNING: vAlign = "SWT.BEGINNING"; break;		case SWT.TOP: vAlign = "SWT.TOP"; break;		case SWT.END: vAlign = "SWT.END"; break;		case END: vAlign = "GridData.END"; break;		case SWT.BOTTOM: vAlign = "SWT.BOTTOM"; break;		case SWT.CENTER: vAlign = "SWT.CENTER"; break;		case CENTER: vAlign = "GridData.CENTER"; break;		default: vAlign = "Undefined "+verticalAlignment; break;	} 	String string = getName()+" {"; 	string += "horizontalAlignment="+hAlign+" "; 	if (horizontalIndent != 0) string += "horizontalIndent="+horizontalIndent+" "; 	if (horizontalSpan != 1) string += "horizontalSpan="+horizontalSpan+" "; 	if (grabExcessHorizontalSpace) string += "grabExcessHorizontalSpace="+grabExcessHorizontalSpace+" "; 	if (widthHint != SWT.DEFAULT) string += "widthHint="+widthHint+" "; 	string += "verticalAlignment="+vAlign+" ";	if (verticalSpan != 1) string += "verticalSpan="+verticalSpan+" "; 	if (grabExcessVerticalSpace) string += "grabExcessVerticalSpace="+grabExcessVerticalSpace+" "; 	if (heightHint != SWT.DEFAULT) string += "heightHint="+heightHint+" "; 	string = string.trim(); 	string += "}";	return string;}