Fixed type labels to make them less confusing.
authorp.ciardelli <p.ciardelli@localhost>
Thu, 19 Mar 2009 15:04:41 +0000 (15:04 +0000)
committerp.ciardelli <p.ciardelli@localhost>
Thu, 19 Mar 2009 15:04:41 +0000 (15:04 +0000)
eclipseprojects/eu.etaxonomy.taxeditor/src/eu/etaxonomy/taxeditor/propertysheet/namerelations/wizard/ChooseRelationTypeWizardPage.java

index a371a3f7174e002be1f4e614e09ac0788c0eb136..05e2d7d14749dab0af866e19ae0a6ac20802f65a 100644 (file)
@@ -127,9 +127,9 @@ public class ChooseRelationTypeWizardPage extends WizardPage {
                        String label = relationType.getLabel();\r
                        if (relationModel.isZoological() && \r
                                        relationType.equals(NameRelationshipType.BASIONYM())) {\r
-                               label = "original combination";\r
+                               label = "original combination for";\r
                        } \r
-                       label += " - " + relationType.getInverseLabel();\r
+//                     label += " - " + relationType.getInverseLabel();\r
                        combo.add(label);\r
                }\r
                combo.setVisibleItemCount(relationTypes.size());\r
@@ -179,10 +179,10 @@ public class ChooseRelationTypeWizardPage extends WizardPage {
        \r
        private void setDirectionLabels() {\r
                String strDirection1 = "\"" + CdmUtil.getDisplayName(relationModel.getRelatedName()) + "\" "\r
-                               + "is \"" + combo.getText() + "\" of " + "\""\r
+                               + "is " + combo.getText() + " " + "\""\r
                                + CdmUtil.getDisplayName(relationModel.getBaseName()) + "\"";\r
                String strDirection2 = "\"" + CdmUtil.getDisplayName(relationModel.getBaseName()) + "\" "\r
-                               + "is \"" + combo.getText() + "\" of " + "\""\r
+                               + "is " + combo.getText() + " " + "\""\r
                                + CdmUtil.getDisplayName(relationModel.getRelatedName()) + "\"";\r
                \r
                btnFromRelatedToBase.setText(strDirection1);\r