Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Common Navigator Framework (CNF) Sorting Problem
Common Navigator Framework (CNF) Sorting Problem [message #1043879] Thu, 18 April 2013 08:12
Christian Mathis is currently offline Christian MathisFriend
Messages: 4
Registered: July 2009
Junior Member
In my RCP I have a Common Navigator based viewer.
The children of one parent are provided by multiple navigatorContents.

Parent (Content A)
|-child1 (B)
|-child3 (D)
|-child2 (C)
|-child4 (B)


I am aware that I can sort the contents of the different navigatorContents by priority. Leading to something like:

Parent (Content A)
|-child1 (B)
|-child4 (B)
|-child2 (C)
|-child3 (D)

What I would like to do is sort over multiple content providers to get:

Parent (Content A)
|-child1 (B)
|-child2 (C)
|-child3 (D)
|-child4 (B)

I had the impression that sortOnly navigatorContent was supposed to do exactly that. But my sortOnly content never becomes active.

Looking at the code of CommonViewerSorter it looks like at least one content that provides children needs to trigger on the two children to sort before the CommonViewerSorter is even looking for a sorter.

In my case the content provider of one type of children does not know the other children and the sortOnly content does not provide the children.

Is this a bug in CommonViewerSorter?






Previous Topic:Custom visible-when in standalone RCP application
Next Topic:How to enable handler with condition like context1 || context2 || context3
Goto Forum:
  


Current Time: Wed Apr 24 20:34:39 GMT 2024

Powered by FUDForum. Page generated in 0.03086 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top