MCPcopy Create free account
hub / github.com/GateNLP/gate-core / run

Method run

src/main/java/gate/gui/CorpusEditor.java:587–595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

585 System.arraycopy(rowsCorpus, 0, selectedRowsCorpus, 0, rowsCorpus.length);
586 SwingUtilities.invokeLater(new Runnable(){
587 @Override
588 public void run(){
589 docTable.clearSelection();
590 for(int i = 0; i < selectedRowsCorpus.length; i++){
591 int rowTable = docTable.rowModelToView(selectedRowsCorpus[i]);
592 docTable.getSelectionModel().addSelectionInterval(rowTable,
593 rowTable);
594 }
595 }
596 });
597 }
598 }

Callers

nothing calls this directly

Calls 3

clearSelectionMethod · 0.80
rowModelToViewMethod · 0.80
getSelectionModelMethod · 0.65

Tested by

no test coverage detected