Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
16298da4
Commit
16298da4
authored
Dec 20, 2017
by
Simon Barner
Browse files
Make ComboViewes read-only.
refs 2950,2562
parent
1c7c499c
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.allocation.ui/trunk/src/org/fortiss/af3/allocation/ui/editor/AllocationTableEditorGUI.java
View file @
16298da4
...
...
@@ -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
;
...
...
org.fortiss.af3.task.ui/trunk/src/org/fortiss/af3/task/ui/editor/TaskArchitectureTimingEditorGUI.java
View file @
16298da4
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment