Revision 7207e4a0
Added by Cherian Mathew over 8 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/ConceptRelationshipView.java | ||
---|---|---|
123 | 123 |
*/ |
124 | 124 |
@Override |
125 | 125 |
public void onAction(BasicEvent event) { |
126 |
if(event.getEventId().equals(ConceptRelationshipComposite.UPDATE_START_ID)) {
|
|
126 |
if(ConceptRelationshipComposite.UPDATE_START_ID.equals(event.getEventId())) {
|
|
127 | 127 |
primaryStatusComposite.setTaxaTableEnabled(false); |
128 | 128 |
secondaryStatusComposite.setTaxaTableSelectable(false); |
129 | 129 |
} |
130 |
if(event.getEventId().equals(ConceptRelationshipComposite.UPDATE_END_ID)) {
|
|
130 |
if(ConceptRelationshipComposite.UPDATE_END_ID.equals(event.getEventId())) {
|
|
131 | 131 |
primaryStatusComposite.setTaxaTableEnabled(true); |
132 | 132 |
secondaryStatusComposite.setTaxaTableSelectable(true); |
133 | 133 |
} |
Also available in: Unified diff
corrected string check