Révision 1690
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/concordance/WordAnnotationToolbar.java (revision 1690) | ||
|---|---|---|
| 490 | 490 |
annotationTypesCombo.getCombo().setLayoutData(gdata); |
| 491 | 491 |
annotationTypesCombo.setInput(typesList); |
| 492 | 492 |
annotationTypesCombo.getCombo().select(0); |
| 493 |
annotations.setViewAnnotation(typesList.get(0)); |
|
| 494 |
annotationColumn.setText(typesList.get(0).getName()); |
|
| 493 |
for (int i = 0 ; i < typesList.size(); i++) {
|
|
| 494 |
String name = typesList.get(i).getName(); |
|
| 495 |
if ("word".equals(name)) {
|
|
| 496 |
annotations.setViewAnnotation(typesList.get(i)); |
|
| 497 |
annotationColumn.setText(name); |
|
| 498 |
} |
|
| 499 |
} |
|
| 495 | 500 |
|
| 496 | 501 |
annotationTypesCombo.addSelectionChangedListener(new ISelectionChangedListener() {
|
| 497 | 502 |
@Override |
Formats disponibles : Unified diff