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
84bb41f4
Commit
84bb41f4
authored
Jan 24, 2018
by
Simon Barner
Browse files
Fix changing values from source element parameter editor (only setting the initial value worked).
refs 2950,2562
parent
8afee333
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.allocation.ui/trunk/src/org/fortiss/af3/allocation/ui/editor/treeviewer/.ratings
View file @
84bb41f4
ParameterEntryTreeViewerEditingSupport.java 759d5a5462aef5ec2ccd5e0b61b5858d3196145a YELLOW
ParameterEntryTreeViewerLabelProvider.java c6cd26de2d483a43f013893d0feff158e7cdb1bf YELLOW
ParameterSourceElementTreeViewerEditingSupport.java
6981413de8dc26e39aa144066ac41fd0181c543f
YELLOW
ParameterSourceElementTreeViewerEditingSupport.java
ec180b48e1cb32068c9eab5d60dd4b35fb91899c
YELLOW
ParameterSourceElementTreeViewerLabelProvider.java e2dbecb997ee8e283cd6eb9f91a882a8ec7b75e9 YELLOW
ParameterTableTreeViewerManager.java d1205500f59668b6b2083295bdade48844bd60f8 YELLOW
TreeViewerCheckBoxEditingSupport.java ae801bf9e495b983774224444549cfc8c26fee58 YELLOW
...
...
org.fortiss.af3.allocation.ui/trunk/src/org/fortiss/af3/allocation/ui/editor/treeviewer/ParameterSourceElementTreeViewerEditingSupport.java
View file @
84bb41f4
...
...
@@ -88,9 +88,9 @@ public class ParameterSourceElementTreeViewerEditingSupport extends EditingSuppo
annotationEntry
.
getSpecificationValue
(
getAnnotationType
(
annotationEntry
,
annotationType
));
// Return empty
S
tring instead of null since otherwise the
CellEditor cannot be
// initialized
c
or
rectly when editing an empty cell
.
return
value
!=
null
?
value
:
""
;
// Return
String instead object (
empty
s
tring instead of null
)
since otherwise the
//
CellEditor cannot be
initialized
f
or
editing
.
return
value
!=
null
?
value
.
toString
()
:
""
;
}
return
null
;
}
...
...
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