Revision 953c844d
Added by Alex Theys almost 12 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/uses/handler/CreateUseHandler.java | ||
---|---|---|
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 |
*/ |
|
1 | 9 |
package eu.etaxonomy.taxeditor.editor.view.uses.handler; |
2 | 10 |
|
3 |
import org.eclipse.core.commands.AbstractHandler; |
|
4 |
import org.eclipse.core.commands.ExecutionEvent; |
|
5 |
import org.eclipse.core.commands.ExecutionException; |
|
6 |
import org.eclipse.core.commands.common.NotDefinedException; |
|
7 |
import org.eclipse.ui.IEditorInput; |
|
8 |
import org.eclipse.ui.IEditorPart; |
|
9 |
import org.eclipse.ui.IWorkbenchPart; |
|
10 |
import org.eclipse.ui.forms.editor.FormEditor; |
|
11 |
import org.eclipse.ui.handlers.HandlerUtil; |
|
12 |
|
|
13 | 11 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
14 | 12 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
15 |
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput; |
|
16 | 13 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler; |
17 |
import eu.etaxonomy.taxeditor.editor.view.descriptive.operation.CreateTaxonDescriptionOperation; |
|
18 | 14 |
import eu.etaxonomy.taxeditor.editor.view.uses.operation.CreateTaxonUseOperation; |
19 | 15 |
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation; |
20 | 16 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
21 | 17 |
|
22 | 18 |
/** |
23 |
* The context manager mediates context start/stop and workbench shutdowns to all registered listeners. |
|
24 |
* |
|
19 |
* CreateUseHandler Class |
|
25 | 20 |
* @author a.theys |
26 | 21 |
* @created mar 13, 2012 |
27 | 22 |
* @version 1.0 |
Also available in: Unified diff
AT: committing changes to the TaxEditor Post second round of code review