Project

General

Profile

« Previous | Next » 

Revision f5b66699

Added by Patrick Plitzner about 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/derivedUnit/PreservedSpecimenSourceCollectionDetailSection.java
96 96
		return "Add source";
97 97
	}
98 98

  
99
    /**
100
     * {@inheritDoc}
101
     */
102
    @Override
103
    public IdentifiableSource addExisting() {
104
        return null;
105
    }
106

  
107
    /**
108
     * {@inheritDoc}
109
     */
110
    @Override
111
    public boolean allowAddExisting() {
112
        return false;
113
    }
114

  
99 115
}

Also available in: Unified diff