Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 291767

Summary: GraphViewer not able to sort
Product: [Tools] GEF Reporter: Christian Sowada <eclipse>
Component: GEF-Legacy ZestAssignee: gef-inbox <gef-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: irbull, nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Christian Sowada CLA 2009-10-08 11:02:09 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: M20090211-1700

GraphViewer extends the StructuredViewer class, but it can't sort nodes in graph. I has search the source, but i can't find any sort method.

Reproducible: Always
Comment 1 Ian Bull CLA 2009-10-29 15:55:01 EDT
I'm not really sure "sort" makes sense in a graph.  In a list i can understand this.  In a graph the concept of a layout is more attractive.  

Do you have an idea of what "sort" should do?
Comment 2 Christian Sowada CLA 2009-10-30 10:08:24 EDT
I think its very intresting in a horizontal Treelayout. We use this for group an member displaying. in a group are often more then 50 persons. In this situation ist good to sort the members.

but i've a solution for my problem. i set a comperator for the layoutmanager. This comperator alway retuns 0. after this step i can sort on my content provider.
Comment 3 Alexander Nyßen CLA 2015-09-27 13:28:43 EDT
Resolving as invalid due to comment #2.