1 |
db5e366d
|
n.hoffmann
|
/**
|
2 |
|
|
* Copyright (C) 2007 EDIT
|
3 |
|
|
* European Distributed Institute of Taxonomy
|
4 |
|
|
* http://www.e-taxonomy.eu
|
5 |
|
|
*
|
6 |
|
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7 |
|
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8 |
|
|
*/
|
9 |
|
|
|
10 |
|
|
package eu.etaxonomy.taxeditor.bulkeditor;
|
11 |
|
|
|
12 |
|
|
import java.util.Comparator;
|
13 |
|
|
import java.util.Map;
|
14 |
|
|
import java.util.Set;
|
15 |
|
|
|
16 |
|
|
/**
|
17 |
|
|
* @author n.hoffmann
|
18 |
|
|
* @created Dec 14, 2010
|
19 |
|
|
* @version 1.0
|
20 |
|
|
*/
|
21 |
|
|
public interface IBulkEditorSortProvider<T> {
|
22 |
|
|
|
23 |
|
|
/**
|
24 |
|
|
*
|
25 |
|
|
*/
|
26 |
|
|
public Map<String, Comparator<T>> getComparators();
|
27 |
|
|
|
28 |
|
|
public Set<String> getComparatorNames();
|
29 |
|
|
|
30 |
|
|
public Comparator<T> getComparatorByName(String name);
|
31 |
|
|
}
|