Merge branch 'hotfix/4.8.2' 4.8.2
authorjenkins <jenkins-int@bgbm.org>
Tue, 11 Jul 2017 09:23:41 +0000 (11:23 +0200)
committerjenkins <jenkins-int@bgbm.org>
Tue, 11 Jul 2017 09:23:41 +0000 (11:23 +0200)
40 files changed:
eu.etaxonomy.taxeditor.application/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.application/pom.xml
eu.etaxonomy.taxeditor.bulkeditor/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.bulkeditor/pom.xml
eu.etaxonomy.taxeditor.cdmlib/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.cdmlib/pom.xml
eu.etaxonomy.taxeditor.editor/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.editor/plugin.xml
eu.etaxonomy.taxeditor.editor/pom.xml
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/handler/OpenDerivateViewHandler.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/MisapplicationContainer.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
eu.etaxonomy.taxeditor.feature.platform/feature.xml
eu.etaxonomy.taxeditor.feature.platform/pom.xml
eu.etaxonomy.taxeditor.feature/feature.xml
eu.etaxonomy.taxeditor.feature/pom.xml
eu.etaxonomy.taxeditor.help/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.help/pom.xml
eu.etaxonomy.taxeditor.molecular.lib/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.molecular.lib/pom.xml
eu.etaxonomy.taxeditor.molecular/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.molecular/pom.xml
eu.etaxonomy.taxeditor.navigation/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.navigation/pom.xml
eu.etaxonomy.taxeditor.printpublisher/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.printpublisher/pom.xml
eu.etaxonomy.taxeditor.store/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.store/pom.xml
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailElement.java
eu.etaxonomy.taxeditor.test/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.test/pom.xml
eu.etaxonomy.taxeditor.webapp/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.webapp/pom.xml
eu.etaxonomy.taxeditor.workbench/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.workbench/pom.xml
eu.etaxonomy.taxeditor.workbench/src/main/java/eu/etaxonomy/taxeditor/workbench/OpenPartHandler.java
eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product
eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product.with.jre
eu.etaxonomy.taxeditor/pom.xml
pom.xml

index 43f7b80fd34686ab7f5d077ed2d7978fd4e982c3..7b56be4259f0b8d8ab098073420a4ce869d7deba 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Application
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.application;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.TaxonomicEditorPlugin
 Bundle-Vendor: EDIT
 Bundle-Localization: OSGI-INF/l10n/plugin
index 6b8e690e15bdd254d838e9d58c1c708994f955cf..165f55ba5548d2f81d67a7e9e491ddd89a7ecfe6 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
index e871a5a5bc978b1309b34d948f9ccebf90814b00..003b49dca92555e8573b3405af43815779832da7 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Bulkeditor Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.bulkeditor;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin
 Bundle-Vendor: EDIT
 Export-Package: eu.etaxonomy.taxeditor.annotatedlineeditor,
index 03c58660835fe06cf1304ed44a15227a7d19df32..4491a90362db48ad327681eeee5933dc72971b68 100644 (file)
@@ -3,7 +3,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>4.8.1</version>
+               <version>4.8.2</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index 443c2a1fe371b4fba48c5ecde6591776356b622a..a47ead60939542e66e1509b626810031c067507c 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: CDM Library Dependencies Plugin
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.cdmlib;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Eclipse-BundleShape: dir
 Export-Package: com.google.api,
  com.google.api.detect,
index c32deb99c2a5f048499e806cd88f486f104e4cfe..415c7dea813de38ba379899a800314b2a807d85d 100644 (file)
@@ -4,7 +4,7 @@
   <parent>\r
     <groupId>eu.etaxonomy</groupId>\r
     <artifactId>taxeditor-parent</artifactId>\r
-    <version>4.8.1</version>\r
+    <version>4.8.2</version>\r
   </parent>\r
   <modelVersion>4.0.0</modelVersion>\r
   <artifactId>eu.etaxonomy.taxeditor.cdmlib</artifactId>\r
index 58a90c7db224b98590c911555c7af1162f75ebbd..38a3f98ccfa60c0d53db5a66f7eebb391f4672f7 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Editor Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.editor;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin
 Bundle-Vendor: %Bundle-Vendor.0
 Bundle-Localization: OSGI-INF/l10n/plugin
index 9251c68878a1a815c2103fe09d6f574f15afe0f3..7f5bbd62ae4fac9b9ff680e2a7bd667d7e7e4829 100644 (file)
       </menuContribution>
       <menuContribution
             allPopups="false"
-            locationURI="popup:bulkeditor.editor?before=taxeditor-bulkeditor.separator1">
+            locationURI="popup:bulkeditor.editor">
          <command
                commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
                label="%command.label.45"
