Skip to content
GitLab
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
11a3df94
Commit
11a3df94
authored
Jan 18, 2018
by
Simon Barner
Browse files
Avoid NPE when opening the editor (as a WcetTableEditor) for a freshly created TaskArchitecture.
refs 2950,2562
parent
b590fd6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.allocation.ui/trunk/src/org/fortiss/af3/allocation/ui/editor/treeviewer/ParameterTableTreeViewerManager.java
View file @
11a3df94
...
...
@@ -106,7 +106,8 @@ public class ParameterTableTreeViewerManager<T extends ParameterTable> extends T
*/
private
void
createSourceEntityAnnotationColumn
()
{
String
columnLabel
;
if
(!
allocationTableEditor
.
getSourceViewModelElements
().
isEmpty
())
{
if
(
allocationTableEditor
.
getEditedObject
()
!=
null
&&
!
allocationTableEditor
.
getSourceViewModelElements
().
isEmpty
())
{
// List is non-empty: Label can be determined using first source element
columnLabel
=
getAnnotationName
(
allocationTableEditor
.
getSourceViewModelElements
().
get
(
0
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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