Project

General

Profile

« Previous | Next » 

Revision 90f25990

Added by Katja Luther over 3 years ago

ref #9065: add media section to derived unit details view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitBaseDetailElement.java
56 56

  
57 57
    private OriginalLabelDataElement textOriginalLabel;
58 58

  
59
    private DerivedUnitMediaSection mediaDetailElement;
60

  
59 61

  
60 62

  
61 63
	/**
......
116 118
		textOriginalLabel = formFactory.createOriginalLabelDataElement(formElement);
117 119
		textOriginalLabel.setEntity(getEntity());
118 120

  
121

  
122

  
119 123
		super.createControls(formElement, entity, style);
120 124

  
121 125
        section_source = formFactory.createSourceCollectionDetailSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(SourceCollectionDetailSection.class, entity.getClass().getCanonicalName()));
122 126
		section_source.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
123 127
		section_source.setEntity(entity);
124 128

  
129
        mediaDetailElement = formFactory.createDerivedUnitMediaSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(DerivedUnitMediaSection.class, entity.getClass().getCanonicalName()));
130
        mediaDetailElement.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
131
        mediaDetailElement.setEntity(getEntity());
132

  
133

  
125 134

  
126 135
	}
127 136

  

Also available in: Unified diff