- removed initial expand of sections
authorPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 22 Jun 2015 06:56:23 +0000 (08:56 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 22 Jun 2015 12:58:54 +0000 (14:58 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/FeatureDetailElement.java

index 9e254f723a4b9a4283e2579002a3e9909a35fb54..56c2c1d4af04e7e3e73509eac29ab66e86e2bfcd 100644 (file)
@@ -74,26 +74,26 @@ public class FeatureDetailElement extends DefinedTermDetailElement<Feature> {
 \r
         if (supportsCategoricalData.getSelection()) {\r
             sectionStateVocabularies = formFactory.createStateVocabulariesSection(getConversationHolder(),\r
-                    parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);\r
+                    parentFormElement, ExpandableComposite.TWISTIE);\r
             sectionStateVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
             sectionStateVocabularies.setEntity(getEntity());\r
 \r
         }\r
         if (supportsQuantitativeData.getSelection()) {\r
             sectionMeasurementUnits = formFactory.createMeasurementUnitCollectionSection(getConversationHolder(),\r
-                    parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);\r
+                    parentFormElement, ExpandableComposite.TWISTIE);\r
             sectionMeasurementUnits.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
             sectionMeasurementUnits.setEntity(getEntity());\r
 \r
             sectionStatisticalMeasures = formFactory.createStatisticalMeasureCollectionSection(getConversationHolder(),\r
-                    parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);\r
+                    parentFormElement, ExpandableComposite.TWISTIE);\r
             sectionStatisticalMeasures.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
             sectionStatisticalMeasures.setEntity(getEntity());\r
         }\r
         if (supportsCategoricalData.getSelection() || supportsQuantitativeData.getSelection()) {\r
             sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection(\r
                     getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE\r
-                            | ExpandableComposite.EXPANDED);\r
+                           );\r
             sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
             sectionModifierVocabularies.setEntity(getEntity());\r
         }\r
@@ -113,18 +113,18 @@ public class FeatureDetailElement extends DefinedTermDetailElement<Feature> {
                if(supportsQuantitativeData.getSelection()){\r
                 removeElementsAndControls(supportsDistribution);\r
                 sectionMeasurementUnits = formFactory.createMeasurementUnitCollectionSection(getConversationHolder(),\r
-                        parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);\r
+                        parentFormElement, ExpandableComposite.TWISTIE);\r
                 sectionMeasurementUnits.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
                 sectionMeasurementUnits.setEntity(getEntity());\r
 \r
                 sectionStatisticalMeasures = formFactory.createStatisticalMeasureCollectionSection(\r
-                        getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);\r
+                        getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE);\r
                 sectionStatisticalMeasures.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
                 sectionStatisticalMeasures.setEntity(getEntity());\r
 \r
                 if (!supportsCategoricalData.getSelection()) {\r
                     sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection(\r
-                            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);\r
+                            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE);\r
                     sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
                     sectionModifierVocabularies.setEntity(getEntity());\r
                 }\r
@@ -152,13 +152,13 @@ public class FeatureDetailElement extends DefinedTermDetailElement<Feature> {
                getEntity().setSupportsCategoricalData(supportsCategoricalData.getSelection());\r
             if (supportsCategoricalData.getSelection()) {\r
                 sectionStateVocabularies = formFactory.createStateVocabulariesSection(getConversationHolder(),\r
-                        parentFormElement, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);\r
+                        parentFormElement, ExpandableComposite.TWISTIE);\r
                 sectionStateVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
                 sectionStateVocabularies.setEntity(getEntity());\r
 \r
                 if (!supportsQuantitativeData.getSelection()) {\r
                     sectionModifierVocabularies = formFactory.createRecommendedModifierVocabulariesCollectionSection(\r
-                            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE| ExpandableComposite.EXPANDED);\r
+                            getConversationHolder(), parentFormElement, ExpandableComposite.TWISTIE);\r
                     sectionModifierVocabularies.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));\r
                     sectionModifierVocabularies.setEntity(getEntity());\r
                 }\r