Revision 593915d2
Added by Patrick Plitzner over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/FeatureTreeEditor.java | ||
---|---|---|
79 | 79 |
IE4ViewerPart, IPartContentHasDetails, IPartContentHasSupplementalData, |
80 | 80 |
IContextListener, IConversationEnabled, IDirtyMarkable { |
81 | 81 |
|
82 |
private static final List<String> TREE_PROPERTY_PATH = Arrays.asList(new String[] { |
|
83 |
"root", //$NON-NLS-1$ |
|
84 |
"root.children", //$NON-NLS-1$ |
|
85 |
"root.children.inapplicableIf", //$NON-NLS-1$ |
|
86 |
"root.children.inapplicableIf.feature", //$NON-NLS-1$ |
|
87 |
"root.children.inapplicableIf.state", //$NON-NLS-1$ |
|
88 |
"root.children.onlyApplicableIf", //$NON-NLS-1$ |
|
89 |
"root.children.onlyApplicableIf.feature", //$NON-NLS-1$ |
|
90 |
"root.children.onlyApplicableIf.state", //$NON-NLS-1$ |
|
91 |
}); |
|
92 |
|
|
82 | 93 |
private ConversationHolder conversation; |
83 | 94 |
|
84 | 95 |
private ICdmEntitySession cdmEntitySession; |
... | ... | |
135 | 146 |
} |
136 | 147 |
}); |
137 | 148 |
|
138 |
List<TermTree> trees = CdmStore.getService(ITermTreeService.class).list(TermTree.class, null, null, null, null);
|
|
149 |
List<TermTree> trees = CdmStore.getService(ITermTreeService.class).list(TermTree.class, null, null, null, TREE_PROPERTY_PATH);
|
|
139 | 150 |
viewer.setComparator(new FeatureTreeViewerComparator()); |
140 | 151 |
viewer.setInput(trees); |
141 | 152 |
|
Also available in: Unified diff
ref #8475 First (unstable) implementation of FeatureState details