Remove duplicate code for advanced media view (#4862)
authorPatrick Plitzner <p.plitzner@bgbm.org>
Sat, 27 Jun 2015 12:16:14 +0000 (14:16 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 29 Jun 2015 11:35:36 +0000 (13:35 +0200)
commit025f1554f6ff372a42a2c19f5ccbce3160653dc3
treea694ace22e53b515688be37ec507c54afdab423d
parenta77acb7457734b1b91a7f35e032e9ace192f1778
Remove duplicate code for advanced media view (#4862)

Refactored code and added interface and abstract class to avoid
duplicate code.
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/MediaDetailsSection.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/AbstractTogglableMediaDetailsSection.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/ITogglableMediaElement.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/media/MediaMetaElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/media/MediaSpecimenGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/media/MediaSpecimenGeneralDetailSection.java