ref #9821: renderContent needs to overrite
authorKatja Luther <k.luther@bgbm.org>
Tue, 26 Oct 2021 11:41:38 +0000 (13:41 +0200)
committerKatja Luther <k.luther@bgbm.org>
Tue, 26 Oct 2021 11:43:01 +0000 (13:43 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractEntityCollectionSection.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementSourceSection.java

index 21492d2b87600782a1a02bd84bff1382e9fb943d..8eb786a02fa5d378414d8520d366e34945bce581 100644 (file)
@@ -230,7 +230,7 @@ public abstract class AbstractEntityCollectionSection<ENTITY, ELEMENT>
        /**
         * Create the elements to be shown in this section client area
         */
-       private void renderContent(boolean forceExpansion){
+       protected void renderContent(boolean forceExpansion){
                Collection<ELEMENT> collection = getCollection(getEntity());
 
                if(collection == null || collection.isEmpty()){
index 54063aa4435efedb149a135a036a833ea1fa23c7..090972916a65510f32db2003d269ded0fb33273e 100644 (file)
@@ -74,8 +74,8 @@ public class DescriptionElementSourceSection extends
             firePropertyChangeEvent(this);
         }
        }
-    
-    private void renderContent(boolean forceExpansion){
+    @Override
+    protected void renderContent(boolean forceExpansion){
                Collection<OriginalSourceBase> collectionElement = getCollectionElement(getEntity());
                Collection<OriginalSourceBase> collectionDescription = getCollectionDescription(getEntity());