From: Patrick Plitzner Date: Mon, 22 Jun 2015 06:56:23 +0000 (+0200) Subject: - removed initial expand of sections X-Git-Tag: 3.7.0~1^2~56 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/ff0e2f7c5c4e09a80b40dfd2b1cb787b56f47295 - removed initial expand of sections --- diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/FeatureDetailElement.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/FeatureDetailElement.java index 9e254f723..56c2c1d4a 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/FeatureDetailElement.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/FeatureDetailElement.java @@ -74,26 +74,26 @@ public class FeatureDetailElement extends DefinedTermDetailElement { if (supportsCategoricalData.getSelection()) { sectionStateVocabularies = formFactory.createStateVocabulariesSection(getConversationHolder(), - parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); + parentFormElement, ExpandableComposite.TWISTIE); sectionStateVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionStateVocabularies.setEntity(getEntity()); } if (supportsQuantitativeData.getSelection()) { sectionMeasurementUnits = formFactory.createMeasurementUnitCollectionSection(getConversationHolder(), - parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); + parentFormElement, ExpandableComposite.TWISTIE); sectionMeasurementUnits.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionMeasurementUnits.setEntity(getEntity()); sectionStatisticalMeasures = formFactory.createStatisticalMeasureCollectionSection(getConversationHolder(), - parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); + parentFormElement, ExpandableComposite.TWISTIE); sectionStatisticalMeasures.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionStatisticalMeasures.setEntity(getEntity()); } if (supportsCategoricalData.getSelection() || supportsQuantitativeData.getSelection()) { sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection( getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE - | ExpandableComposite.EXPANDED); + ); sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionModifierVocabularies.setEntity(getEntity()); } @@ -113,18 +113,18 @@ public class FeatureDetailElement extends DefinedTermDetailElement { if(supportsQuantitativeData.getSelection()){ removeElementsAndControls(supportsDistribution); sectionMeasurementUnits = formFactory.createMeasurementUnitCollectionSection(getConversationHolder(), - parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); + parentFormElement, ExpandableComposite.TWISTIE); sectionMeasurementUnits.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionMeasurementUnits.setEntity(getEntity()); sectionStatisticalMeasures = formFactory.createStatisticalMeasureCollectionSection( - getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); + getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE); sectionStatisticalMeasures.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionStatisticalMeasures.setEntity(getEntity()); if (!supportsCategoricalData.getSelection()) { sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection( - getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); + getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE); sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionModifierVocabularies.setEntity(getEntity()); } @@ -152,13 +152,13 @@ public class FeatureDetailElement extends DefinedTermDetailElement { getEntity().setSupportsCategoricalData(supportsCategoricalData.getSelection()); if (supportsCategoricalData.getSelection()) { sectionStateVocabularies = formFactory.createStateVocabulariesSection(getConversationHolder(), - parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED); + parentFormElement, ExpandableComposite.TWISTIE); sectionStateVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionStateVocabularies.setEntity(getEntity()); if (!supportsQuantitativeData.getSelection()) { sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection( - getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE| ExpandableComposite.EXPANDED); + getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE); sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); sectionModifierVocabularies.setEntity(getEntity()); }