Project

General

Profile

« Previous | Next » 

Revision 079534a2

Added by Patrick Plitzner over 5 years ago

ref #7502 Show boolean properties in checkboxes

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/OccurrenceEditorInput.java
104 104
        return super.getPropertyValue(cdmBase, property);
105 105
    }
106 106

  
107
    @Override
108
    public boolean isBooleanProperty(String property) {
109
        if(property.equals(PROPERTY_PUBLISH)){
110
            return true;
111
        }
112
        return super.isBooleanProperty(property);
113
    }
114

  
107 115
    private Object getCollector(SpecimenOrObservationBase<?> cdmBase) {
108 116
        if(cdmBase.isInstanceOf(FieldUnit.class)){
109 117
            GatheringEvent gatheringEvent = HibernateProxyHelper.deproxy(cdmBase, FieldUnit.class).getGatheringEvent();

Also available in: Unified diff