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

Method run

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

Source from the content-addressed store, hash-verified

535 System.arraycopy(rowsCorpus, 0, selectedRowsCorpus, 0, rowsCorpus.length);
536 SwingUtilities.invokeLater(new Runnable(){
537 @Override
538 public void run(){
539 docTable.clearSelection();
540 for(int i = 0; i < selectedRowsCorpus.length; i++){
541 int rowTable = docTable.rowModelToView(selectedRowsCorpus[i]);
542 docTable.getSelectionModel().addSelectionInterval(rowTable,
543 rowTable);
544 }
545 }
546 });
547 }
548 }

Callers

nothing calls this directly

Calls 3

clearSelectionMethod · 0.80
rowModelToViewMethod · 0.80
getSelectionModelMethod · 0.65

Tested by

no test coverage detected