Révision 3877
TXM/trunk/bundles/org.txm.queryindex.rcp/src/queryindexrcp/actions/SampleAction.java (revision 3877) | ||
---|---|---|
31 | 31 |
public void run(IAction action) { |
32 | 32 |
MessageDialog.openInformation( |
33 | 33 |
window.getShell(), |
34 |
"QueryIndexRCP", |
|
35 |
"Hello, Eclipse world"); |
|
34 |
"QueryIndexRCP", //$NON-NLS-1$
|
|
35 |
"Hello, Eclipse world"); //$NON-NLS-1$
|
|
36 | 36 |
} |
37 | 37 |
|
38 | 38 |
/** |
TXM/trunk/bundles/org.txm.queryindex.rcp/src/org/txm/queryindex/rcp/editors/QueryIndexEditor.java (revision 3877) | ||
---|---|---|
269 | 269 |
|
270 | 270 |
@Override |
271 | 271 |
public void updateResultFromEditor() { |
272 |
System.out.println("QueryIndexEditor.updateResultFromEditor(): not implemented."); |
|
272 |
System.out.println("QueryIndexEditor.updateResultFromEditor(): not implemented."); //$NON-NLS-1$
|
|
273 | 273 |
} |
274 | 274 |
|
275 | 275 |
/** |
... | ... | |
277 | 277 |
*/ |
278 | 278 |
@Override |
279 | 279 |
public void updateEditorFromResult(boolean update) { |
280 |
System.out.println("QueryIndexEditor.updateEditorFromResult(): not implemented."); |
|
280 |
System.out.println("QueryIndexEditor.updateEditorFromResult(): not implemented."); //$NON-NLS-1$
|
|
281 | 281 |
if (1 == 1) return; |
282 | 282 |
|
283 | 283 |
// createQueryIndex(); |
... | ... | |
474 | 474 |
propFile = new File(LastOpened.getFolder(ID)); |
475 | 475 |
|
476 | 476 |
FileDialog dialog = new FileDialog(getShell(), SWT.OPEN); |
477 |
String[] exts = { "*.properties" }; // $NON-NLS |
|
477 |
String[] exts = { "*.properties" }; // $NON-NLS //$NON-NLS-1$
|
|
478 | 478 |
dialog.setFilterExtensions(exts); |
479 | 479 |
if (propFile != null) { |
480 | 480 |
dialog.setFilterPath(propFile.getParent()); |
... | ... | |
764 | 764 |
freqColumn = new TableColumn(viewer.getTable(), SWT.RIGHT); |
765 | 765 |
try { |
766 | 766 |
if (partition != null) |
767 |
freqColumn.setText(TXMCoreMessages.common_frequency + " T=" + partition.getTotalSize()); |
|
767 |
freqColumn.setText(TXMCoreMessages.common_frequency + " T=" + partition.getTotalSize()); //$NON-NLS-1$
|
|
768 | 768 |
else |
769 |
freqColumn.setText(TXMCoreMessages.common_frequency + " T=" + corpus.getSize()); |
|
769 |
freqColumn.setText(TXMCoreMessages.common_frequency + " T=" + corpus.getSize()); //$NON-NLS-1$
|
|
770 | 770 |
} |
771 | 771 |
catch (CqiClientException e2) { |
772 | 772 |
Log.printStackTrace(e2); |
... | ... | |
810 | 810 |
final TableColumn partColumn = new TableColumn( |
811 | 811 |
viewer.getTable(), SWT.RIGHT); |
812 | 812 |
try { |
813 |
partColumn.setText(partnames.get(i) + " t=" + partition.getParts().get(i).getSize()); |
|
813 |
partColumn.setText(partnames.get(i) + " t=" + partition.getParts().get(i).getSize()); //$NON-NLS-1$
|
|
814 | 814 |
} |
815 | 815 |
catch (CqiClientException e1) { |
816 | 816 |
Log.printStackTrace(e1); |
TXM/trunk/bundles/org.txm.queryindex.rcp/src/org/txm/queryindex/core/functions/QueryIndex.java (revision 3877) | ||
---|---|---|
437 | 437 |
|
438 | 438 |
@Override |
439 | 439 |
public String getSimpleName() { |
440 |
return ""; |
|
440 |
return ""; //$NON-NLS-1$
|
|
441 | 441 |
} |
442 | 442 |
|
443 | 443 |
@Override |
444 | 444 |
public String getDetails() { |
445 |
return ""; |
|
445 |
return ""; //$NON-NLS-1$
|
|
446 | 446 |
} |
447 | 447 |
|
448 | 448 |
@Override |
... | ... | |
453 | 453 |
@Override |
454 | 454 |
public boolean _compute(TXMProgressMonitor monitor) throws Exception { |
455 | 455 |
// FIXME: not yet implemented |
456 |
System.err.println("QueryIndex.compute(): not yet implemented."); |
|
456 |
System.err.println("QueryIndex.compute(): not yet implemented."); //$NON-NLS-1$
|
|
457 | 457 |
return false; |
458 | 458 |
} |
459 | 459 |
|
460 | 460 |
@Override |
461 | 461 |
public boolean saveParameters() throws Exception { |
462 | 462 |
// FIXME: not yet implemented |
463 |
System.err.println("QueryIndex.saveParameters(): not yet implemented."); |
|
463 |
System.err.println("QueryIndex.saveParameters(): not yet implemented."); //$NON-NLS-1$
|
|
464 | 464 |
return false; |
465 | 465 |
} |
466 | 466 |
|
467 | 467 |
@Override |
468 | 468 |
public boolean loadParameters() throws Exception { |
469 | 469 |
// FIXME: not yet implemented |
470 |
System.err.println("QueryIndex.loadParameters(): not yet implemented."); |
|
470 |
System.err.println("QueryIndex.loadParameters(): not yet implemented."); //$NON-NLS-1$
|
|
471 | 471 |
return false; |
472 | 472 |
} |
473 | 473 |
|
474 | 474 |
@Override |
475 | 475 |
public String getResultType() { |
476 |
return "Query index"; |
|
476 |
return "Query index"; //$NON-NLS-1$
|
|
477 | 477 |
} |
478 | 478 |
|
479 | 479 |
} |
Formats disponibles : Unified diff