set titleCacheIsNotEmpty protected to be able to override this method
authorKatja Luther <k.luther@bgbm.org>
Wed, 17 Jan 2018 09:22:57 +0000 (10:22 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 17 Jan 2018 09:23:45 +0000 (10:23 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractCdmEntityWizardPage.java

index 293760481de91274275f5973d8f352054acb4636..af3c0a69fb056a73c3e548b1efa64a3506ca6111 100644 (file)
@@ -105,7 +105,7 @@ public abstract class AbstractCdmEntityWizardPage<T> extends WizardPage
                Color bgColor = getShell().getBackground();
 
                detailElement = createElement(rootElement);
-               
+
                rootElement.setBackground(bgColor);
                control.setBackground(bgColor);
                scrolledForm.setBackground(bgColor);
@@ -192,7 +192,7 @@ public abstract class AbstractCdmEntityWizardPage<T> extends WizardPage
                setPageComplete(titleCacheIsNotEmpty());
        }
 
-       private boolean titleCacheIsNotEmpty() {
+       protected boolean titleCacheIsNotEmpty() {
                if (getEntity() instanceof IIdentifiableEntity) {
                        IIdentifiableEntity entity = (IIdentifiableEntity) getEntity();
                        return !StringUtils.isEmpty(entity.getTitleCache());