Project

General

Profile

« Previous | Next » 

Revision 1a4fe38f

Added by Patrick Plitzner about 5 years ago

Expand character details view sections

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/feature/CharacterDetailElement.java
87 87

  
88 88
        if (supportsCategoricalData.getSelection()) {
89 89
            sectionStateVocabularies = formFactory.createStateVocabulariesSection(getConversationHolder(),
90
                    parentFormElement, ExpandableComposite.TWISTIE);
90
                    parentFormElement, ExpandableComposite.TWISTIE| ExpandableComposite.EXPANDED);
91 91
            sectionStateVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
92 92
            sectionStateVocabularies.setEntity(getEntity());
93

  
94 93
        }
95 94
        if (supportsQuantitativeData.getSelection()) {
96 95
            sectionMeasurementUnits = formFactory.createMeasurementUnitCollectionSection(getConversationHolder(),
97
                    parentFormElement, ExpandableComposite.TWISTIE);
96
                    parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
98 97
            sectionMeasurementUnits.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
99 98
            sectionMeasurementUnits.setEntity(getEntity());
100 99

  
101 100
            sectionStatisticalMeasures = formFactory.createStatisticalMeasureCollectionSection(getConversationHolder(),
102
                    parentFormElement, ExpandableComposite.TWISTIE);
101
                    parentFormElement, ExpandableComposite.TWISTIE| ExpandableComposite.EXPANDED);
103 102
            sectionStatisticalMeasures.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
104 103
            sectionStatisticalMeasures.setEntity(getEntity());
105 104
        }
106 105
        if (supportsCategoricalData.getSelection() || supportsQuantitativeData.getSelection()) {
107 106
            sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection(
108
                    getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE
109
                           );
107
                    getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
110 108
            sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
111 109
            sectionModifierVocabularies.setEntity(getEntity());
112 110
        }
......
180 178

  
181 179
	    //measurement units
182 180
	    sectionMeasurementUnits = formFactory.createMeasurementUnitCollectionSection(getConversationHolder(),
183
	            parentFormElement, ExpandableComposite.TWISTIE);
181
	            parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
184 182
	    sectionMeasurementUnits.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
185 183
	    sectionMeasurementUnits.setEntity(getEntity());
186 184

  
187 185
	    //statistical measures
188 186
	    sectionStatisticalMeasures = formFactory.createStatisticalMeasureCollectionSection(
189
	            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE);
187
	            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
190 188
	    sectionStatisticalMeasures.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
191 189
	    sectionStatisticalMeasures.setEntity(getEntity());
192 190

  
193 191
	    //modifiers
194 192
	    sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection(
195
	            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE);
193
	            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
196 194
	    sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
197 195
	    sectionModifierVocabularies.setEntity(getEntity());
198 196
	}
......
213 211

  
214 212
	    //states
215 213
	    sectionStateVocabularies = formFactory.createStateVocabulariesSection(getConversationHolder(),
216
                parentFormElement, ExpandableComposite.TWISTIE);
214
                parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
217 215
        sectionStateVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
218 216
        sectionStateVocabularies.setEntity(getEntity());
219 217

  
220 218
        //modifiers
221 219
        sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection(
222
                getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE);
220
                getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
223 221
        sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
224 222
        sectionModifierVocabularies.setEntity(getEntity());
225 223
	}

Also available in: Unified diff