1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.project
.model
;
15 import org
.eclipse
.jface
.viewers
.ViewerSorter
;
18 * Viewer sorter for TMF project model elements
22 public class TmfViewerSorter
extends ViewerSorter
{
25 public int category(Object element
) {
26 if (element
instanceof TmfExperimentFolder
) {
29 if (element
instanceof TmfTraceFolder
) {
32 if (element
instanceof TmfExperimentElement
) {
35 if (element
instanceof TmfTraceElement
) {
This page took 0.031944 seconds and 5 git commands to generate.