本文整理汇总了Java中org.eclipse.jface.viewers.ComboViewer.getCombo方法的典型用法代码示例。如果您正苦于以下问题:Java ComboViewer.getCombo方法的具体用法?Java ComboViewer.getCombo怎么用?Java ComboViewer.getCombo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.jface.viewers.ComboViewer
的用法示例。
在下文中一共展示了ComboViewer.getCombo方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createControl
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
@Override
public void createControl(Composite parent) {
Composite container = new Composite(parent, SWT.NULL);
GridLayout gridLayout = new GridLayout();
container.setLayout(gridLayout);
skip(container);
Label explanation = new Label(container, SWT.NONE);
explanation.setText(MessageUtil.getString("choose_the_execution_context_you_want_to_extend"));
skip(container);
ComboViewer comboViewer = new ComboViewer(container, SWT.NONE);
Combo combo = comboViewer.getCombo();
combo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
loadAncestor(model);
setupAncestor(comboViewer);
setControl(container);
}
示例2: addMappingBaseCombo
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
/**
* Add the mapping base {@link ComboViewer} to the given header {@link Composite}.
*
* @param headerComposite
* the header {@link Composite}
* @return the mapping base {@link ComboViewer}
*/
private ComboViewer addMappingBaseCombo(Composite headerComposite) {
final Label selectMappingBaseLabel = new Label(headerComposite, SWT.NONE);
selectMappingBaseLabel.setToolTipText("Select a mapping base.");
selectMappingBaseLabel.setText("Mapping base:");
final ComboViewer mappingCombo = new ComboViewer(headerComposite, SWT.READ_ONLY);
Combo combo = mappingCombo.getCombo();
combo.setToolTipText("Select the mapping base to use.");
mappingCombo.setContentProvider(new MappingBaseRegistryContentProvider());
mappingCombo.setLabelProvider(new MappingLabelProvider(MappingLabelProvider.SOURCE));
mappingCombo.setComparator(new ViewerComparator());
mappingCombo.setInput(MappingUtils.getMappingRegistry());
mappingCombo.addSelectionChangedListener(new BaseComboSelectionChangedListener());
return mappingCombo;
}
示例3: ComboConditionComposite
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
public ComboConditionComposite(Composite parent, int style)
{
super(parent, style);
GridLayout gridLayout = new GridLayout(2, false);
gridLayout.marginWidth = 0;
gridLayout.marginHeight = 0;
gridLayout.verticalSpacing = 0;
gridLayout.horizontalSpacing = 0;
setLayout(gridLayout);
operation = new ComboViewer(this, SWT.NONE);
Combo combo = operation.getCombo();
combo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));
value = new ComboViewer(this, SWT.BORDER);
value.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
}
示例4: StringConditionComposite
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
public StringConditionComposite(Composite parent, int style)
{
super(parent, style);
GridLayout gridLayout = new GridLayout(2, false);
gridLayout.marginWidth = 0;
gridLayout.marginHeight = 0;
gridLayout.verticalSpacing = 0;
gridLayout.horizontalSpacing = 0;
setLayout(gridLayout);
operation = new ComboViewer(this, SWT.NONE);
Combo combo = operation.getCombo();
combo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));
text = new Text(this, SWT.BORDER);
text.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
}
示例5: AutoComplete
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
public AutoComplete(final ComboViewer comboViewer) {
_comboViewer = comboViewer;
final Combo combo = comboViewer.getCombo();
combo.addKeyListener(new KeyAdapter() {
@Override
public void keyReleased(final KeyEvent e) {
if (e.keyCode == SWT.DEL)
setSelection(null);
autoCompleteKeyUp(e);
}
});
combo.addFocusListener(new FocusAdapter() {
@Override
public void focusLost(final FocusEvent arg0) {
autoCompleteLeave();
}
});
}
示例6: createTestContainerSelectionGroup
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
private void createTestContainerSelectionGroup (Composite parent) {
Label fTestLabel = new Label(parent, SWT.NONE);
GridData gd = new GridData( );
gd.horizontalAlignment = SWT.RIGHT;
gd.horizontalIndent = 25;
gd.verticalAlignment=SWT.TOP;
fTestLabel.setLayoutData(gd);
fTestLabel.setText(MessageUtil.getString("mainTestExecutionContext"));
fMainTestExecutionComboViewer = new ComboViewer(parent,SWT.DROP_DOWN);
Combo combo = fMainTestExecutionComboViewer.getCombo();
combo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
fMainTestExecutionComboViewer.setContentProvider(new IStructuredContentProvider(){
@Override
public Object[] getElements(Object inputElement) {
String projectName= (String) inputElement;
loadMainExecutionContextTests(projectName);
return mainExecutionContexts;
}
});
ILabelProvider labelProvider = new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_QUALIFIED);
fMainTestExecutionComboViewer.setLabelProvider(labelProvider);
fMainTestExecutionComboViewer.addSelectionChangedListener(new ISelectionChangedListener() {
@Override
public void selectionChanged(SelectionChangedEvent event) {
fAdditionalTestViewer.setInput(null);
IStructuredSelection selection = (IStructuredSelection) event.getSelection();
if (selection.size() > 0){
resetDoHint();
IType type = (IType) selection.getFirstElement();
fAdditionalTestViewer.setInput(type);
validatePage();
}
}
});
combo.setData(GW4E_LAUNCH_CONFIGURATION_CONTROL_ID,GW4E_LAUNCH_TEST_CONFIGURATION_MAIN_TEST);
}
示例7: createControl
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
public void createControl(Composite parent) {
Composite composite = new Composite(parent, SWT.NULL);
GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
setControl(composite);
GridDataFactory gridDataFactory = GridDataFactory.fillDefaults()
.align(SWT.FILL, SWT.CENTER).grab(true, false).copy();
final Label label = new Label(composite, SWT.NONE);
label.setText("Tracker:");
final ComboViewer comboViewer = new ComboViewer(composite, SWT.BORDER | SWT.READ_ONLY);
comboViewer.setContentProvider(new ArrayContentProvider());
trackerCombo = comboViewer.getCombo();
gridDataFactory.applyTo(trackerCombo);
comboViewer.setInput(ProjectOpenUtil.toStringList(clientData.getTrackers()));
trackerCombo.addListener(SWT.Modify, new Listener() {
public void handleEvent(Event event) {
getContainer().updateButtons();
}
});
final Label titleLabel = new Label(composite, SWT.NONE);
titleLabel.setText("Title:");
titleText = new Text(composite, SWT.BORDER);
gridDataFactory.applyTo(titleText);
}
示例8: addExpertDistribution
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
private void addExpertDistribution() {
Composite distribution = new Composite(expert_section, SWT.NONE);
distribution.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, true, 1, 1));
toolkit.adapt(distribution);
toolkit.paintBordersFor(distribution);
distribution.setLayout(new GridLayout(1, false));
Label expert = new Label(distribution, SWT.NONE);
expert.setLayoutData(new GridData(SWT.LEFT, SWT.DOWN, true, false, 1,
1));
expert.setText("Expert");
ComboViewer comboViewer = new ComboViewer(distribution, SWT.READ_ONLY);
expert_combo = comboViewer.getCombo();
expert_combo.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 1,
1));
toolkit.paintBordersFor(expert_combo);
comboViewer.setContentProvider(new ArrayContentProvider()); // org.eclipse.jface.viewers.ArrayContentProvider()
comboViewer.setLabelProvider(new LabelProvider()); // org.eclipse.jface.viewers.LabelProvider()
expert_combo.setItems(observerValues);
// combo.setText(observerValues[0]);
expert_combo.setVisibleItemCount(observerValues.length);
expert_index = getIndex(Constant.DISTRIBUTION.valueOf(advanceConfig.getWorkers().getExpert().getSelectedDistribution()));
expert_combo.select(expert_index);
addExpertParameters();
expert_combo.addListener(SWT.Modify, new Listener() {
@Override
public void handleEvent(Event event) {
expert_index = expert_combo.getSelectionIndex();
System.out.println(expert_combo.getItem(expert_index));
if(expert_composite != null) expert_composite.dispose();
addExpertParameters();
}
});
}
示例9: addNormalWorkerDistribution
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
private void addNormalWorkerDistribution() {
Composite distribution = new Composite(normalWorker_section, SWT.NONE);
toolkit.adapt(distribution);
toolkit.paintBordersFor(distribution);
distribution.setLayout(new GridLayout(1, false));
Label normalWorker = new Label(distribution, SWT.NONE);
normalWorker.setLayoutData(new GridData(SWT.LEFT, SWT.DOWN, false, false, 1,
1));
normalWorker.setText("Normal Worker");
ComboViewer comboViewer = new ComboViewer(distribution, SWT.READ_ONLY);
normalWorker_combo = comboViewer.getCombo();
normalWorker_combo.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 1,
1));
toolkit.paintBordersFor(normalWorker_combo);
comboViewer.setContentProvider(new ArrayContentProvider()); // org.eclipse.jface.viewers.ArrayContentProvider()
comboViewer.setLabelProvider(new LabelProvider()); // org.eclipse.jface.viewers.LabelProvider()
normalWorker_combo.setItems(observerValues);
// combo.setText(observerValues[0]);
normalWorker_combo.setVisibleItemCount(observerValues.length);
normalWorker_index = getIndex(Constant.DISTRIBUTION.valueOf(advanceConfig.getWorkers().getNormal().getSelectedDistribution()));
normalWorker_combo.select(normalWorker_index);
addNormalWorkerParameters();
normalWorker_combo.addListener(SWT.Modify, new Listener() {
@Override
public void handleEvent(Event event) {
normalWorker_index = normalWorker_combo.getSelectionIndex();
System.out.println(normalWorker_combo.getItem(normalWorker_index));
if(normalWorker_composite != null) normalWorker_composite.dispose();
addNormalWorkerParameters();
}
});
}
示例10: addSloppyWorkerDistribution
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
private void addSloppyWorkerDistribution() {
Composite distribution = new Composite(sloppyWorker_section, SWT.NONE);
toolkit.adapt(distribution);
toolkit.paintBordersFor(distribution);
distribution.setLayout(new GridLayout(1, false));
Label sloppyWorker = new Label(distribution, SWT.NONE);
sloppyWorker.setLayoutData(new GridData(SWT.LEFT, SWT.DOWN, false, false, 1,
1));
sloppyWorker.setText("Sloppy Worker");
ComboViewer comboViewer = new ComboViewer(distribution, SWT.READ_ONLY);
sloppyWorker_combo = comboViewer.getCombo();
sloppyWorker_combo.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 1,
1));
toolkit.paintBordersFor(sloppyWorker_combo);
comboViewer.setContentProvider(new ArrayContentProvider()); // org.eclipse.jface.viewers.ArrayContentProvider()
comboViewer.setLabelProvider(new LabelProvider()); // org.eclipse.jface.viewers.LabelProvider()
sloppyWorker_combo.setItems(observerValues);
// combo.setText(observerValues[0]);
sloppyWorker_combo.setVisibleItemCount(observerValues.length);
sloppyWorker_index = getIndex(Constant.DISTRIBUTION.valueOf(advanceConfig.getWorkers().getSloppy().getSelectedDistribution()));
sloppyWorker_combo.select(sloppyWorker_index);
addSloppyWorkerParameters();
sloppyWorker_combo.addListener(SWT.Modify, new Listener() {
@Override
public void handleEvent(Event event) {
sloppyWorker_index = sloppyWorker_combo.getSelectionIndex();
System.out.println(sloppyWorker_combo.getItem(sloppyWorker_index));
if(sloppyWorker_composite != null) sloppyWorker_composite.dispose();
addSloppyWorkerParameters();
}
});
}
示例11: createLocationTab
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
protected void createLocationTab(CTabFolder tabFolder) {
CTabItem tbtmNewItem_2 = new CTabItem(tabFolder, SWT.NONE);
tbtmNewItem_2.setText(Messages.JDBCDataAdapterComposite_tablocation);
Composite composite = new Composite(tabFolder, SWT.NONE);
composite.setLayout(new GridLayout(2, false));
tbtmNewItem_2.setControl(composite);
Label lbl = new Label(composite, SWT.NONE);
lbl.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));
lbl.setText(Messages.JDBCDataAdapterComposite_driverlabel);
comboJDBCDriver = new ComboViewer(composite, SWT.NONE);
Combo combo = comboJDBCDriver.getCombo();
combo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
lbl = new Label(composite, SWT.NONE);
lbl.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));
lbl.setText(Messages.JDBCDataAdapterComposite_urllabel);
textJDBCUrl = new Text(composite, SWT.BORDER);
textJDBCUrl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
createURLAssistant(composite);
createUserPass(composite);
definitions = getDefinitions();
for (int i = 0; i < definitions.length; ++i)
comboJDBCDriver.add(definitions[i]);
ISelectionChangedListener listener = new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
if (comboJDBCDriver.getCombo().getSelectionIndex() >= 0) {
currentdriver = definitions[comboJDBCDriver.getCombo().getSelectionIndex()];
comboJDBCDriver.getCombo().setText(currentdriver.getDriverName());
btnWizardActionPerformed();
} else {
currentdriver = null;
}
}
};
comboJDBCDriver.addSelectionChangedListener(listener);
comboJDBCDriver.setSelection(new StructuredSelection(definitions[0]));
listener.selectionChanged(null);
}
示例12: createDialogArea
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
/**
* Create contents of the dialog.
* @param parent
*/
@Override
protected Control createDialogArea(Composite parent){
setTitle("Limitstände");
Composite area = (Composite) super.createDialogArea(parent);
Composite compositeFilter = new Composite(area, SWT.NONE);
compositeFilter.setLayout(new GridLayout(2, false));
compositeFilter.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
Label lblZeitraum = new Label(compositeFilter, SWT.NONE);
lblZeitraum.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
lblZeitraum.setBounds(0, 0, 59, 14);
lblZeitraum.setText("Zeitraum");
comboViewerZeitraum = new ComboViewer(compositeFilter, SWT.NONE);
Combo comboZeitraum = comboViewerZeitraum.getCombo();
comboZeitraum.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
comboViewerZeitraum.setLabelProvider(new LimitZeitraumComboLabelProvider());
comboViewerZeitraum.setContentProvider(ArrayContentProvider.getInstance());
comboViewerZeitraum.setInput(new int[] {LimitZeitraum.AKTUELLE_PRUEFPERIODE, LimitZeitraum.NACHBRINGFRIST});
comboViewerZeitraum.setSelection(new StructuredSelection(LimitZeitraum.AKTUELLE_PRUEFPERIODE));
tableTreeViewerLimits = new TreeViewer(area, SWT.BORDER | SWT.FULL_SELECTION);
Tree tableTreeLimits = tableTreeViewerLimits.getTree();
tableTreeLimits.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
tableTreeViewerLimits.setContentProvider(new LimitstaendeTreeContentProvider(tableTreeViewerLimits));
tableTreeViewerLimits.setLabelProvider(new LimitstaendeTreeLabelProvider());
comboViewerZeitraum.addSelectionChangedListener(new ISelectionChangedListener() {
@Override
public void selectionChanged(SelectionChangedEvent event){
lz = (Integer) ((StructuredSelection) event.getSelection()).getFirstElement();
init();
}
});
init();
return area;
}
示例13: createDialogArea
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
/**
*
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.TitleAreaDialog#createDialogArea(org.eclipse.swt.widgets.Composite)
*/
@Override
protected Control createDialogArea(Composite parent) {
setTitleImage(ResourceManager.getPluginImage(
"org.eclipse.emf.emfstore.client.ui", "icons/login_icon.png"));
setTitle("Log in to " + controller.getServer().getName());
setMessage("Please enter your username and password");
getShell().setText("Authentication required");
final Composite area = (Composite) super.createDialogArea(parent);
final Composite container = new Composite(area, SWT.NONE);
container.setLayout(new GridLayout(1, false));
container.setLayoutData(new GridData(GridData.FILL_BOTH));
final Composite loginContainer = new Composite(container, SWT.NONE);
loginContainer.setLayout(new GridLayout(3, false));
loginContainer.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true,
true, 1, 1));
loginContainer.setBounds(0, 0, 64, 64);
final Label usernameLabel = new Label(loginContainer, SWT.NONE);
GridData gridData = new GridData(SWT.RIGHT, SWT.CENTER, false, false,
1, 1);
gridData.widthHint = 95;
usernameLabel.setLayoutData(gridData);
usernameLabel.setText("Username");
usernameCombo = new ComboViewer(loginContainer, SWT.NONE);
final ComboListener comboListener = new ComboListener();
usernameCombo.addPostSelectionChangedListener(comboListener);
final Combo combo = usernameCombo.getCombo();
combo.addModifyListener(comboListener);
gridData = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gridData.widthHint = 235;
combo.setLayoutData(gridData);
new Label(loginContainer, SWT.NONE);
final Label passwordLabel = new Label(loginContainer, SWT.NONE);
gridData = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gridData.widthHint = 80;
passwordLabel.setLayoutData(gridData);
passwordLabel.setText("Password");
passwordField = new Text(loginContainer, SWT.BORDER | SWT.PASSWORD);
gridData = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gridData.widthHint = 250;
passwordField.setLayoutData(gridData);
passwordField.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
passwordModified = true;
flushErrorMessage();
}
});
new Label(loginContainer, SWT.NONE);
final Label savePasswordLabel = new Label(loginContainer, SWT.NONE);
savePasswordLabel.setText("Save Password");
savePassword = new Button(loginContainer, SWT.CHECK);
new Label(loginContainer, SWT.NONE);
initData();
if (controller.getUsersession() == null) {
final ESUsersession lastUsersession = controller.getServer().getLastUsersession();
if (lastUsersession != null) {
loadUsersession(((ESUsersessionImpl) lastUsersession).toInternalAPI());
} else {
loadUsersession(null);
}
} else {
final ESUsersession usersession = controller.getUsersession();
loadUsersession(((ESUsersessionImpl) usersession).toInternalAPI());
}
return area;
}
示例14: ConfigSLOComposite
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
public ConfigSLOComposite(ConfAlternative alt, final EObjectWrapper<ServiceLevelObjective> sloWrapper, Composite parent, int style) {
super(parent, style);
this.alternative = alt;
this.editingDomain = alt.getEditingDomain();
this.sloWrapper = sloWrapper;
this.slo = sloWrapper.getMaster();
setLayout(new GridLayout(2, false));
lblNewLabel = new Label(this, SWT.NONE);
lblNewLabel.setText("Measurement specification:");
comboMeasurementSpecViewer = new ComboViewer(this, SWT.NONE);
comboMeasurementSpecViewer.setContentProvider(new ArrayContentProvider());
comboMeasurementSpecViewer.setInput(alternative.getActiveMeasurementSpecifications());
Combo comboMeasuremntSpec = comboMeasurementSpecViewer.getCombo();
GridData gd_comboMeasuremntSpec = new GridData(SWT.FILL, SWT.FILL, false, false, 1, 1);
gd_comboMeasuremntSpec.widthHint = 320;
comboMeasuremntSpec.setLayoutData(gd_comboMeasuremntSpec);
btnUpperBound = new Button(this, SWT.CHECK);
btnUpperBound.setText("Upper bound:");
textUpperBound = new Text(this, SWT.BORDER);
GridData gd_textUpperBound = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gd_textUpperBound.widthHint = 100;
textUpperBound.setLayoutData(gd_textUpperBound);
btnLowerBound = new Button(this, SWT.CHECK);
btnLowerBound.setText("Lower bound:");
textLowerBound = new Text(this, SWT.BORDER);
GridData gd_textLowerBound = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gd_textLowerBound.widthHint = 100;
textLowerBound.setLayoutData(gd_textLowerBound);
addDisposeListener(new DisposeListener() {
@Override
public void widgetDisposed(DisposeEvent e) {
if(bindingContext != null){
bindingContext.dispose();
bindingContext = null;
}
}
});
update();
initBindings();
}
示例15: createComposite
import org.eclipse.jface.viewers.ComboViewer; //导入方法依赖的package包/类
private void createComposite (Composite parent)
{
this.setLayout(new GridLayout(1, false));
Group grpCloudEnvironment = new Group(this, SWT.NONE);
grpCloudEnvironment.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));
grpCloudEnvironment.setText("Cloud environment");
GridLayout gl_grpCloudEnvironment = new GridLayout(2, false);
gl_grpCloudEnvironment.horizontalSpacing = 15;
grpCloudEnvironment.setLayout(gl_grpCloudEnvironment);
Label lblService = new Label(grpCloudEnvironment, SWT.NONE);
lblService.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
lblService.setText("Providers selection");
Composite composite = new Composite(grpCloudEnvironment, SWT.NONE);
composite.setLayout(new RowLayout(SWT.HORIZONTAL));
GridData gd_composite = new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1);
gd_composite.widthHint = 192;
gd_composite.heightHint = 29;
composite.setLayoutData(gd_composite);
rbIaaS = new Button(composite, SWT.RADIO);
rbIaaS.setText("IaaS");
rbPaaS = new Button(composite, SWT.RADIO);
rbPaaS.setText("PaaS");
Label lblCloudEnvirionment = new Label(grpCloudEnvironment, SWT.NONE);
lblCloudEnvirionment.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
lblCloudEnvirionment.setText("Cloud Envirionment");
comboViewer = new ComboViewer(grpCloudEnvironment, SWT.NONE);
combo = comboViewer.getCombo();
combo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
rbIaaS.setSelection(true);
lblPlatformService = new Label(grpCloudEnvironment, SWT.NONE);
lblPlatformService.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));
lblPlatformService.setAlignment(SWT.RIGHT);
lblPlatformService.setText("Platform service");
cvPaaS = new ComboViewer(grpCloudEnvironment, SWT.NONE);
cbPaaS = cvPaaS.getCombo();
cbPaaS.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));
Group grpDeploymentConfiguration = new Group(this, SWT.NONE);
grpDeploymentConfiguration.setText("Deployment configuration");
grpDeploymentConfiguration.setLayout(new FillLayout(SWT.HORIZONTAL));
grpDeploymentConfiguration.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
this.deploymentComposite = new ServiceDeploymentComposite(grpDeploymentConfiguration, SWT.NONE);
initCustomBindings();
updateXaaSSelection();
}