Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/IBulkEditorSortMenuProvider.java | ||
---|---|---|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor.bulkeditor; |
|
12 |
|
|
13 |
|
|
14 |
import org.eclipse.swt.widgets.Menu; |
|
15 |
import org.eclipse.ui.IEditorInput; |
|
16 |
|
|
17 |
/** |
|
18 |
* @author p.ciardelli |
|
19 |
* @created 19.08.2009 |
|
20 |
* @version 1.0 |
|
21 |
*/ |
|
22 |
public interface IBulkEditorSortMenuProvider { |
|
23 |
|
|
24 |
/** |
|
25 |
* Fills a menu with MenuItems representing sort options specific to the IEditorInput. |
|
26 |
* <p> |
|
27 |
* Populates each MenuItem with a Comparator associated with the sort option. |
|
28 |
* |
|
29 |
* @param input |
|
30 |
* @param menu |
|
31 |
* @return |
|
32 |
*/ |
|
33 |
Menu fillMenu(IEditorInput input, Menu menu); |
|
34 |
} |
|
1 |
// $Id$ |
|
2 |
/** |
|
3 |
* Copyright (C) 2007 EDIT |
|
4 |
* European Distributed Institute of Taxonomy |
|
5 |
* http://www.e-taxonomy.eu |
|
6 |
* |
|
7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
9 |
*/ |
|
10 |
|
|
11 |
package eu.etaxonomy.taxeditor.bulkeditor; |
|
12 |
|
|
13 |
|
|
14 |
import org.eclipse.swt.widgets.Menu; |
|
15 |
import org.eclipse.ui.IEditorInput; |
|
16 |
|
|
17 |
/** |
|
18 |
* <p>IBulkEditorSortMenuProvider interface.</p> |
|
19 |
* |
|
20 |
* @author p.ciardelli |
|
21 |
* @created 19.08.2009 |
|
22 |
* @version 1.0 |
|
23 |
*/ |
|
24 |
public interface IBulkEditorSortMenuProvider { |
|
25 |
|
|
26 |
/** |
|
27 |
* Fills a menu with MenuItems representing sort options specific to the IEditorInput. |
|
28 |
* <p> |
|
29 |
* Populates each MenuItem with a Comparator associated with the sort option. |
|
30 |
* |
|
31 |
* @param input a {@link org.eclipse.ui.IEditorInput} object. |
|
32 |
* @param menu a {@link org.eclipse.swt.widgets.Menu} object. |
|
33 |
* @return a {@link org.eclipse.swt.widgets.Menu} object. |
|
34 |
*/ |
|
35 |
Menu fillMenu(IEditorInput input, Menu menu); |
|
36 |
} |
Also available in: Unified diff
performed javacscript:fix and worked on documentation