Exemplo n.º 1
0
 @Override
 protected Control createDialogArea(Composite parent) {
   Composite composite = (Composite) super.createDialogArea(parent);
   Composite inner =
       SWTFactory.createComposite(composite, composite.getFont(), 2, 1, GridData.FILL_BOTH);
   SWTFactory.createLabel(inner, Messages.TclAddWatchpointDialog_expressionLabel, 1);
   expressionField = SWTFactory.createText(inner, SWT.BORDER, 1, expression);
   ((GridData) expressionField.getLayoutData()).widthHint = convertWidthInCharsToPixels(20);
   return composite;
 }