Commit c134d828 authored by Johannes Eder's avatar Johannes Eder
Browse files

Merge branch '4074' into 'master'

Requirements: Added ID column to overview editor

See merge request af3/af3!380
parents 3464a774 5c25ffb6
RequirementsOverviewFXEditor.java 1dd6ec50837cd05bb8799466f8738b282b964e95 GREEN
RequirementsOverviewFXEditor.java 61a0faa7d5dbf525fae07a334494920932770094 GREEN
RequirementsOverviewFXEditorBinding.java 3346106642d7dbd68e6328e4cbd33f6569c6f6ff GREEN
RequirementsOverviewFXEditorContentProvider.java 5783fa0720cc1454acc0285eb056fd97933549fe GREEN
RequirementsOverviewFXEditorUIProvider.java adece2e83a54cb9094618cd7830358cb6e601d97 GREEN
RequirementsOverviewFXEditorContentProvider.java 2f9b6874d6d7063ba2d3acd49f77f36052d75a5b GREEN
RequirementsOverviewFXEditorUIProvider.java 219b4bb77260b82aa28c84a04935426d7b8e1a7f GREEN
......@@ -78,7 +78,8 @@ public class RequirementsOverviewFXEditor<T extends IHierarchicElement> extends
treeTableViewer.addColumn("Type", 160);
treeTableViewer.addColumn("Status", 160);
treeTableViewer.addColumn("Name", 160);
treeTableViewer.addColumn("ID", 100);
treeTableViewer.addColumn("Title", 160);
treeTableViewer.addColumn("Description", 280);
treeTableViewer.addColumn("Comment", 250);
......
......@@ -111,7 +111,7 @@ public class RequirementsOverviewFXEditorContentProvider
if(element instanceof Requirement) {
Requirement req = (Requirement)element;
String checkStr = req.getName() + req.getDescription() + req.getComment() +
req.getStatus().getName();
req.getStatus().getName() + req.getId();
return checkStr.toLowerCase().contains(filterValue.toLowerCase());
}
......
......@@ -111,10 +111,12 @@ public class RequirementsOverviewFXEditorUIProvider
case 1:
return req.getStatus().toString();
case 2:
return req.getName();
return req.getReqId();
case 3:
return req.getDescription();
return req.getName();
case 4:
return req.getDescription();
case 5:
return req.getComment();
default:
return "-";
......
Markdown is supported
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