index 171cda421d5ec77a0e594bd833f62145663a006c..9e452ad6dc21dd742f357b1e3341d92603dfd29e 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
        <groupId>eu.etaxonomy</groupId>
        <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
index 646f4160b4fdba07afb3b660aa21174af334529a..ed764a4d635b9bcdb7db483707375887efa6aff5 100644 (file)
@@ -16,8 +16,9 @@ public class OpenDerivateViewHandler extends AbstractHandler {
 
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
-        MPart part = TaxeditorStorePlugin.getDefault().getWorkbench().getService(EPartService.class).showPart(
-                AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_EDITOR_VIEW_DERIVATE_DERIVATEVIEW, PartState.ACTIVATE);
+        EPartService partService = TaxeditorStorePlugin.getDefault().getWorkbench().getService(EPartService.class);
+        MPart part = partService.createPart(AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_EDITOR_VIEW_DERIVATE_DERIVATEVIEW);
+        partService.showPart(part, PartState.ACTIVATE);
         DerivateView derivateView = (DerivateView) part.getObject();
         derivateView.init(new DerivateViewEditorInput());
         return null;
index 71d4c0a9adcdfc431fd18d8c5986f8c5da9a738a..d505635d6318373c4e06c71a9e4a6d6b88fce348 100644 (file)
@@ -9,8 +9,6 @@
 
 package eu.etaxonomy.taxeditor.editor.name.container;
 
-import javax.persistence.GenerationType;
-
 import org.apache.commons.lang.StringUtils;
 import org.eclipse.swt.graphics.Font;
 
@@ -30,7 +28,6 @@ import eu.etaxonomy.taxeditor.preference.Resources;
  *
  * @author p.ciardelli
  * @created 13.01.2009
- * @version 1.0
  */
 public class MisapplicationContainer extends AbstractGroupedContainer<Taxon> {
        TaxonRelationship misapplication;
@@ -47,10 +44,6 @@ public class MisapplicationContainer extends AbstractGroupedContainer<Taxon> {
                
        }
 
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.taxeditor.editor.name.NameComposite#initializeComposite()
-        */
        /** {@inheritDoc} */
        @Override
        protected void initializeComposite() {
@@ -80,31 +73,27 @@ public class MisapplicationContainer extends AbstractGroupedContainer<Taxon> {
                }
                String title = "";
                String author = "";
-               TaxonName misappliedNameName = HibernateProxyHelper.deproxy(getMisappliedName().getName(), TaxonName.class);
-               if (misappliedNameName.getAuthorshipCache() != null && !StringUtils.isBlank(misappliedNameName.getAuthorshipCache())&& getMisappliedName().getAppendedPhrase() == null){
+               TaxonName misappliedNameName = HibernateProxyHelper.deproxy(getMisappliedName().getName());
+               if (StringUtils.isNotBlank(misappliedNameName.getAuthorshipCache())){
                        author = ", non " + misappliedNameName.getAuthorshipCache();
                }
-               if (misapplication.getCitation() == null) {
+               if (getMisappliedName().getSec() == null) {
                    if (getMisappliedName().getAppendedPhrase() != null ){
                        title = getMisappliedName().getAppendedPhrase();
                    }else{
-                       title = "auct."; //$NON-NLS-1$
+                       title = "auct.";
                        
                    }
                  
                } else {
-                       String sec = " sensu "; //$NON-NLS-1$
+                       String sec = " sensu ";
                        if (getMisappliedName().getAppendedPhrase() != null ){
-                           sec = getMisappliedName().getAppendedPhrase() + " "+sec; //$NON-NLS-1$
+                           sec = getMisappliedName().getAppendedPhrase() + " " + sec;
                        }
                        title += sec + getMisappliedName().getSec().getTitleCache();
-                       
-                       
-                       
-                       
                }
                title += author;
-               title = title.replace("&", "&&"); //$NON-NLS-1$ //$NON-NLS-2$
+               title = title.replace("&", "&&");
                setNonEditableInfo(title, false);
        }
 
@@ -123,9 +112,6 @@ public class MisapplicationContainer extends AbstractGroupedContainer<Taxon> {
                return EditorUtil.getFont(Resources.MISAPPLIEDNAME_FONT);
        }
 
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.taxeditor.editor.name.container.AbstractGroupedContainer#showAnnotations()
-        */
        @Override
        public void showAnnotations() {
                if(getData().getSec() == null){
@@ -142,10 +128,6 @@ public class MisapplicationContainer extends AbstractGroupedContainer<Taxon> {
                showSec();
        }
 
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.taxeditor.editor.name.AbstractGroupedContainer#updateIndent()
-        */
        @Override
        protected void updateIndent() {
                setIndent(MISAPPLIEDNAME_INDENT);
index 8242ef97deacb82f1b65622b39fe2af30764ffbd..1f5a542f37b5d360a789b754f43e38e7c0842ac5 100644 (file)
@@ -24,7 +24,6 @@ import org.eclipse.e4.ui.model.application.ui.MDirtyable;
 import org.eclipse.e4.ui.model.application.ui.basic.MPart;
 import org.eclipse.e4.ui.services.EMenuService;
 import org.eclipse.e4.ui.services.IServiceConstants;
-import org.eclipse.e4.ui.workbench.modeling.EPartService;
 import org.eclipse.e4.ui.workbench.modeling.ESelectionService;
 import org.eclipse.jface.util.LocalSelectionTransfer;
 import org.eclipse.jface.viewers.AbstractTreeViewer;
@@ -148,9 +147,6 @@ public class DerivateView implements IPartContentHasFactualData, IConversationEn
     @Inject
     private MDirtyable dirty;
 
-    @Inject
-    private EPartService partService;
-
     private ISelectionChangedListener selectionChangedListener;
 
     /**
@@ -361,8 +357,9 @@ public class DerivateView implements IPartContentHasFactualData, IConversationEn
         if(cdmEntitySession != null) {
             cdmEntitySession.bind();
         }
-        if(derivateSearchCompositeController!=null) {
-            derivateSearchCompositeController.setFocusOnSearchField();
+        if(viewer!=null) {
+            viewer.getControl().setFocus();
+            selService.setSelection(viewer.getSelection());
         }
     }
 
index 6b75db29de726b43b1f3b45dbc2ad193abc1a7c3..7c6d29c7348924d18f7c1abf9d5de114f36caf29 100644 (file)
@@ -2,7 +2,7 @@
 <feature
       id="eu.etaxonomy.taxeditor.feature.platform"
       label="Taxeditor Dependencies"
-      version="4.8.1"
+      version="4.8.2"
       os="linux,macosx,win32"
       ws="cocoa,gtk,win32"
       arch="x86,x86_64">
index 46900cb6788b1579652fedfc61bf2f4dbf08eb54..64bcdf1fcc91e019b3ac29c0ded7df3935fc1ba4 100644 (file)
@@ -3,7 +3,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>4.8.1</version>
+               <version>4.8.2</version>
        </parent>
        <modelVersion>4.0.0</modelVersion>
        <artifactId>eu.etaxonomy.taxeditor.feature.platform</artifactId>
index cd7dbdd6261f931012a3a47581312a9feda8d2e6..a71bc49f00cef30f9ca47eeb2a74ce3a3f909bb1 100644 (file)
@@ -2,7 +2,7 @@
 <feature
       id="eu.etaxonomy.taxeditor.feature"
       label="Taxonomic Editor"
-      version="4.8.1"
+      version="4.8.2"
       provider-name="EDIT"
       plugin="eu.etaxonomy.taxeditor.application"
       os="linux,macosx,win32"
index a0a71811145ce7715d796fe7cbedf610a119b31a..3c2ca8b52110fbd26a5a22f4322d847b1b3e315d 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>eu.etaxonomy.taxeditor.feature</artifactId>
index 7d14c7158feca492a15496feb574d4f50d47f559..c538a0277389eeee1d3d270c5c61940453876896 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Help
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.help; singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.help.Activator
 Bundle-Vendor: EDIT
 Require-Bundle: org.eclipse.ui,
index 955204bc059fd8ae510f196f6cdad544c7404bf8..467fd4a481bd77e96c8b01d55e0346f90e5a4f4e 100644 (file)
@@ -3,7 +3,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>4.8.1</version>
+               <version>4.8.2</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index 456673c4ff2ab5d7b31dc0593aef4d026afdbaa5..9669d64807d15afdd5c3cfbb716a34f8bc5f473d 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: eu.etaxonomy.taxeditor.molecular.lib
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.molecular.lib;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-ClassPath: .,
  lib/owlapi-xmlutils-4.1.4.jar,
  lib/commons-collections4-4.1.jar,
index ad04ad7c0b80b69cd116ae537d33c1c0e5cbf32c..6f26658ea388051929372cf0740952a0a8e946df 100644 (file)
@@ -7,7 +7,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
   
   <name>Molecular Library Dependencies Bundle</name>
index c7dcd5b6f71b9dd86eb1213b5c415733b93ceacc..7bc93c556e5b2684731febaa36bb0378e1aaddbe 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Molecular Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.molecular;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.molecular.TaxeditorMolecularPlugin
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,
index 8dfb96b026e179cff3bc5c77950505eba58c1d54..10e9259bb199ebe421f3b86a48842d841c3bb8a8 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
index 53026098c1b6084da143f6f4ae8fbcc8b1be19e7..f6c5bd2ecf1e0e885e7b45b35aeac0f1e26fe0d5 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Navigation Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.navigation;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.navigation.internal.TaxeditorNavigationPlugin
 Bundle-Vendor: EDIT
 Export-Package: eu.etaxonomy.cdm,
index ca2b44ca94e98f5b9ed5b13aa52895b70fdab0af..5ed60a66ebdd60699db3e22bd5265f6ad7e9acb8 100644 (file)
@@ -3,7 +3,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>4.8.1</version>
+               <version>4.8.2</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index 9e282dc65abaea83093366daf8b956dd68c5b7dc..e8087fbcf7a7b0a1ab074fd26857e887d99cf729 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Printpublisher Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.printpublisher;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Require-Bundle: org.eclipse.osgi,
  org.eclipse.ui,
  eu.etaxonomy.taxeditor.cdmlib,
index 787057b5d7ec220b28a3a4e4edcfa7ff94550966..78eb21faac63060cc374dda0a62a50f3389bd5b2 100644 (file)
@@ -3,7 +3,7 @@
        <parent>
                <artifactId>taxeditor-parent</artifactId>
                <groupId>eu.etaxonomy</groupId>
-               <version>4.8.1</version>
+               <version>4.8.2</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index f1d6d67bbf8b55387b79f837fba21ea36ef2fa3f..880936974098d9f86bfe2ec8f73c361076f91c0a 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: DataStore Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.store;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin
 Bundle-Vendor: EDIT
 Bundle-Localization: OSGI-INF/l10n/bundle
index e47ebf0cde5e300ae15253cd016cfd4be231b0e9..adcfca4e969134de3026a47d34207e8da8727297 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
        <groupId>eu.etaxonomy</groupId>
        <artifactId>taxeditor-parent</artifactId>
-       <version>4.8.1</version>
+       <version>4.8.2</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
index 4ec672132fe5811b23913d1eff383a6043bc4edd..479fc85f7731ae8919dbd3eb04a5f397f543864d 100644 (file)
@@ -106,7 +106,7 @@ public class TaxonRelationshipDetailElement extends AbstractCdmDetailElement<Tax
                        
                        
                secReference = formFactory.createSelectionElement(Reference.class,
-                               getConversationHolder(), formElement, "Err. Secundum",
+                               getConversationHolder(), formElement, "Misappl. Sec.",
                                entity.getCitation(), EntitySelectionElement.ALL,
                                style);
        
@@ -115,7 +115,7 @@ public class TaxonRelationshipDetailElement extends AbstractCdmDetailElement<Tax
                    entity.getCitationMicroReference(),null,
                    SWT.WRAP);
                checkbox_doubtful = formFactory.createCheckbox(formElement,
-                               "Misappl. doubtful", entity.isDoubtful(), style);
+                               "Misappl. Doubtful", entity.isDoubtful(), style);
 
                
        }
@@ -140,17 +140,17 @@ public class TaxonRelationshipDetailElement extends AbstractCdmDetailElement<Tax
        } else if (eventSource == checkbox_doubtful) {
                taxon.setDoubtful(checkbox_doubtful.getSelection());
        }  else if (eventSource == secReference) {
-               taxon.setSec(secReference.getSelection());
+               getEntity().setCitation(secReference.getSelection());
        } else if (eventSource == text_appendedPhrase) {
                taxon.setAppendedPhrase(text_appendedPhrase.getText());
        } else if (eventSource == text_secundum_microreference) {
-        taxon.setSecMicroReference(text_secundum_microreference.getText());
+               getEntity().setCitationMicroReference(text_secundum_microreference.getText());
        } else if (eventSource == checkbox_published) {
            taxon.setPublish(checkbox_published.getSelection());
        } else if (eventSource == text_sensu_microreference) {
-        getEntity().setCitationMicroReference(text_sensu_microreference.getText());
+        taxon.setSecMicroReference(text_sensu_microreference.getText());
        }else if (eventSource == sensuReference) {
-                getEntity().setCitation(sensuReference.getSelection());
+               taxon.setSec(sensuReference.getSelection());
        }
        }
        
index 489d29c6a68d922307672edbd135f9a74f75bbd7..7b54ee93ae73491b5dd6c80000b612522848656a 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: eu.etaxonomy.taxeditor.test
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.test;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-ActivationPolicy: lazy
 Bundle-Vendor: EDIT
 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
index b9617ca60d4a92f54a76ec2fdf98e29b21942fc5..5f3d7f201e83de7e1efcb0e71f550d97258ce180 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
   <artifactId>eu.etaxonomy.taxeditor.test</artifactId>
   <packaging>eclipse-test-plugin</packaging>
index 580dd64395d0042d232e0d0c96ed2b09b7f3c560..ebb82b8195d297fc0c6219a180d0fb2077297639 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Webapp
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.webapp;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Require-Bundle: org.eclipse.core.runtime
 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
 Bundle-ActivationPolicy: lazy
index 0af11a89d6ae7fb69c18e752649197af534ef1b6..c672aa4db3282aabc477f40a32117af0d1f07fca 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>eu.etaxonomy.taxeditor.webapp</artifactId>
index 11f41ed59c9f37e21de58f1e5922389dac6a7033..9ad354ec1567a064c9097852ef5be9a9029c3052 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Workbench Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.workbench;singleton:=true
-Bundle-Version: 4.8.1
+Bundle-Version: 4.8.2
 Bundle-Activator: eu.etaxonomy.taxeditor.workbench.Activator
 Bundle-Vendor: EDIT
 Require-Bundle: org.eclipse.ui,
index 8448651643a7d822d09d31faae351db8519ca882..c3137b910917a71b8e7271a8784f0cfaec45b080 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
index a9079dbe96218236c503512d66118cb7b4d7d806..26f2e7dadf39ef799ea4106332fd27a91a0e0d2c 100644 (file)
@@ -6,6 +6,7 @@ import java.util.Map;
 import org.eclipse.core.commands.ParameterizedCommand;
 import org.eclipse.e4.core.di.annotations.CanExecute;
 import org.eclipse.e4.core.di.annotations.Execute;
+import org.eclipse.e4.ui.model.application.ui.basic.MPart;
 import org.eclipse.e4.ui.workbench.modeling.EPartService;
 import org.eclipse.e4.ui.workbench.modeling.EPartService.PartState;
 
@@ -19,7 +20,8 @@ public class OpenPartHandler {
         }
         Map parameterMap = commandParameters.getParameterMap();
         String partId = parameterMap.get(AppModelId.COMMANDPARAMETER_EU_ETAXONOMY_TAXEDITOR_WORKBENCH_COMMANDPARAMETER_PARTNAME).toString();
-        partService.showPart(partId, PartState.ACTIVATE);
+        MPart part = partService.createPart(partId);
+        partService.showPart(part, PartState.ACTIVATE);
     }
 
     @CanExecute
index 427c1b8ee082d7e5c742dbad67e4673d61703565..f4520de26576c531a6b637b85ab5857b4396d062 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<?pde version="3.5"?><product application="eu.etaxonomy.taxeditor.application.application" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" includeLaunchers="true" name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product" useFeatures="true" version="4.8.1">
+<?pde version="3.5"?><product application="eu.etaxonomy.taxeditor.application.application" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" includeLaunchers="true" name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product" useFeatures="true" version="4.8.2">
   <aboutInfo>
     <image path="/eu.etaxonomy.taxeditor.application/icons/256color_48x48.gif"/>
     <text>
index ed94cc8831adaf6eddf121842a5731a53d5621e3..d54e890e95fb9324152dbf0185b20b40569722cc 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?pde version="3.5"?>
 
-<product name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product.jre" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" application="eu.etaxonomy.taxeditor.application.application" version="4.8.1" useFeatures="true" includeLaunchers="true">
+<product name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product.jre" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" application="eu.etaxonomy.taxeditor.application.application" version="4.8.2" useFeatures="true" includeLaunchers="true">
 
    <aboutInfo>
       <image path="/eu.etaxonomy.taxeditor.application/icons/256color_48x48.gif"/>
index 03bb4e0598cb4c6c516ba2df8729fdfec5d31f7d..cf71a0f55d9b485483093035c8efa280a321d8fb 100644 (file)
@@ -2,7 +2,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>4.8.1</version>
+    <version>4.8.2</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
diff --git a/pom.xml b/pom.xml
index a967726f3321cdf4eadd8fbe6ac6d2e093daa60e..f746c9fd8b40d7e8bf7c016ade2d9f912604df5a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
   </prerequisites>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>taxeditor-parent</artifactId>
-  <version>4.8.1</version>
+  <version>4.8.2</version>
   <name>EDIT Taxonomic Editor</name>
   <description>The Taxonomic Editor for EDIT's platform for
     cybertaxonomy