Revision 0f993a84
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/TaxonNavigatorE4.java | ||
---|---|---|
85 | 85 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
86 | 86 |
import eu.etaxonomy.taxeditor.store.LoginManager; |
87 | 87 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
88 |
import eu.etaxonomy.taxeditor.workbench.part.ICollapsable; |
|
88 | 89 |
|
89 | 90 |
/** |
90 | 91 |
* |
... | ... | |
94 | 95 |
*/ |
95 | 96 |
public class TaxonNavigatorE4 implements |
96 | 97 |
IPostOperationEnabled, IConversationEnabled, Observer, |
97 |
ICdmEntitySessionEnabled, ICdmChangeListener, IContextListener { |
|
98 |
ICdmEntitySessionEnabled, ICdmChangeListener, IContextListener, |
|
99 |
ICollapsable { |
|
98 | 100 |
|
99 | 101 |
private static final String RESTORING_TAXON_NAVIGATOR = Messages.TaxonNavigator_RESTORE; |
100 | 102 |
|
... | ... | |
374 | 376 |
return new TreePath(pathList.toArray()); |
375 | 377 |
} |
376 | 378 |
|
379 |
/** |
|
380 |
* {@inheritDoc} |
|
381 |
*/ |
|
382 |
@Override |
|
383 |
public void collapse() { |
|
384 |
viewer.collapseAll(); |
|
385 |
} |
|
386 |
|
|
377 | 387 |
@Override |
378 | 388 |
public ConversationHolder getConversationHolder() { |
379 | 389 |
return conversation; |
Also available in: Unified diff
ref #6925 Implemente generic CollapseHandler