package com.interpress_project.modernshare.client.view.remotefs;

import com.interpress_project.modernshare.client.controller.model.ISVNFileItem;
import org.eclipse.jface.viewers.ViewerSorter;

public class RemoteTreeFileSorter extends ViewerSorter {
	/**
	 * category
	 * @param element Object
	 * @return int
	 */
	public int category(Object element) {
		return ((ISVNFileItem) element).isDirectory() ? 0 : 1;
	}
}