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
.ViewerComparator
;
18 * Viewer sorter for TMF project model elements
20 public class TmfViewerSorter
extends ViewerComparator
{
23 public int category(Object element
) {
24 if (element
instanceof TmfExperimentFolder
) {
27 if (element
instanceof TmfTraceFolder
) {
30 if (element
instanceof TmfExperimentElement
) {
33 if (element
instanceof TmfTraceElement
) {
This page took 0.033652 seconds and 5 git commands to generate.