Commit
f3fde2dea965f6c4f47c24291bf83e9a9c63d101
by Lisa-Marie SaruAdd custom sort for TCFNodeModule objects
Main change:
- Applies to: org.eclipse.tcf/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeModule.java
- Add custom sorting for TCFNodeModule objects by allowing of setting the sort position attribute.
- Add flag for default sorting
Impacts:
- Applies to: org.eclipse.tcf/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFChildrenModules.java
- Solution (implemented):
- check if default sorting flag is enabled and proceed with current implementation
- else, use sorting position established by client
- flag checking needed so the sorting position will not be overwritten
Useful for:
- Sort Modules view nodes based on different criteria