initializeDialogUnits(parent);
Composite topComp = new Composite(parent, SWT.NONE); GridLayout topLayout = new GridLayout(); topLayout.numColumns = 3; topLayout.marginWidth = 0; topLayout.marginHeight = 0; topComp.setLayout(topLayout); String[] cougaarNames = getCougaarVersions(); if (cougaarNames != null) { if (cougaarNames.length > 0) { Label cougaarSelectionLabel = new Label(topComp, SWT.NONE); cougaarSelectionLabel.setText(CougaarPreferencesMessages .getString("CougaarConfigurationBlock.cougaarVersion")); cougaarSelectionLabel.setLayoutData(new GridData());
    public void createControl(Composite parent) {        initializeDialogUnits(parent);        Composite composite = new Composite(parent, SWT.NONE);        int nColumns = 2;        GridLayout layout = new GridLayout();        layout.numColumns = nColumns;        composite.setLayout(layout);        createCougaarControls(composite, nColumns);        setControl(composite);        //        WorkbenchHelp.setHelp(composite,        //            IJavaHelpContextIds.NEW_INTERFACE_WIZARD_PAGE);    }