import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;\r
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;\r
\r
+/**\r
+ * The context manager mediates context start/stop and workbench shutdowns to all registered listeners.\r
+ *\r
+ * @author a.theys \r
+ * @created mar 13, 2012\r
+ * @version 1.0\r
+ */\r
public class CreateUseHandler extends AbstractHandler {\r
/* (non-Javadoc)\r
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)\r
Taxon taxon = ((TaxonEditorInput) input).getTaxon(); \r
AbstractPostOperation operation;\r
try {\r
- // TODO use undo context specific to editor\r
operation = new CreateTaxonUseOperation(event.getCommand().getName(), \r
EditorUtil.getUndoContext(), taxon, postOperationEnabled);\r
EditorUtil.executeOperation(operation);\r