public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    parent.setLayout(new GridLayout(2, false));

    IPropertyDescriptor pd = getPropertyDesriptor(JRDesignGenericElement.PROPERTY_EVALUATION_TIME);
    IPropertyDescriptor gpd =
        getPropertyDesriptor(JRDesignGenericElement.PROPERTY_EVALUATION_GROUP_NAME);
    getWidgetFactory().createCLabel(parent, pd.getDisplayName());
    widgets.put(pd.getId(), new SPEvaluationTime(parent, this, pd, gpd));

    createWidget4Property(parent, MGenericElement.PROPERTY_NAME);
    createWidget4Property(parent, MGenericElement.PROPERTY_NAMESPACE);
  }
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    parent.setLayout(new GridLayout(3, false));

    GridData gd = new GridData(GridData.FILL_HORIZONTAL);
    gd.horizontalSpan = 2;
    createWidget4Property(parent, JRDesignVariable.PROPERTY_NAME).getControl().setLayoutData(gd);

    gd = new GridData(GridData.FILL_HORIZONTAL);
    createWidget4Property(parent, JRDesignVariable.PROPERTY_VALUE_CLASS_NAME)
        .getControl()
        .setLayoutData(gd);
  }
  /**
   * @see
   *     org.eclipse.ui.views.properties.tabbed.ITabbedPropertySection#createControls(org.eclipse.swt.widgets.Composite,
   *     org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
   */
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    parent =
        getWidgetFactory().createSection(parent, Messages.LocationSection_locationLabel, true, 4);
    section = (ExpandableComposite) parent.getParent();

    ASPropertyWidget pw = createWidget4Property(parent, JRDesignElement.PROPERTY_X);
    CLabel lbl = pw.getLabel();
    lbl.setText(Messages.LocationSection_xCoordinateLabel);
    lbl.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));

    pw = createWidget4Property(parent, JRDesignElement.PROPERTY_Y);
    lbl = pw.getLabel();
    lbl.setText(Messages.LocationSection_yCoordinateLabel);
    lbl.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));

    ASPropertyWidget w = createWidget4Property(parent, JRDesignElement.PROPERTY_POSITION_TYPE);
    GridData gd = new GridData();
    gd.horizontalSpan = 3;
    w.getControl().setLayoutData(gd);
  }