@Override
  protected void createCustomContents(Composite parent) {
    GridData gd;

    Group group =
        WidgetFactory.createSimpleGroup(
            parent, UTIL.getString("Common.Properties.Label")); // $NON-NLS-1$;

    scrolled = new Composite(group, SWT.NONE);
    GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 2;
    scrolled.setLayout(gridLayout);

    urlLabel = new Label(scrolled, SWT.NONE);
    urlLabel.setText(UTIL.getString("Common.URL.Label")); // $NON-NLS-1$
    urlLabel.setToolTipText(UTIL.getString("Common.URL.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.verticalAlignment = GridData.BEGINNING;
    urlLabel.setLayoutData(gd);

    urlText = new Text(scrolled, SWT.SINGLE | SWT.BORDER);
    urlText.setToolTipText(UTIL.getString("Common.URL.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.horizontalAlignment = GridData.FILL;
    gd.verticalAlignment = GridData.BEGINNING;
    gd.grabExcessHorizontalSpace = true;
    gd.horizontalSpan = 1;
    urlText.setLayoutData(gd);

    initControls();
    addlisteners();
  }
  @Override
  protected void createCustomContents(Composite parent) {
    GridData gd;

    Group group =
        WidgetFactory.createSimpleGroup(
            parent, UTIL.getString("Common.Properties.Label")); // $NON-NLS-1$;

    scrolled = new Composite(group, SWT.NONE);
    GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 2;
    scrolled.setLayout(gridLayout);

    urlLabel = new Label(scrolled, SWT.NONE);
    urlLabel.setText(UTIL.getString("Common.URL.Label")); // $NON-NLS-1$
    urlLabel.setToolTipText(UTIL.getString("Common.URL.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.verticalAlignment = GridData.CENTER;
    urlLabel.setLayoutData(gd);

    urlText = new Text(scrolled, SWT.SINGLE | SWT.BORDER);
    urlText.setToolTipText(UTIL.getString("Common.URL.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.horizontalAlignment = GridData.FILL;
    gd.verticalAlignment = GridData.BEGINNING;
    gd.grabExcessHorizontalSpace = true;
    gd.horizontalSpan = 1;
    urlText.setLayoutData(gd);

    securityLabel = new Label(scrolled, SWT.NONE);
    securityLabel.setText(UTIL.getString("Common.Security.Type.Label")); // $NON-NLS-1$
    securityLabel.setToolTipText(UTIL.getString("Common.Security.Type.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.verticalAlignment = GridData.CENTER;
    securityLabel.setLayoutData(gd);

    securityText = new Text(scrolled, SWT.SINGLE | SWT.BORDER);
    securityText.setToolTipText(UTIL.getString("Common.Security.Type.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.horizontalAlignment = GridData.FILL;
    gd.verticalAlignment = GridData.BEGINNING;
    gd.grabExcessHorizontalSpace = true;
    gd.horizontalSpan = 1;
    securityText.setLayoutData(gd);

    usernameLabel = new Label(scrolled, SWT.NONE);
    usernameLabel.setText(UTIL.getString("Common.Username.Label")); // $NON-NLS-1$
    usernameLabel.setToolTipText(UTIL.getString("Common.Username.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.verticalAlignment = GridData.CENTER;
    usernameLabel.setLayoutData(gd);

    usernameText = new Text(scrolled, SWT.SINGLE | SWT.BORDER);
    usernameText.setToolTipText(UTIL.getString("Common.Username.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.horizontalAlignment = GridData.FILL;
    gd.verticalAlignment = GridData.BEGINNING;
    gd.grabExcessHorizontalSpace = true;
    gd.horizontalSpan = 1;
    usernameText.setLayoutData(gd);

    passwordLabel = new Label(scrolled, SWT.NONE);
    passwordLabel.setText(UTIL.getString("Common.Password.Label")); // $NON-NLS-1$
    passwordLabel.setToolTipText(UTIL.getString("Common.Password.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.verticalAlignment = GridData.CENTER;
    passwordLabel.setLayoutData(gd);

    passwordText = new Text(scrolled, SWT.SINGLE | SWT.BORDER | SWT.PASSWORD);
    passwordText.setToolTipText(UTIL.getString("Common.Password.ToolTip")); // $NON-NLS-1$
    gd = new GridData();
    gd.horizontalAlignment = GridData.FILL;
    gd.verticalAlignment = GridData.BEGINNING;
    gd.grabExcessHorizontalSpace = true;
    gd.horizontalSpan = 1;
    passwordText.setLayoutData(gd);
    urlPreviewLabel = new Label(scrolled, SWT.NONE);
    urlPreviewLabel.setText(
        UTIL.getString("WSProfileDetailsWizardPage.urlPreviewLabel")); // $NON-NLS-1$
    gd = new GridData();
    urlPreviewLabel.setLayoutData(gd);

    urlPreviewText =
        new Text(scrolled, SWT.MULTI | SWT.BORDER | SWT.WRAP | SWT.READ_ONLY | SWT.V_SCROLL);
    gd = new GridData(GridData.FILL_HORIZONTAL);
    gd.grabExcessHorizontalSpace = true;
    gd.heightHint = 40;
    gd.horizontalSpan = 3;
    urlPreviewText.setLayoutData(gd);
    urlPreviewText.setBackground(
        Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));

    initControls();

    TabFolder tabFolder = new TabFolder(scrolled, SWT.TOP | SWT.BORDER);
    tabFolder.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 2, 1));

    Composite parameterPanel = WidgetFactory.createPanel(tabFolder);
    this.parametersTab = new TabItem(tabFolder, SWT.FILL);
    this.parametersTab.setControl(parameterPanel);
    this.parametersTab.setText(UTIL.getString("ParametersPanel_groupTitle")); // $NON-NLS-1$
    this.parameterPanel = new ParameterPanel(this, parameterPanel, parameterMap, 6);
    this.urlPreviewText.setText(updateUrlPreview().toString());

    Composite headerPropertiesPanel = WidgetFactory.createPanel(tabFolder);
    this.headerPropertiesTab = new TabItem(tabFolder, SWT.FILL);
    this.headerPropertiesTab.setControl(headerPropertiesPanel);
    this.headerPropertiesTab.setText(
        UTIL.getString("HeaderPropertiesPanel_groupTitle")); // $NON-NLS-1$
    new HeaderPropertiesPanel(headerPropertiesPanel, this.extraProperties, 6);

    addlisteners();
  }