Commit 16298da4 authored by Simon Barner's avatar Simon Barner
Browse files

Make ComboViewes read-only.

refs 2950,2562
parent 1c7c499c
......@@ -76,7 +76,7 @@ public class AllocationTableEditorGUI extends Composite {
compositeLayout.horizontalSpacing = 20;
composite.setLayout(compositeLayout);
comboViewerSource = new ComboViewer(composite, SWT.NONE);
comboViewerSource = new ComboViewer(composite, SWT.READ_ONLY);
Combo comboSource = getComboViewerSource().getCombo();
GridData gd_comboSource = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gd_comboSource.widthHint = 270;
......@@ -88,7 +88,7 @@ public class AllocationTableEditorGUI extends Composite {
labelSourceType.setLayoutData(gd_labelSourceType);
labelSourceType.setText("Source Type");
comboViewerSourceEntityType = new ComboViewer(composite, SWT.NONE);
comboViewerSourceEntityType = new ComboViewer(composite, SWT.READ_ONLY);
Combo comboSourceType = getComboViewerSourceEntityType().getCombo();
GridData gd_comboSourceType = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gd_comboSourceType.widthHint = 120;
......@@ -102,7 +102,7 @@ public class AllocationTableEditorGUI extends Composite {
checkboxShowSourceModelHierarchy.setSelection(true);
checkboxShowSourceModelHierarchy.setText("Show Hierarchy");
comboViewerTarget = new ComboViewer(composite, SWT.NONE);
comboViewerTarget = new ComboViewer(composite, SWT.READ_ONLY);
Combo comboTarget = getComboViewerTarget().getCombo();
GridData gd_comboTarget = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gd_comboTarget.widthHint = 270;
......@@ -114,7 +114,7 @@ public class AllocationTableEditorGUI extends Composite {
labelTargetType.setLayoutData(gd_labelTargetType);
labelTargetType.setText("Target Type");
comboViewerTargetEntityType = new ComboViewer(composite, SWT.NONE);
comboViewerTargetEntityType = new ComboViewer(composite, SWT.READ_ONLY);
Combo comboTargetType = getComboViewerTargetEntityType().getCombo();
GridData gd_comboTargetType = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gd_comboTargetType.widthHint = 120;
......
......@@ -66,7 +66,7 @@ public class TaskArchitectureTimingEditorGUI extends Composite {
compositeLayout.horizontalSpacing = 0;
composite.setLayout(compositeLayout);
comboViewerAllocation = new ComboViewer(composite, SWT.NONE);
comboViewerAllocation = new ComboViewer(composite, SWT.READ_ONLY);
Combo comboSource = comboViewerAllocation.getCombo();
GridData gd_comboSource = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
gd_comboSource.widthHint = 270;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment