diff options
Diffstat (limited to 'examples/gmf/org.eclipse.gmf.examples.mindmap.diagram/src/org/eclipse/gmf/examples/mindmap/diagram/navigator/MindmapNavigatorSorter.java')
-rw-r--r-- | examples/gmf/org.eclipse.gmf.examples.mindmap.diagram/src/org/eclipse/gmf/examples/mindmap/diagram/navigator/MindmapNavigatorSorter.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/gmf/org.eclipse.gmf.examples.mindmap.diagram/src/org/eclipse/gmf/examples/mindmap/diagram/navigator/MindmapNavigatorSorter.java b/examples/gmf/org.eclipse.gmf.examples.mindmap.diagram/src/org/eclipse/gmf/examples/mindmap/diagram/navigator/MindmapNavigatorSorter.java deleted file mode 100644 index 5a450718b..000000000 --- a/examples/gmf/org.eclipse.gmf.examples.mindmap.diagram/src/org/eclipse/gmf/examples/mindmap/diagram/navigator/MindmapNavigatorSorter.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.eclipse.gmf.examples.mindmap.diagram.navigator; - -import org.eclipse.gmf.examples.mindmap.diagram.part.MindmapVisualIDRegistry; -import org.eclipse.jface.viewers.ViewerSorter; - -/** - * @generated - */ -public class MindmapNavigatorSorter extends ViewerSorter { - - /** - * @generated - */ - private static final int GROUP_CATEGORY = 3003; - - /** - * @generated - */ - public int category(Object element) { - if (element instanceof MindmapNavigatorItem) { - MindmapNavigatorItem item = (MindmapNavigatorItem) element; - return MindmapVisualIDRegistry.getVisualID(item.getView()); - } - return GROUP_CATEGORY; - } - -} |