ref #6347 fix typo and add label
authorPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 16 Feb 2017 15:51:51 +0000 (16:51 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 16 Feb 2017 15:51:51 +0000 (16:51 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/OrderPreferences.java

index 756cfbc7fb774e98e8e03c07aa097cd6bd6f452a..e2307af1de21c73d504de51ba40d274f009350bb 100644 (file)
@@ -57,6 +57,10 @@ public class OrderPreferences extends PreferencePage implements IWorkbenchPrefer
             Composite composite = new Composite(parent, SWT.NULL);\r
                composite.setLayout(new GridLayout());\r
 \r
+               Label label = new Label(composite, SWT.NONE);\r
+               label.setText("Sorting");\r
+\r
+\r
                isNaturalOrderActivated = PreferencesUtil.getSortNodesNaturally();\r
                final Button activateNaturalOrderCheckButton = new Button(composite, SWT.RADIO);\r
                activateNaturalOrderCheckButton.setText("Enable Natural Order");\r
@@ -64,7 +68,7 @@ public class OrderPreferences extends PreferencePage implements IWorkbenchPrefer
 \r
                isRankAndNameOrderActivated = !PreferencesUtil.getSortNodesStrictlyAlphabetically() && !PreferencesUtil.getSortNodesNaturally();\r
                final Button activateRankAndNameOrderActivatedCheckButton = new Button(composite, SWT.RADIO);\r
-               activateRankAndNameOrderActivatedCheckButton.setText("Enable Rank and Aplhabetical Order");\r
+               activateRankAndNameOrderActivatedCheckButton.setText("Enable Rank and Alphabetical Order");\r
                activateRankAndNameOrderActivatedCheckButton.setSelection(isRankAndNameOrderActivated);\r
 \r
                isAlphabeticalOrderActivated = PreferencesUtil.getSortNodesStrictlyAlphabetically();\r