Révision 2903
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/concordance/SimpleKRAnnotation.java (revision 2903) | ||
|---|---|---|
| 62 | 62 |
import org.txm.rcp.swt.dialog.ConfirmDialog; |
| 63 | 63 |
import org.txm.rcp.swt.provider.SimpleLabelProvider; |
| 64 | 64 |
import org.txm.rcp.utils.JobHandler; |
| 65 |
import org.txm.searchengine.cqp.clientExceptions.CqiClientException;
|
|
| 65 |
import org.txm.rcp.views.corpora.CorporaView;
|
|
| 66 | 66 |
import org.txm.searchengine.cqp.corpus.CQPCorpus; |
| 67 | 67 |
import org.txm.utils.logger.Log; |
| 68 | 68 |
|
| 69 |
/** |
|
| 70 |
* TODO merge some methods with the KRannotationToolbar |
|
| 71 |
* |
|
| 72 |
* @author mdecorde |
|
| 73 |
* |
|
| 74 |
*/ |
|
| 69 | 75 |
public class SimpleKRAnnotation extends AnnotationArea {
|
| 70 | 76 |
|
| 71 | 77 |
ConcordanceEditor editor; |
| ... | ... | |
| 606 | 612 |
public void run() {
|
| 607 | 613 |
try {
|
| 608 | 614 |
editor.refresh(false); |
| 615 |
CorporaView.refreshObject(corpus); |
|
| 609 | 616 |
} catch (Exception e) {
|
| 610 | 617 |
// TODO Auto-generated catch block |
| 611 | 618 |
e.printStackTrace(); |
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/concordance/KRAnnotation.java (revision 2903) | ||
|---|---|---|
| 856 | 856 |
job.syncExec(new Runnable() {
|
| 857 | 857 |
@Override |
| 858 | 858 |
public void run() {
|
| 859 |
editor.fillDisplayArea(false); |
|
| 860 |
CorporaView.refreshObject(corpus); |
|
| 859 |
try {
|
|
| 860 |
editor.refresh(false); |
|
| 861 |
CorporaView.refreshObject(corpus); |
|
| 862 |
} catch (Exception e) {
|
|
| 863 |
e.printStackTrace(); |
|
| 864 |
} |
|
| 861 | 865 |
} |
| 862 | 866 |
}); |
| 863 | 867 |
|
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/concordance/WordAnnotationToolbar.java (revision 2903) | ||
|---|---|---|
| 69 | 69 |
import org.txm.rcp.swt.dialog.ConfirmDialog; |
| 70 | 70 |
import org.txm.rcp.swt.provider.SimpleLabelProvider; |
| 71 | 71 |
import org.txm.rcp.utils.JobHandler; |
| 72 |
import org.txm.searchengine.cqp.clientExceptions.CqiClientException; |
|
| 73 | 72 |
import org.txm.searchengine.cqp.corpus.CQPCorpus; |
| 74 | 73 |
import org.txm.searchengine.cqp.corpus.WordProperty; |
| 75 | 74 |
import org.txm.utils.AsciiUtils; |
Formats disponibles : Unified diff