Project

General

Profile

Download (1.08 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
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 org.eclipse.core.commands.operations.IOperationHistory;
13
import org.eclipse.core.commands.operations.IUndoContext;
14

    
15
import eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin;
16
import eu.etaxonomy.taxeditor.model.AbstractUtility;
17

    
18
/**
19
 * <p>BulkEditorUtil class.</p>
20
 *
21
 * @author n.hoffmann
22
 * @created Mar 12, 2010
23
 * @version 1.0
24
 */
25
public class BulkEditorUtil extends AbstractUtility{
26

    
27

    
28
	/**
29
	 * <p>getPluginId</p>
30
	 *
31
	 * @return a {@link java.lang.String} object.
32
	 */
33
	public static String getPluginId(){
34
		return TaxeditorBulkeditorPlugin.PLUGIN_ID;
35
	}
36

    
37
	/**
38
	 * <p>getUndoContext</p>
39
	 *
40
	 * @return a {@link org.eclipse.core.commands.operations.IUndoContext} object.
41
	 */
42
	public static IUndoContext getUndoContext(){
43
		return IOperationHistory.GLOBAL_UNDO_CONTEXT;
44
	}
45
}
(7-7/10)