Project

General

Profile

Revision f0fed63a

IDf0fed63a68a8b2fba55705373741bffff44ef84e
Parent c11a2278
Child 16a5a5e5

Added by Katja Luther almost 2 years ago

add symbol2 to term details view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/DefinedTermDetailElement.java
27 27

  
28 28
    protected TextWithLabelElement textSymbol;
29 29

  
30
    protected TextWithLabelElement textSymbol2;
31

  
30 32

  
31 33
	/**
32 34
	 * @param formFactory
......
42 44
	    super.createControls(formElement, entity, style);
43 45
	    textIdInVocabulary = formFactory.createTextWithLabelElement(formElement, "ID in vocabulary", entity.getIdInVocabulary(), style);
44 46
	    textSymbol = formFactory.createTextWithLabelElement(formElement, "Symbol", entity.getSymbol(), style);
47
	    textSymbol2 = formFactory.createTextWithLabelElement(formElement, "Second Symbol", entity.getSymbol2(), style);
45 48
	};
46 49

  
47 50
	/* (non-Javadoc)
......
67 70
            }
68 71

  
69 72
        }
73

  
74
		if(eventSource==textSymbol2){
75
            if (StringUtils.isBlank(textSymbol2.getText())){
76
                getEntity().setSymbol2(null);
77
            }else{
78
                getEntity().setSymbol2(textSymbol2.getText());
79
            }
80

  
81
        }
70 82
	}
71 83

  
72 84
	/* (non-Javadoc)

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)