Project

General

Profile

« Previous | Next » 

Revision f5b66699

Added by Patrick Plitzner over 7 years ago

ref #6333 Add generic support for entity collection sections to allow
adding existing entities

  • this is done by two abstract methods allowAddExisting() and addExisting()

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AmplificationGelPhotoCollectionDetailSection.java
96 96
        return "Add a gel photo";
97 97
    }
98 98

  
99

  
100

  
101
    /**
102
     * {@inheritDoc}
103
     */
104
    @Override
105
    public Media addExisting() {
106
        return null;
107
    }
108

  
109

  
110

  
111
    /**
112
     * {@inheritDoc}
113
     */
114
    @Override
115
    public boolean allowAddExisting() {
116
        return false;
117
    }
118

  
99 119
}

Also available in: Unified diff