AT: committing changes to the TaxEditor Post second round of code review
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / descriptive / handler / CreateDescriptionHandler.java
index fafdd96c0fcd3a532822ccf4c412b24b3c8ee954..33c4e91f1d9560305415ecf1208b3758cb8873a3 100644 (file)
@@ -63,6 +63,13 @@ public class CreateDescriptionHandler extends AbstractHandler {
                return null;
        }
        
+       /**Comments for funtion createOperationInstance
+        * The function is used to make the specific object creation more generic
+        * @param eventLabel
+        * @param taxon
+        * @param postOperationEnabled
+        * @return
+        */
        protected AbstractPostOperation createOperationInstance(String eventLabel, Taxon taxon, IPostOperationEnabled postOperationEnabled) {
                // TODO use undo context specific to editor     
                return new CreateTaxonDescriptionOperation(eventLabel,  EditorUtil.getUndoContext(), taxon, postOperationEnabled);