Révision 686
tmp/org.txm.core.tests/META-INF/MANIFEST.MF (revision 686) | ||
---|---|---|
11 | 11 |
org.eclipse.core.runtime;bundle-version="3.10.0", |
12 | 12 |
org.txm.core;bundle-version="0.7.0", |
13 | 13 |
org.txm.ca.core;bundle-version="1.0.0", |
14 |
org.txm.cah.core;bundle-version="1.0.0",
|
|
14 |
org.txm.ahc.core;bundle-version="1.0.0",
|
|
15 | 15 |
org.txm.chartsengine.core;bundle-version="1.0.0", |
16 | 16 |
org.txm.chartsengine.jfreechart.core;bundle-version="1.0.0", |
17 | 17 |
org.txm.chartsengine.r.core;bundle-version="1.0.0", |
tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/handlers/ComputeCooccurrences.java (revision 686) | ||
---|---|---|
37 | 37 |
import org.txm.cooccurrence.core.preferences.CooccurrencePreferences; |
38 | 38 |
import org.txm.cooccurrence.rcp.editors.CooccurrencesEditor; |
39 | 39 |
import org.txm.core.preferences.TXMPreferences; |
40 |
import org.txm.rcp.RCPMessages; |
|
41 | 40 |
import org.txm.rcp.StatusLine; |
42 | 41 |
import org.txm.rcp.editors.TXMEditor; |
43 | 42 |
import org.txm.rcp.editors.TXMResultEditorInput; |
44 | 43 |
import org.txm.rcp.handlers.BaseAbstractHandler; |
44 |
import org.txm.rcp.messages.TXMUIMessages; |
|
45 | 45 |
import org.txm.rcp.utils.Logger; |
46 | 46 |
import org.txm.rcp.views.corpora.CorporaView; |
47 | 47 |
import org.txm.searchengine.cqp.CQPEngine; |
... | ... | |
120 | 120 |
} else if (selection instanceof Cooccurrence) { // reopening an existing result |
121 | 121 |
cooc = (Cooccurrence)selection; |
122 | 122 |
} else { |
123 |
System.out.println(RCPMessages.ComputeCooccurrences_1 + selection);
|
|
123 |
System.out.println(TXMUIMessages.ComputeCooccurrences_1 + selection);
|
|
124 | 124 |
return null; |
125 | 125 |
} |
126 | 126 |
|
127 | 127 |
try { |
128 |
StatusLine.setMessage(RCPMessages.ComputeCooccurrences_0);
|
|
128 |
StatusLine.setMessage(TXMUIMessages.ComputeCooccurrences_0);
|
|
129 | 129 |
|
130 | 130 |
//System.out.println("DEBUG: opening cooc: "+cooc+" corpus="+cooc.getCorpus()); |
131 | 131 |
TXMEditor.openEditor(cooc, CooccurrencesEditor.ID); |
tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/editors/CooccurrencesEditor.java (revision 686) | ||
---|---|---|
77 | 77 |
import org.txm.core.messages.TXMCoreMessages; |
78 | 78 |
import org.txm.core.preferences.TXMPreferences; |
79 | 79 |
import org.txm.core.results.TXMParameters; |
80 |
import org.txm.rcp.RCPMessages; |
|
81 | 80 |
import org.txm.rcp.editors.TXMEditor; |
82 | 81 |
import org.txm.rcp.editors.TXMResultEditorInput; |
83 | 82 |
import org.txm.rcp.editors.TableKeyListener; |
83 |
import org.txm.rcp.messages.TXMUIMessages; |
|
84 | 84 |
import org.txm.rcp.preferences.RCPPreferences; |
85 | 85 |
import org.txm.rcp.swt.widget.AssistedQueryWidget; |
86 | 86 |
import org.txm.rcp.swt.widget.EmpantWidget; |
... | ... | |
472 | 472 |
}); |
473 | 473 |
|
474 | 474 |
freqColumn = new TableColumn(viewer.getTable(), SWT.RIGHT); |
475 |
freqColumn.setText(RCPMessages.FrequencyListEditorInput_4);
|
|
476 |
freqColumn.setToolTipText(RCPMessages.FrequencyListEditorInput_4);
|
|
475 |
freqColumn.setText(TXMUIMessages.FrequencyListEditorInput_4);
|
|
476 |
freqColumn.setToolTipText(TXMUIMessages.FrequencyListEditorInput_4);
|
|
477 | 477 |
freqColumn.setWidth(100); |
478 | 478 |
freqColumn.addSelectionListener(new SelectionListener() { |
479 | 479 |
@Override |
tmp/org.txm.chartsengine.r.rcp/src/org/txm/rcp/chartsengine/r/preferences/RChartsEnginePreferencePage.java (revision 686) | ||
---|---|---|
109 | 109 |
|
110 | 110 |
|
111 | 111 |
} catch (Exception e) { |
112 |
System.err.println(org.txm.rcp.RCPMessages.FAILED_TO_SAVE_PREFERENCES + e);
|
|
112 |
System.err.println(org.txm.rcp.messages.TXMUIMessages.FAILED_TO_SAVE_PREFERENCES + e);
|
|
113 | 113 |
} |
114 | 114 |
return true; |
115 | 115 |
} |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/editors/ReferenceLabelProvider.java (revision 686) | ||
---|---|---|
32 | 32 |
import org.eclipse.jface.viewers.LabelProvider; |
33 | 33 |
import org.eclipse.swt.graphics.Image; |
34 | 34 |
import org.txm.concordance.core.functions.Line; |
35 |
import org.txm.rcp.RCPMessages;
|
|
35 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
36 | 36 |
|
37 | 37 |
// TODO: Auto-generated Javadoc |
38 | 38 |
/** |
... | ... | |
58 | 58 |
@Override |
59 | 59 |
public String getColumnText(Object element, int columnIndex) { |
60 | 60 |
if (columnIndex != 0) |
61 |
throw new RuntimeException(RCPMessages.LineLabelProvider_1);
|
|
61 |
throw new RuntimeException(TXMUIMessages.LineLabelProvider_1);
|
|
62 | 62 |
Line line = (Line) element; |
63 | 63 |
return line.getViewRef().toString(); |
64 | 64 |
} |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/editors/SortPropertySelectionDialog.java (revision 686) | ||
---|---|---|
42 | 42 |
import org.eclipse.swt.widgets.Composite; |
43 | 43 |
import org.eclipse.swt.widgets.Control; |
44 | 44 |
import org.eclipse.swt.widgets.Shell; |
45 |
import org.txm.rcp.RCPMessages;
|
|
45 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
46 | 46 |
import org.txm.searchengine.cqp.corpus.Property; |
47 | 47 |
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty; |
48 | 48 |
|
... | ... | |
135 | 135 |
@Override |
136 | 136 |
protected void configureShell(Shell newShell) { |
137 | 137 |
super.configureShell(newShell); |
138 |
newShell.setText(RCPMessages.SortPropertySelection_0);
|
|
138 |
newShell.setText(TXMUIMessages.SortPropertySelection_0);
|
|
139 | 139 |
newShell.setMinimumSize(300, 200); |
140 | 140 |
} |
141 | 141 |
|
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/editors/ConcordanceEditor.java (revision 686) | ||
---|---|---|
108 | 108 |
import org.txm.concordance.rcp.actions.ViewPropertySelection; |
109 | 109 |
import org.txm.concordance.rcp.handlers.BackToTextCommand; |
110 | 110 |
import org.txm.concordance.rcp.handlers.DeleteLines; |
111 |
import org.txm.concordance.rcp.messages.Messages; |
|
111 |
import org.txm.concordance.rcp.messages.ConcordanceUIMessages;
|
|
112 | 112 |
import org.txm.concordance.rcp.widgets.ComplexSortSelector; |
113 | 113 |
import org.txm.cooccurrence.rcp.messages.CooccurrenceUIMessages; |
114 | 114 |
import org.txm.core.preferences.TXMPreferences; |
... | ... | |
118 | 118 |
import org.txm.objects.Page; |
119 | 119 |
import org.txm.rcp.IImageKeys; |
120 | 120 |
import org.txm.rcp.JobsTimer; |
121 |
import org.txm.rcp.RCPMessages; |
|
122 | 121 |
import org.txm.rcp.StatusLine; |
123 | 122 |
import org.txm.rcp.TXMWindows; |
124 | 123 |
import org.txm.rcp.editors.TXMBrowser; |
125 | 124 |
import org.txm.rcp.editors.TXMEditor; |
126 | 125 |
import org.txm.rcp.editors.TXMResultEditorInput; |
127 | 126 |
import org.txm.rcp.editors.TableKeyListener; |
127 |
import org.txm.rcp.messages.TXMUIMessages; |
|
128 | 128 |
import org.txm.rcp.preferences.RCPPreferences; |
129 | 129 |
import org.txm.rcp.swt.dialog.ViewPropertySelectionDialog; |
130 | 130 |
import org.txm.rcp.swt.widget.AssistedQueryWidget; |
... | ... | |
444 | 444 |
|
445 | 445 |
referenceColumn = new TableColumn(viewer2.getTable(), SWT.LEFT); |
446 | 446 |
refreshReferenceColumnTitle(); |
447 |
referenceColumn.setToolTipText(Messages.ConcordancesEditor_1); |
|
447 |
referenceColumn.setToolTipText(ConcordanceUIMessages.ConcordancesEditor_1);
|
|
448 | 448 |
referenceColumn.addSelectionListener(new SelectionListener() { |
449 | 449 |
@Override |
450 | 450 |
public void widgetSelected(SelectionEvent e) { |
451 |
StatusLine.setMessage(Messages.ConcordancesEditor_37); |
|
451 |
StatusLine.setMessage(ConcordanceUIMessages.ConcordancesEditor_37);
|
|
452 | 452 |
LineComparator comparator = new PropertiesReferenceComparator(); |
453 | 453 |
if (viewer2.getTable().getSortColumn() != referenceColumn) { |
454 | 454 |
viewer2.getTable().setSortColumn(null); |
... | ... | |
533 | 533 |
|
534 | 534 |
TableViewerColumn leftColumnViewer = new TableViewerColumn(viewer, SWT.RIGHT); |
535 | 535 |
leftContextColumn = leftColumnViewer.getColumn(); |
536 |
leftContextColumn.setText(Messages.ConcordancesEditor_2); |
|
537 |
leftContextColumn.setToolTipText(Messages.ConcordancesEditor_2); |
|
536 |
leftContextColumn.setText(ConcordanceUIMessages.ConcordancesEditor_2);
|
|
537 |
leftContextColumn.setToolTipText(ConcordanceUIMessages.ConcordancesEditor_2);
|
|
538 | 538 |
leftContextColumn.setAlignment(SWT.RIGHT); |
539 | 539 |
leftColumnViewer.setLabelProvider(new ColumnLabelProvider() { |
540 | 540 |
@Override |
... | ... | |
546 | 546 |
leftContextColumn.addSelectionListener(new SelectionListener() { |
547 | 547 |
@Override |
548 | 548 |
public void widgetSelected(SelectionEvent e) { |
549 |
StatusLine.setMessage(Messages.ConcordancesEditor_41); |
|
549 |
StatusLine.setMessage(ConcordanceUIMessages.ConcordancesEditor_41);
|
|
550 | 550 |
LineComparator comparator = new LexicographicLeftContextComparator(); |
551 | 551 |
if (viewer.getTable().getSortColumn() != leftContextColumn) { |
552 | 552 |
viewer.getTable().setSortColumn(leftContextColumn); |
... | ... | |
570 | 570 |
|
571 | 571 |
TableViewerColumn keywordColumnViewer = new TableViewerColumn(viewer, SWT.CENTER); |
572 | 572 |
keywordColumn = keywordColumnViewer.getColumn(); |
573 |
keywordColumn.setText(Messages.ConcordancesEditor_3); |
|
574 |
keywordColumn.setToolTipText(Messages.ConcordancesEditor_3); |
|
573 |
keywordColumn.setText(ConcordanceUIMessages.ConcordancesEditor_3);
|
|
574 |
keywordColumn.setToolTipText(ConcordanceUIMessages.ConcordancesEditor_3);
|
|
575 | 575 |
keywordColumn.setAlignment(SWT.CENTER); |
576 | 576 |
keywordColumnViewer.setLabelProvider(new ColumnLabelProvider() { |
577 | 577 |
@Override |
... | ... | |
583 | 583 |
keywordColumn.addSelectionListener(new SelectionListener() { |
584 | 584 |
@Override |
585 | 585 |
public void widgetSelected(SelectionEvent e) { |
586 |
StatusLine.setMessage(Messages.ConcordancesEditor_45); |
|
586 |
StatusLine.setMessage(ConcordanceUIMessages.ConcordancesEditor_45);
|
|
587 | 587 |
LineComparator comparator = new LexicographicKeywordComparator(); |
588 | 588 |
if (viewer.getTable().getSortColumn() != keywordColumn) { |
589 | 589 |
viewer.getTable().setSortColumn(keywordColumn); |
... | ... | |
608 | 608 |
|
609 | 609 |
TableViewerColumn rightContextColumnViewer = new TableViewerColumn(viewer, SWT.LEFT); |
610 | 610 |
rightContextColumn = rightContextColumnViewer.getColumn(); |
611 |
rightContextColumn.setText(Messages.ConcordancesEditor_4); |
|
612 |
rightContextColumn.setToolTipText(Messages.ConcordancesEditor_4); |
|
611 |
rightContextColumn.setText(ConcordanceUIMessages.ConcordancesEditor_4);
|
|
612 |
rightContextColumn.setToolTipText(ConcordanceUIMessages.ConcordancesEditor_4);
|
|
613 | 613 |
rightContextColumn.setAlignment(SWT.LEFT); |
614 | 614 |
rightContextColumnViewer.setLabelProvider(new ColumnLabelProvider() { |
615 | 615 |
@Override |
... | ... | |
621 | 621 |
rightContextColumn.addSelectionListener(new SelectionListener() { |
622 | 622 |
@Override |
623 | 623 |
public void widgetSelected(SelectionEvent e) { |
624 |
StatusLine.setMessage(Messages.ConcordancesEditor_48); |
|
624 |
StatusLine.setMessage(ConcordanceUIMessages.ConcordancesEditor_48);
|
|
625 | 625 |
LineComparator comparator = new LexicographicRightContextComparator(); |
626 | 626 |
|
627 | 627 |
if (viewer.getTable().getSortColumn() != rightContextColumn) { |
... | ... | |
676 | 676 |
MouseListener ms = new MouseListener() { |
677 | 677 |
@Override |
678 | 678 |
public void mouseDoubleClick(MouseEvent e) { |
679 |
StatusLine.setMessage(Messages.ConcordancesEditor_50); |
|
679 |
StatusLine.setMessage(ConcordanceUIMessages.ConcordancesEditor_50);
|
|
680 | 680 |
backToText(); |
681 | 681 |
StatusLine.setMessage(""); //$NON-NLS-1$ |
682 | 682 |
} |
... | ... | |
792 | 792 |
this.runInit(monitor); |
793 | 793 |
JobsTimer.start(); |
794 | 794 |
try { |
795 |
monitor.beginTask(Messages.ConcordancesEditor_6, concordance.getNLines()); |
|
795 |
monitor.beginTask(ConcordanceUIMessages.ConcordancesEditor_6, concordance.getNLines());
|
|
796 | 796 |
concordance.setCurrentMonitor(this); |
797 | 797 |
concordance.sort(currentComparator); |
798 | 798 |
concordance.setTopIndex(0); |
... | ... | |
800 | 800 |
syncExec(new Runnable() { |
801 | 801 |
@Override |
802 | 802 |
public void run() { |
803 |
StatusLine.setMessage(RCPMessages.SORT_DONE);
|
|
803 |
StatusLine.setMessage(TXMUIMessages.SORT_DONE);
|
|
804 | 804 |
fillDisplayArea(); |
805 | 805 |
} |
806 | 806 |
}); |
... | ... | |
808 | 808 |
} catch (ThreadDeath td) { |
809 | 809 |
return Status.CANCEL_STATUS; |
810 | 810 |
} catch (Exception e) { |
811 |
System.err.println(NLS.bind(Messages.ERROR_WHILE_LOADING_CONCORDANCE_LINE, e)); |
|
811 |
System.err.println(NLS.bind(ConcordanceUIMessages.ERROR_WHILE_LOADING_CONCORDANCE_LINE, e));
|
|
812 | 812 |
org.txm.rcp.utils.Logger.printStackTrace(e); |
813 | 813 |
} catch (Error e) { |
814 | 814 |
System.err.println("Fatal error: "+e); |
... | ... | |
823 | 823 |
|
824 | 824 |
jobhandler.startJob(); |
825 | 825 |
} catch (Exception e) { |
826 |
System.err.println(NLS.bind(Messages.ERROR_WHILE_LOADING_CONCORDANCE_LINE, e)); |
|
826 |
System.err.println(NLS.bind(ConcordanceUIMessages.ERROR_WHILE_LOADING_CONCORDANCE_LINE, e));
|
|
827 | 827 |
org.txm.rcp.utils.Logger.printStackTrace(e); |
828 | 828 |
} |
829 | 829 |
} |
... | ... | |
853 | 853 |
try { |
854 | 854 |
lines = concordance.getLines(from, to); |
855 | 855 |
} catch (Exception e) { |
856 |
System.err.println(Messages.ERROR_WHILE_LOADING_CONCORDANCE_LINE+ e); |
|
856 |
System.err.println(ConcordanceUIMessages.ERROR_WHILE_LOADING_CONCORDANCE_LINE+ e);
|
|
857 | 857 |
org.txm.rcp.utils.Logger.printStackTrace(e); |
858 | 858 |
} |
859 | 859 |
} else |
... | ... | |
947 | 947 |
|
948 | 948 |
// Query: |
949 | 949 |
queryLabel = new Label(queryArea, SWT.NONE); |
950 |
queryLabel.setText(RCPMessages.CreateSubcorpusDialog_10);
|
|
950 |
queryLabel.setText(TXMUIMessages.CreateSubcorpusDialog_10);
|
|
951 | 951 |
queryLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, |
952 | 952 |
false)); |
953 | 953 |
|
... | ... | |
995 | 995 |
|
996 | 996 |
// [Search] |
997 | 997 |
Button go = new Button(queryArea, SWT.PUSH); |
998 |
go.setText(RCPMessages.SEARCH);
|
|
998 |
go.setText(TXMUIMessages.SEARCH);
|
|
999 | 999 |
|
1000 | 1000 |
Font f = go.getFont(); |
1001 | 1001 |
FontData defaultFont = f.getFontData()[0]; |
... | ... | |
1025 | 1025 |
deleteLineButton = new Button(navigationArea, SWT.PUSH); |
1026 | 1026 |
deleteLineButton.setLayoutData(new GridData(GridData.FILL, GridData.FILL, false, |
1027 | 1027 |
false)); |
1028 |
deleteLineButton.setToolTipText(Messages.ConcordancesEditor_88); |
|
1028 |
deleteLineButton.setToolTipText(ConcordanceUIMessages.ConcordancesEditor_88);
|
|
1029 | 1029 |
deleteLineButton.setImage(IImageKeys.getImage(IImageKeys.CONCORDANCE_DELETE)); |
1030 | 1030 |
deleteLineButton.addSelectionListener(new SelectionListener() { |
1031 | 1031 |
@Override |
... | ... | |
1121 | 1121 |
* @param bottom |
1122 | 1122 |
*/ |
1123 | 1123 |
public void updateEditorFromResult(boolean update) { |
1124 |
StatusLine.setMessage(Messages.ConcordancesEditor_56); |
|
1124 |
StatusLine.setMessage(ConcordanceUIMessages.ConcordancesEditor_56);
|
|
1125 | 1125 |
|
1126 | 1126 |
//if (true)// concordance==null || concordance.getQuery()!=query) |
1127 | 1127 |
try { |
... | ... | |
1139 | 1139 |
JobsTimer.stopAndPrint(); |
1140 | 1140 |
|
1141 | 1141 |
} catch (Exception e1) { |
1142 |
System.out.println(RCPMessages.CorporaView_3+" "+Log.toString(e1)); //$NON-NLS-1$
|
|
1142 |
System.out.println(TXMUIMessages.CorporaView_3+" "+Log.toString(e1)); //$NON-NLS-1$
|
|
1143 | 1143 |
//System.err.println(Messages.CorporaView_3); |
1144 | 1144 |
org.txm.rcp.utils.Logger.printStackTrace(e1); |
1145 | 1145 |
try { |
1146 |
System.out.println(RCPMessages.LastCQPError+CQPEngine.getCqiClient().getLastCQPError());
|
|
1147 |
Log.severe(RCPMessages.LastCQPError+CQPEngine.getCqiClient().getLastCQPError());
|
|
1146 |
System.out.println(TXMUIMessages.LastCQPError+CQPEngine.getCqiClient().getLastCQPError());
|
|
1147 |
Log.severe(TXMUIMessages.LastCQPError+CQPEngine.getCqiClient().getLastCQPError());
|
|
1148 | 1148 |
} catch (Exception e2) { |
1149 |
System.out.println(Messages.ConcordancesEditor_7+e2); |
|
1149 |
System.out.println(ConcordanceUIMessages.ConcordancesEditor_7+e2);
|
|
1150 | 1150 |
org.txm.rcp.utils.Logger.printStackTrace(e1); |
1151 | 1151 |
Log.severe(Log.toString(e1)); |
1152 | 1152 |
} |
... | ... | |
1842 | 1842 |
IConfigurationElement[] config = Platform.getExtensionRegistry() |
1843 | 1843 |
.getConfigurationElementsFor(BACKTOTEXT_COMMAND_ID); |
1844 | 1844 |
for (IConfigurationElement e : config) { |
1845 |
Object o = e.createExecutableExtension(Messages.ConcordancesEditor_78); |
|
1845 |
Object o = e.createExecutableExtension(ConcordanceUIMessages.ConcordancesEditor_78);
|
|
1846 | 1846 |
if (o instanceof BackToTextCommand) { |
1847 | 1847 |
return ((BackToTextCommand) o).backToText(this, line.getMatch()); |
1848 | 1848 |
} |
... | ... | |
1862 | 1862 |
|
1863 | 1863 |
IWorkbenchPage page = TXMWindows.getActiveWindow().getActivePage(); |
1864 | 1864 |
|
1865 |
StatusLine.setMessage(RCPMessages.ComputeReferencer_0);
|
|
1865 |
StatusLine.setMessage(TXMUIMessages.ComputeReferencer_0);
|
|
1866 | 1866 |
InternalViewEditor editor = (InternalViewEditor)page.openEditor(editorInput,InternalViewEditor.class.getName()); //$NON-NLS-1$ |
1867 | 1867 |
editor.backToText(line); |
1868 | 1868 |
SWTEditorsUtils.addEditor(this, editor, EModelService.ABOVE); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/editors/CompositeSorterCreationDialog.java (revision 686) | ||
---|---|---|
46 | 46 |
import org.eclipse.swt.widgets.Shell; |
47 | 47 |
import org.eclipse.swt.widgets.Text; |
48 | 48 |
import org.txm.concordance.core.functions.comparators.LineComparator; |
49 |
import org.txm.rcp.RCPMessages;
|
|
49 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
50 | 50 |
|
51 | 51 |
// TODO: Auto-generated Javadoc |
52 | 52 |
/** |
... | ... | |
104 | 104 |
@Override |
105 | 105 |
protected void configureShell(Shell newShell) { |
106 | 106 |
super.configureShell(newShell); |
107 |
newShell.setText(RCPMessages.ComplexSort_5);
|
|
107 |
newShell.setText(TXMUIMessages.ComplexSort_5);
|
|
108 | 108 |
} |
109 | 109 |
|
110 | 110 |
/* (non-Javadoc) |
... | ... | |
117 | 117 |
mainArea.setLayout(layout); |
118 | 118 |
|
119 | 119 |
Label nameLabel = new Label(mainArea, SWT.NONE); |
120 |
nameLabel.setText(RCPMessages.ComplexSort_6);
|
|
120 |
nameLabel.setText(TXMUIMessages.ComplexSort_6);
|
|
121 | 121 |
|
122 | 122 |
nameText = new Text(mainArea, SWT.NONE); |
123 | 123 |
GridData gridData = new GridData(SWT.FILL, SWT.TOP, true, false); |
... | ... | |
209 | 209 |
protected void okPressed() { |
210 | 210 |
if (nameText.getText().equals("")) { //$NON-NLS-1$ |
211 | 211 |
MessageDialog.openError(getShell(), |
212 |
RCPMessages.CreateSubcorpusDialog_11,
|
|
213 |
RCPMessages.ComplexSort_9);
|
|
212 |
TXMUIMessages.CreateSubcorpusDialog_11,
|
|
213 |
TXMUIMessages.ComplexSort_9);
|
|
214 | 214 |
return; |
215 | 215 |
} |
216 | 216 |
name = nameText.getText(); |
217 | 217 |
if (selectedComparators.size() < 2) { |
218 | 218 |
MessageDialog.openError(getShell(), |
219 |
RCPMessages.ComplexSort_10,
|
|
220 |
RCPMessages.ComplexSort_11);
|
|
219 |
TXMUIMessages.ComplexSort_10,
|
|
220 |
TXMUIMessages.ComplexSort_11);
|
|
221 | 221 |
return; |
222 | 222 |
} |
223 | 223 |
super.okPressed(); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/ViewPropertySelection.java (revision 686) | ||
---|---|---|
38 | 38 |
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction; |
39 | 39 |
import org.txm.searchengine.cqp.corpus.Property; |
40 | 40 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
41 |
import org.txm.rcp.RCPMessages;
|
|
41 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
42 | 42 |
import org.txm.rcp.swt.dialog.ViewPropertySelectionDialog; |
43 | 43 |
// TODO: Auto-generated Javadoc |
44 | 44 |
/** |
... | ... | |
69 | 69 |
ConcordanceEditor concordanceEditor, TableViewer tableViewer) { |
70 | 70 |
this.concordanceEditor = concordanceEditor; |
71 | 71 |
setId(ID); |
72 |
setText(RCPMessages.ViewPropertySelection_0);
|
|
73 |
setToolTipText(RCPMessages.ViewPropertySelection_0);
|
|
72 |
setText(TXMUIMessages.common_displayOptions);
|
|
73 |
setToolTipText(TXMUIMessages.common_displayOptions);
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
/* (non-Javadoc) |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/BackToText.java (revision 686) | ||
---|---|---|
31 | 31 |
import org.eclipse.ui.IWorkbenchWindow; |
32 | 32 |
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction; |
33 | 33 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
34 |
import org.txm.rcp.RCPMessages;
|
|
34 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
35 | 35 |
// TODO: Auto-generated Javadoc |
36 | 36 |
/** |
37 | 37 |
* action called to set the complex sort of the concordance @ author mdecorde. |
... | ... | |
58 | 58 |
this.window = window; |
59 | 59 |
this.concordanceEditor = concordanceEditor; |
60 | 60 |
setId(ID); |
61 |
setText(RCPMessages.BackToText_0);
|
|
62 |
setToolTipText(RCPMessages.BackToText_0);
|
|
61 |
setText(TXMUIMessages.BackToText_0);
|
|
62 |
setToolTipText(TXMUIMessages.BackToText_0);
|
|
63 | 63 |
} |
64 | 64 |
|
65 | 65 |
/* (non-Javadoc) |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/SetSortProperty.java (revision 686) | ||
---|---|---|
44 | 44 |
import org.eclipse.ui.IWorkbenchWindow; |
45 | 45 |
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction; |
46 | 46 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
47 |
import org.txm.rcp.RCPMessages;
|
|
47 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
48 | 48 |
import org.txm.searchengine.cqp.corpus.Property; |
49 | 49 |
|
50 | 50 |
// TODO: Auto-generated Javadoc |
... | ... | |
73 | 73 |
this.window = window; |
74 | 74 |
this.concordanceEditor = concordanceEditor; |
75 | 75 |
setId(ID); |
76 |
setText(RCPMessages.SetSortProperty_1);
|
|
77 |
setToolTipText(RCPMessages.SetSortProperty_2);
|
|
76 |
setText(TXMUIMessages.SetSortProperty_1);
|
|
77 |
setToolTipText(TXMUIMessages.SetSortProperty_2);
|
|
78 | 78 |
} |
79 | 79 |
|
80 | 80 |
/** |
... | ... | |
176 | 176 |
mainArea.setLayoutData(new GridData(GridData.FILL, GridData.FILL, |
177 | 177 |
true, true)); |
178 | 178 |
Group group = new Group(mainArea, SWT.SHADOW_IN); |
179 |
group.setText(RCPMessages.SetSortProperty_3);
|
|
179 |
group.setText(TXMUIMessages.SetSortProperty_3);
|
|
180 | 180 |
group.setLayout(new RowLayout(SWT.VERTICAL)); |
181 | 181 |
for (Property property : properties) { |
182 | 182 |
Button button = new Button(group, SWT.RADIO); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/SetContextSize.java (revision 686) | ||
---|---|---|
40 | 40 |
import org.eclipse.ui.IWorkbenchWindow; |
41 | 41 |
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction; |
42 | 42 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
43 |
import org.txm.rcp.RCPMessages;
|
|
43 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
44 | 44 |
// TODO: Auto-generated Javadoc |
45 | 45 |
/** |
46 | 46 |
* Action to set the contexts size @ author mdecorde. |
... | ... | |
67 | 67 |
this.window = window; |
68 | 68 |
this.concordanceEditor = concordanceEditor; |
69 | 69 |
setId(ID); |
70 |
setText(RCPMessages.SetContextSize_1);
|
|
71 |
setToolTipText(RCPMessages.SetContextSize_2);
|
|
70 |
setText(TXMUIMessages.SetContextSize_1);
|
|
71 |
setToolTipText(TXMUIMessages.SetContextSize_2);
|
|
72 | 72 |
} |
73 | 73 |
|
74 | 74 |
/* (non-Javadoc) |
... | ... | |
147 | 147 |
protected Control createDialogArea(Composite parent) { |
148 | 148 |
Composite mainArea = new Composite(parent, SWT.NONE); |
149 | 149 |
mainArea.setLayout(new GridLayout(2, false)); |
150 |
new Label(mainArea, SWT.None).setText(RCPMessages.SetContextSize_3);
|
|
150 |
new Label(mainArea, SWT.None).setText(TXMUIMessages.SetContextSize_3);
|
|
151 | 151 |
leftSpinner = new Spinner(mainArea, SWT.NONE); |
152 | 152 |
leftSpinner.setMinimum(0); |
153 | 153 |
leftSpinner.setMaximum(100); |
154 | 154 |
leftSpinner.setSelection(concordanceEditor.getLeftContextSize()); |
155 |
new Label(mainArea, SWT.None).setText(RCPMessages.SetContextSize_4);
|
|
155 |
new Label(mainArea, SWT.None).setText(TXMUIMessages.SetContextSize_4);
|
|
156 | 156 |
rightSpinner = new Spinner(mainArea, SWT.NONE); |
157 | 157 |
rightSpinner.setMinimum(0); |
158 | 158 |
rightSpinner.setMaximum(100); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/SetLineNumber.java (revision 686) | ||
---|---|---|
40 | 40 |
import org.eclipse.ui.IWorkbenchWindow; |
41 | 41 |
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction; |
42 | 42 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
43 |
import org.txm.rcp.RCPMessages;
|
|
43 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
44 | 44 |
|
45 | 45 |
// TODO: Auto-generated Javadoc |
46 | 46 |
/** |
... | ... | |
68 | 68 |
this.window = window; |
69 | 69 |
this.concordanceEditor = concordanceEditor; |
70 | 70 |
setId(ID); |
71 |
setText(RCPMessages.SetLineNumber_0);
|
|
72 |
setToolTipText(RCPMessages.SetLineNumber_0);
|
|
71 |
setText(TXMUIMessages.SetLineNumber_0);
|
|
72 |
setToolTipText(TXMUIMessages.SetLineNumber_0);
|
|
73 | 73 |
} |
74 | 74 |
|
75 | 75 |
/* (non-Javadoc) |
... | ... | |
133 | 133 |
Composite mainArea = new Composite(parent, SWT.NONE); |
134 | 134 |
mainArea.setLayout(new GridLayout(2, false)); |
135 | 135 |
|
136 |
new Label(mainArea, SWT.None).setText(RCPMessages.SetLineNumber_1);
|
|
136 |
new Label(mainArea, SWT.None).setText(TXMUIMessages.SetLineNumber_1);
|
|
137 | 137 |
rightSpinner = new Spinner(mainArea, SWT.NONE); |
138 | 138 |
rightSpinner.setSelection(concordanceEditor.getLinePerPage()); |
139 | 139 |
rightSpinner.setMinimum(0); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/ComplexSort.java (revision 686) | ||
---|---|---|
52 | 52 |
import org.txm.concordance.core.functions.comparators.CompositeComparator; |
53 | 53 |
import org.txm.concordance.core.functions.comparators.LineComparator; |
54 | 54 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
55 |
import org.txm.rcp.RCPMessages; |
|
56 | 55 |
import org.txm.rcp.StatusLine; |
56 |
import org.txm.rcp.messages.TXMUIMessages; |
|
57 | 57 |
|
58 | 58 |
// TODO: Auto-generated Javadoc |
59 | 59 |
/** |
... | ... | |
81 | 81 |
this.window = window; |
82 | 82 |
this.concordanceEditor = concordanceEditor; |
83 | 83 |
setId(ID); |
84 |
setText(RCPMessages.ComplexSort_1);
|
|
85 |
setToolTipText(RCPMessages.ComplexSort_2);
|
|
84 |
setText(TXMUIMessages.ComplexSort_1);
|
|
85 |
setToolTipText(TXMUIMessages.ComplexSort_2);
|
|
86 | 86 |
} |
87 | 87 |
|
88 | 88 |
/* (non-Javadoc) |
... | ... | |
139 | 139 |
@Override |
140 | 140 |
protected void configureShell(Shell newShell) { |
141 | 141 |
super.configureShell(newShell); |
142 |
newShell.setText(RCPMessages.ComplexSort_3);
|
|
142 |
newShell.setText(TXMUIMessages.ComplexSort_3);
|
|
143 | 143 |
} |
144 | 144 |
|
145 | 145 |
/** |
... | ... | |
181 | 181 |
} |
182 | 182 |
list.select(0); |
183 | 183 |
Button newButton = new Button(mainArea, SWT.PUSH); |
184 |
newButton.setText(RCPMessages.ComplexSort_4);
|
|
184 |
newButton.setText(TXMUIMessages.ComplexSort_4);
|
|
185 | 185 |
newButton.addSelectionListener(new SelectionListener() { |
186 | 186 |
@Override |
187 | 187 |
public void widgetSelected(SelectionEvent e) { |
188 |
StatusLine.setMessage(RCPMessages.ComplexSort_0);
|
|
188 |
StatusLine.setMessage(TXMUIMessages.ComplexSort_0);
|
|
189 | 189 |
CompositeSorterCreationDialog sorterCreationDialog = new CompositeSorterCreationDialog( |
190 | 190 |
getShell()); |
191 | 191 |
int code = sorterCreationDialog.open(); |
... | ... | |
272 | 272 |
@Override |
273 | 273 |
protected void configureShell(Shell newShell) { |
274 | 274 |
super.configureShell(newShell); |
275 |
newShell.setText(RCPMessages.ComplexSort_5);
|
|
275 |
newShell.setText(TXMUIMessages.ComplexSort_5);
|
|
276 | 276 |
} |
277 | 277 |
|
278 | 278 |
/* (non-Javadoc) |
... | ... | |
285 | 285 |
mainArea.setLayout(layout); |
286 | 286 |
|
287 | 287 |
Label nameLabel = new Label(mainArea, SWT.NONE); |
288 |
nameLabel.setText(RCPMessages.ComplexSort_6);
|
|
288 |
nameLabel.setText(TXMUIMessages.ComplexSort_6);
|
|
289 | 289 |
|
290 | 290 |
nameText = new Text(mainArea, SWT.NONE); |
291 | 291 |
GridData gridData = new GridData(SWT.FILL, SWT.TOP, true, false); |
... | ... | |
319 | 319 |
select.addSelectionListener(new SelectionAdapter() { |
320 | 320 |
@Override |
321 | 321 |
public void widgetSelected(SelectionEvent e) { |
322 |
StatusLine.setMessage(RCPMessages.ComplexSort_12);
|
|
322 |
StatusLine.setMessage(TXMUIMessages.ComplexSort_12);
|
|
323 | 323 |
int ind = availbleItems.getSelectionIndex(); |
324 | 324 |
selectedItems.add(availbleItems.getItem(ind)); |
325 | 325 |
availbleItems.remove(ind); |
... | ... | |
333 | 333 |
unselect.addSelectionListener(new SelectionAdapter() { |
334 | 334 |
@Override |
335 | 335 |
public void widgetSelected(SelectionEvent e) { |
336 |
StatusLine.setMessage(RCPMessages.ComplexSort_14);
|
|
336 |
StatusLine.setMessage(TXMUIMessages.ComplexSort_14);
|
|
337 | 337 |
int ind = selectedItems.getSelectionIndex(); |
338 | 338 |
availbleItems.add(selectedItems.getItem(ind)); |
339 | 339 |
selectedItems.remove(ind); |
... | ... | |
347 | 347 |
up.addSelectionListener(new SelectionAdapter() { |
348 | 348 |
@Override |
349 | 349 |
public void widgetSelected(SelectionEvent e) { |
350 |
StatusLine.setMessage(RCPMessages.ComplexSort_16);
|
|
350 |
StatusLine.setMessage(TXMUIMessages.ComplexSort_16);
|
|
351 | 351 |
int ind = selectedItems.getSelectionIndex(); |
352 | 352 |
if (ind > 0) { |
353 | 353 |
selectedItems.add(selectedItems.getItem(ind), ind - 1); |
... | ... | |
364 | 364 |
down.addSelectionListener(new SelectionAdapter() { |
365 | 365 |
@Override |
366 | 366 |
public void widgetSelected(SelectionEvent e) { |
367 |
StatusLine.setMessage(RCPMessages.ComplexSort_18);
|
|
367 |
StatusLine.setMessage(TXMUIMessages.ComplexSort_18);
|
|
368 | 368 |
int ind = selectedItems.getSelectionIndex(); |
369 | 369 |
if (ind < selectedItems.getItemCount() - 1) { |
370 | 370 |
selectedItems.add(selectedItems.getItem(ind), ind + 2); |
... | ... | |
386 | 386 |
@Override |
387 | 387 |
protected void okPressed() { |
388 | 388 |
if (nameText.getText().equals("")) { //$NON-NLS-1$ |
389 |
MessageDialog.openError(getShell(), RCPMessages.CreateSubcorpusDialog_11,
|
|
390 |
RCPMessages.ComplexSort_9);
|
|
389 |
MessageDialog.openError(getShell(), TXMUIMessages.CreateSubcorpusDialog_11,
|
|
390 |
TXMUIMessages.ComplexSort_9);
|
|
391 | 391 |
return; |
392 | 392 |
} |
393 | 393 |
name = nameText.getText(); |
394 | 394 |
if (selectedComparators.size() < 2) { |
395 |
MessageDialog.openError(getShell(), RCPMessages.ComplexSort_10,
|
|
396 |
RCPMessages.ComplexSort_11);
|
|
395 |
MessageDialog.openError(getShell(), TXMUIMessages.ComplexSort_10,
|
|
396 |
TXMUIMessages.ComplexSort_11);
|
|
397 | 397 |
return; |
398 | 398 |
} |
399 | 399 |
super.okPressed(); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/DefineSortReferencePattern.java (revision 686) | ||
---|---|---|
47 | 47 |
import org.eclipse.ui.IWorkbenchWindow; |
48 | 48 |
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction; |
49 | 49 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
50 |
import org.txm.rcp.RCPMessages;
|
|
50 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
51 | 51 |
import org.txm.searchengine.cqp.ReferencePattern; |
52 | 52 |
import org.txm.searchengine.cqp.corpus.Property; |
53 | 53 |
import org.txm.searchengine.cqp.corpus.StructuralUnit; |
... | ... | |
79 | 79 |
this.window = window; |
80 | 80 |
this.concordanceEditor = concordanceEditor; |
81 | 81 |
setId(ID); |
82 |
setText(RCPMessages.DefineReferencePattern_3);
|
|
83 |
setToolTipText(RCPMessages.DefineReferencePattern_4);
|
|
82 |
setText(TXMUIMessages.DefineReferencePattern_3);
|
|
83 |
setToolTipText(TXMUIMessages.DefineReferencePattern_4);
|
|
84 | 84 |
} |
85 | 85 |
|
86 | 86 |
/* (non-Javadoc) |
... | ... | |
174 | 174 |
@Override |
175 | 175 |
protected void configureShell(Shell shell) { |
176 | 176 |
super.configureShell(shell); |
177 |
shell.setText(RCPMessages.DefineReferencePattern_5);
|
|
177 |
shell.setText(TXMUIMessages.DefineReferencePattern_5);
|
|
178 | 178 |
|
179 | 179 |
shell.setSize(400, 500); |
180 | 180 |
shell.setLocation(shell.getParent().getLocation()); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/DefineViewReferencePattern.java (revision 686) | ||
---|---|---|
47 | 47 |
import org.eclipse.ui.IWorkbenchWindow; |
48 | 48 |
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction; |
49 | 49 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
50 |
import org.txm.rcp.RCPMessages;
|
|
50 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
51 | 51 |
import org.txm.searchengine.cqp.ReferencePattern; |
52 | 52 |
import org.txm.searchengine.cqp.corpus.Property; |
53 | 53 |
import org.txm.searchengine.cqp.corpus.StructuralUnit; |
... | ... | |
79 | 79 |
this.window = window; |
80 | 80 |
this.concordanceEditor = concordanceEditor; |
81 | 81 |
setId(ID); |
82 |
setText(RCPMessages.DefineReferencePattern_1);
|
|
83 |
setToolTipText(RCPMessages.DefineReferencePattern_2);
|
|
82 |
setText(TXMUIMessages.DefineReferencePattern_1);
|
|
83 |
setToolTipText(TXMUIMessages.DefineReferencePattern_2);
|
|
84 | 84 |
} |
85 | 85 |
|
86 | 86 |
/* (non-Javadoc) |
... | ... | |
174 | 174 |
@Override |
175 | 175 |
protected void configureShell(Shell shell) { |
176 | 176 |
super.configureShell(shell); |
177 |
shell.setText(RCPMessages.DefineReferencePattern_0);
|
|
177 |
shell.setText(TXMUIMessages.DefineReferencePattern_0);
|
|
178 | 178 |
|
179 | 179 |
shell.setSize(400, 500); |
180 | 180 |
shell.setLocation(shell.getParent().getLocation()); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/actions/SortPropertySelection.java (revision 686) | ||
---|---|---|
39 | 39 |
import org.txm.searchengine.cqp.corpus.Property; |
40 | 40 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
41 | 41 |
import org.txm.concordance.rcp.editors.SortPropertySelectionDialog; |
42 |
import org.txm.rcp.RCPMessages;
|
|
42 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
43 | 43 |
// TODO: Auto-generated Javadoc |
44 | 44 |
/** |
45 | 45 |
* Action to define the view properties of each column @ author mdecorde. |
... | ... | |
69 | 69 |
ConcordanceEditor concordanceEditor, TableViewer tableViewer) { |
70 | 70 |
this.concordanceEditor = concordanceEditor; |
71 | 71 |
setId(ID); |
72 |
setText(RCPMessages.SortPropertySelection_0);
|
|
73 |
setToolTipText(RCPMessages.SortPropertySelection_0);
|
|
72 |
setText(TXMUIMessages.SortPropertySelection_0);
|
|
73 |
setToolTipText(TXMUIMessages.SortPropertySelection_0);
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
/* (non-Javadoc) |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/handlers/ComputeConcordance.java (revision 686) | ||
---|---|---|
38 | 38 |
import org.eclipse.ui.PartInitException; |
39 | 39 |
import org.txm.concordance.core.functions.Concordance; |
40 | 40 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
41 |
import org.txm.concordance.rcp.messages.Messages; |
|
41 |
import org.txm.concordance.rcp.messages.ConcordanceUIMessages;
|
|
42 | 42 |
import org.txm.core.results.TXMParameters; |
43 | 43 |
import org.txm.core.results.TXMResult; |
44 | 44 |
import org.txm.rcp.StatusLine; |
... | ... | |
83 | 83 |
} |
84 | 84 |
|
85 | 85 |
if (openEditor(selection) == null) { |
86 |
System.out.println(Messages.ComputeConcordance_1); |
|
86 |
System.out.println(ConcordanceUIMessages.ComputeConcordance_1);
|
|
87 | 87 |
} |
88 | 88 |
|
89 | 89 |
return null; |
... | ... | |
126 | 126 |
TXMResultEditorInput editorInput = new TXMResultEditorInput(concordance); |
127 | 127 |
|
128 | 128 |
try { |
129 |
StatusLine.setMessage(Messages.ComputeConcordance_0); |
|
129 |
StatusLine.setMessage(ConcordanceUIMessages.ComputeConcordance_0);
|
|
130 | 130 |
IEditorPart editor = TXMWindows.getActiveWindow().getActivePage().openEditor(editorInput, ConcordanceEditor.class.getName()); //$NON-NLS-1$ |
131 | 131 |
if (editor == null) return null; |
132 | 132 |
|
133 | 133 |
return editor; |
134 | 134 |
} catch (PartInitException e) { |
135 |
System.err.println(NLS.bind(Messages.GetConcordances_4, e)); |
|
135 |
System.err.println(NLS.bind(ConcordanceUIMessages.GetConcordances_4, e));
|
|
136 | 136 |
e.printStackTrace(); |
137 | 137 |
} |
138 | 138 |
return null; |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/preferences/ConcordancePreferencePage.java (revision 686) | ||
---|---|---|
31 | 31 |
import org.eclipse.ui.IWorkbench; |
32 | 32 |
import org.txm.concordance.core.preferences.ConcordancePreferences; |
33 | 33 |
import org.txm.concordance.rcp.adapters.ConcordanceAdapterFactory; |
34 |
import org.txm.concordance.rcp.messages.Messages; |
|
34 |
import org.txm.concordance.rcp.messages.ConcordanceUIMessages;
|
|
35 | 35 |
import org.txm.rcp.preferences.TXMPreferencePage; |
36 | 36 |
import org.txm.rcp.preferences.TXMPreferenceStore; |
37 | 37 |
|
... | ... | |
50 | 50 |
|
51 | 51 |
@Override |
52 | 52 |
protected void createFieldEditors() { |
53 |
this.addField(new IntegerFieldEditor(ConcordancePreferences.N_LINES_PER_PAGE, Messages.ConcordancerPreferencePage_4, this.getFieldEditorParent())); |
|
54 |
this.addField(new IntegerFieldEditor(ConcordancePreferences.LEFT_CONTEXT_SIZE, Messages.ConcordancerPreferencePage_5, this.getFieldEditorParent())); |
|
55 |
this.addField(new IntegerFieldEditor(ConcordancePreferences.RIGHT_CONTEXT_SIZE, Messages.ConcordancerPreferencePage_6, this.getFieldEditorParent())); |
|
53 |
this.addField(new IntegerFieldEditor(ConcordancePreferences.N_LINES_PER_PAGE, ConcordanceUIMessages.ConcordancerPreferencePage_4, this.getFieldEditorParent()));
|
|
54 |
this.addField(new IntegerFieldEditor(ConcordancePreferences.LEFT_CONTEXT_SIZE, ConcordanceUIMessages.ConcordancerPreferencePage_5, this.getFieldEditorParent()));
|
|
55 |
this.addField(new IntegerFieldEditor(ConcordancePreferences.RIGHT_CONTEXT_SIZE, ConcordanceUIMessages.ConcordancerPreferencePage_6, this.getFieldEditorParent()));
|
|
56 | 56 |
} |
57 | 57 |
|
58 | 58 |
|
... | ... | |
60 | 60 |
@Override |
61 | 61 |
public void init(IWorkbench workbench) { |
62 | 62 |
this.setPreferenceStore(new TXMPreferenceStore(ConcordancePreferences.PREFERENCES_NODE)); |
63 |
this.setTitle(Messages.ConcordancerPreferencePage_3); |
|
63 |
this.setTitle(ConcordanceUIMessages.ConcordancerPreferencePage_3);
|
|
64 | 64 |
this.setImageDescriptor(ConcordanceAdapterFactory.ICON); |
65 | 65 |
} |
66 | 66 |
} |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/widgets/ComplexSortSelector.java (revision 686) | ||
---|---|---|
44 | 44 |
import org.txm.concordance.core.functions.comparators.CompositeComparator; |
45 | 45 |
import org.txm.concordance.core.functions.comparators.LineComparator; |
46 | 46 |
import org.txm.concordance.rcp.editors.ConcordanceEditor; |
47 |
import org.txm.rcp.RCPMessages;
|
|
47 |
import org.txm.rcp.messages.TXMUIMessages;
|
|
48 | 48 |
// TODO: Auto-generated Javadoc |
49 | 49 |
/** |
50 | 50 |
* allow to build a Composite sorter of 1 to 4 keys @ author mdecorde. |
... | ... | |
99 | 99 |
public void widgetDefaultSelected(SelectionEvent e) { |
100 | 100 |
} |
101 | 101 |
}; |
102 |
new Label(this, SWT.NONE).setText(RCPMessages.ComplexSortSelector_0);
|
|
102 |
new Label(this, SWT.NONE).setText(TXMUIMessages.ComplexSortSelector_0);
|
|
103 | 103 |
new Label(this, SWT.NONE).setText("#1"); //$NON-NLS-1$ |
104 | 104 |
firstKey = new Combo(this, SWT.NONE | SWT.READ_ONLY); |
105 | 105 |
//firstKey.addSelectionListener(listener); |
... | ... | |
124 | 124 |
fourthKey.setLayoutData(griddata); |
125 | 125 |
|
126 | 126 |
Button sortButton = new Button(this, SWT.PUSH); |
127 |
sortButton.setText(RCPMessages.ComplexSortSelector_2);
|
|
127 |
sortButton.setText(TXMUIMessages.ComplexSortSelector_2);
|
|
128 | 128 |
sortButton.addSelectionListener(listener); |
129 | 129 |
|
130 | 130 |
} |
... | ... | |
140 | 140 |
comp.add(standardComparators.get(thirdKey.getText())); |
141 | 141 |
comp.add(standardComparators.get(fourthKey.getText())); |
142 | 142 |
defaultComparator.setComparators(comp); |
143 |
System.out.println(RCPMessages.ComplexSortSelector_1+comp);
|
|
143 |
System.out.println(TXMUIMessages.ComplexSortSelector_1+comp);
|
|
144 | 144 |
editor.resetSortedColumn(firstKey.getSelectionIndex()); |
145 | 145 |
editor.setCurrentComparator(defaultComparator); |
146 | 146 |
editor.sort(); |
147 | 147 |
} catch (Exception e) { |
148 |
System.err.println(NLS.bind(RCPMessages.ComplexSortSelector_5, e));
|
|
148 |
System.err.println(NLS.bind(TXMUIMessages.ComplexSortSelector_5, e));
|
|
149 | 149 |
org.txm.rcp.utils.Logger.printStackTrace(e); |
150 | 150 |
} |
151 | 151 |
} |
... | ... | |
191 | 191 |
List<LineComparator> userDefinedComparators = editor |
192 | 192 |
.getUserDefinedComparators(); |
193 | 193 |
for (LineComparator c : userDefinedComparators) { |
194 |
if (c.getName().equals(RCPMessages.ComplexSortSelector_6)) {
|
|
194 |
if (c.getName().equals(TXMUIMessages.ComplexSortSelector_6)) {
|
|
195 | 195 |
defaultComparator = (CompositeComparator) c; |
196 | 196 |
List<LineComparator> comp = defaultComparator.getComparators(); |
197 | 197 |
if (comp.size() >= 4) { |
... | ... | |
221 | 221 |
|
222 | 222 |
// no default comparator found -> create one |
223 | 223 |
defaultComparator = new CompositeComparator( |
224 |
RCPMessages.ComplexSortSelector_6, standardComparatorslist);
|
|
224 |
TXMUIMessages.ComplexSortSelector_6, standardComparatorslist);
|
|
225 | 225 |
firstKey.select(0); |
226 | 226 |
secondKey.select(0); |
227 | 227 |
thirdKey.select(0); |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/messages/Messages.java (revision 686) | ||
---|---|---|
1 |
package org.txm.concordance.rcp.messages; |
|
2 |
|
|
3 |
import org.eclipse.osgi.util.NLS; |
|
4 |
import org.txm.utils.messages.Utf8NLS; |
|
5 |
|
|
6 |
public class Messages extends NLS { |
|
7 |
|
|
8 |
// The Constant BUNDLE_NAME. |
|
9 |
private static final String BUNDLE_NAME = Messages.class.getPackage().getName()+".messages"; //$NON-NLS-1$ |
|
10 |
|
|
11 |
public static String ConcordancesEditor_referenceColumn_text; |
|
12 |
public static String ConcordancesEditor_xpndtmNewExpanditem_text; |
|
13 |
public static String ConcordancesEditor_xpndtmNewParameters_text; |
|
14 |
public static String ConcordancesEditor_xpndtmNewExpanditem_text_1; |
|
15 |
public static String ConcordancesEditor_xpndtmNewExpanditem_text_2; |
|
16 |
|
|
17 |
public static String GetConcordancesDialog_0; |
|
18 |
public static String GetConcordancesDialog_1; |
|
19 |
public static String GetConcordancesDialog_13; |
|
20 |
public static String GetConcordancesDialog_14; |
|
21 |
public static String GetConcordancesDialog_15; |
|
22 |
public static String GetConcordancesDialog_4; |
|
23 |
public static String GetConcordancesDialog_5; |
|
24 |
public static String GetConcordancesDialog_6; |
|
25 |
public static String GetConcordancesDialog_7; |
|
26 |
|
|
27 |
public static String GetConcordances_4; |
|
28 |
|
|
29 |
public static String ERROR_WHILE_LOADING_CONCORDANCE_LINE; |
|
30 |
|
|
31 |
public static String ComputeConcordance_0; |
|
32 |
public static String ComputeConcordance_1; |
|
33 |
|
|
34 |
public static String ConcordancerPreferencePage_3; |
|
35 |
public static String ConcordancerPreferencePage_4; |
|
36 |
public static String ConcordancerPreferencePage_5; |
|
37 |
public static String ConcordancerPreferencePage_6; |
|
38 |
|
|
39 |
public static String ConcordancesEditorContributor_0; |
|
40 |
|
|
41 |
public static String ConcordancesEditor_0; |
|
42 |
public static String ConcordancesEditor_1; |
|
43 |
public static String ConcordancesEditor_10; |
|
44 |
public static String ConcordancesEditor_101; |
|
45 |
public static String ConcordancesEditor_108; |
|
46 |
public static String ConcordancesEditor_11; |
|
47 |
public static String ConcordancesEditor_112; |
|
48 |
public static String ConcordancesEditor_12; |
|
49 |
public static String ConcordancesEditor_13; |
|
50 |
public static String ConcordancesEditor_14; |
|
51 |
public static String ConcordancesEditor_15; |
|
52 |
public static String ConcordancesEditor_16; |
|
53 |
public static String ConcordancesEditor_17; |
|
54 |
public static String ConcordancesEditor_18; |
|
55 |
public static String ConcordancesEditor_19; |
|
56 |
public static String ConcordancesEditor_2; |
|
57 |
public static String ConcordancesEditor_20; |
|
58 |
public static String ConcordancesEditor_21; |
|
59 |
public static String ConcordancesEditor_22; |
|
60 |
public static String ConcordancesEditor_23; |
|
61 |
public static String ConcordancesEditor_24; |
|
62 |
public static String ConcordancesEditor_25; |
|
63 |
public static String ConcordancesEditor_26; |
|
64 |
public static String ConcordancesEditor_27; |
|
65 |
public static String ConcordancesEditor_28; |
|
66 |
public static String ConcordancesEditor_29; |
|
67 |
public static String ConcordancesEditor_3; |
|
68 |
public static String ConcordancesEditor_30; |
|
69 |
public static String ConcordancesEditor_31; |
|
70 |
public static String ConcordancesEditor_32; |
|
71 |
public static String ConcordancesEditor_33; |
|
72 |
public static String ConcordancesEditor_34; |
|
73 |
public static String ConcordancesEditor_35; |
|
74 |
public static String ConcordancesEditor_36; |
|
75 |
public static String ConcordancesEditor_37; |
|
76 |
public static String ConcordancesEditor_38; |
|
77 |
public static String ConcordancesEditor_39; |
|
78 |
public static String ConcordancesEditor_4; |
|
79 |
public static String ConcordancesEditor_40; |
|
80 |
public static String ConcordancesEditor_41; |
|
81 |
public static String ConcordancesEditor_42; |
|
82 |
public static String ConcordancesEditor_43; |
|
83 |
public static String ConcordancesEditor_44; |
|
84 |
public static String ConcordancesEditor_45; |
|
85 |
public static String ConcordancesEditor_46; |
|
86 |
public static String ConcordancesEditor_47; |
|
87 |
public static String ConcordancesEditor_48; |
|
88 |
public static String ConcordancesEditor_49; |
|
89 |
public static String ConcordancesEditor_5; |
|
90 |
public static String ConcordancesEditor_50; |
|
91 |
public static String ConcordancesEditor_51; |
|
92 |
public static String ConcordancesEditor_53; |
|
93 |
public static String ConcordancesEditor_54; |
|
94 |
public static String ConcordancesEditor_55; |
|
95 |
public static String ConcordancesEditor_56; |
|
96 |
public static String ConcordancesEditor_57; |
|
97 |
public static String ConcordancesEditor_58; |
|
98 |
public static String ConcordancesEditor_59; |
|
99 |
public static String ConcordancesEditor_6; |
|
100 |
public static String ConcordancesEditor_60; |
|
101 |
public static String ConcordancesEditor_61; |
|
102 |
public static String ConcordancesEditor_62; |
|
103 |
public static String ConcordancesEditor_63; |
|
104 |
public static String ConcordancesEditor_64; |
|
105 |
public static String ConcordancesEditor_65; |
|
106 |
public static String ConcordancesEditor_66; |
|
107 |
public static String ConcordancesEditor_67; |
|
108 |
public static String ConcordancesEditor_68; |
|
109 |
public static String ConcordancesEditor_69; |
|
110 |
public static String ConcordancesEditor_7; |
|
111 |
public static String ConcordancesEditor_70; |
|
112 |
public static String ConcordancesEditor_71; |
|
113 |
public static String ConcordancesEditor_72; |
|
114 |
public static String ConcordancesEditor_73; |
|
115 |
public static String ConcordancesEditor_74; |
|
116 |
public static String ConcordancesEditor_75; |
|
117 |
public static String ConcordancesEditor_76; |
|
118 |
public static String ConcordancesEditor_77; |
|
119 |
public static String ConcordancesEditor_78; |
|
120 |
public static String ConcordancesEditor_79; |
|
121 |
public static String ConcordancesEditor_8; |
|
122 |
public static String ConcordancesEditor_80; |
|
123 |
public static String ConcordancesEditor_81; |
|
124 |
public static String ConcordancesEditor_82; |
|
125 |
public static String ConcordancesEditor_83; |
|
126 |
public static String ConcordancesEditor_84; |
|
127 |
public static String ConcordancesEditor_85; |
|
128 |
public static String ConcordancesEditor_86; |
|
129 |
public static String ConcordancesEditor_87; |
|
130 |
public static String ConcordancesEditor_88; |
|
131 |
public static String ConcordancesEditor_9; |
|
132 |
public static String ConcordancesEditor_99; |
|
133 |
public static String ConcordancesEditor_100; |
|
134 |
public static String ConcordancesEditor_110; |
|
135 |
public static String ConcordancesEditor_115; |
|
136 |
public static String ConcordancesEditor_116; |
|
137 |
|
|
138 |
static { |
|
139 |
// initialize resource bundle |
|
140 |
Utf8NLS.initializeMessages(BUNDLE_NAME, Messages.class); |
|
141 |
} |
|
142 |
|
|
143 |
} |
tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/messages/ConcordanceUIMessages.java (revision 686) | ||
---|---|---|
1 |
package org.txm.concordance.rcp.messages; |
|
2 |
|
|
3 |
import org.eclipse.osgi.util.NLS; |
|
4 |
import org.txm.utils.messages.Utf8NLS; |
|
5 |
|
|
6 |
public class ConcordanceUIMessages extends NLS { |
|
7 |
|
|
8 |
private static final String BUNDLE_NAME = "org.txm.concordance.rcp.messages.messages"; //$NON-NLS-1$ |
|
9 |
|
|
10 |
public static String ConcordancesEditor_referenceColumn_text; |
|
11 |
public static String ConcordancesEditor_xpndtmNewExpanditem_text; |
|
12 |
public static String ConcordancesEditor_xpndtmNewParameters_text; |
|
13 |
public static String ConcordancesEditor_xpndtmNewExpanditem_text_1; |
|
14 |
public static String ConcordancesEditor_xpndtmNewExpanditem_text_2; |
|
15 |
|
|
16 |
public static String GetConcordancesDialog_0; |
|
17 |
public static String GetConcordancesDialog_1; |
|
18 |
public static String GetConcordancesDialog_13; |
|
19 |
public static String GetConcordancesDialog_14; |
|
20 |
public static String GetConcordancesDialog_15; |
|
21 |
public static String GetConcordancesDialog_4; |
|
22 |
public static String GetConcordancesDialog_5; |
|
23 |
public static String GetConcordancesDialog_6; |
|
24 |
public static String GetConcordancesDialog_7; |
|
25 |
|
|
26 |
public static String GetConcordances_4; |
|
27 |
|
|
28 |
public static String ERROR_WHILE_LOADING_CONCORDANCE_LINE; |
|
29 |
|
|
30 |
public static String ComputeConcordance_0; |
|
31 |
public static String ComputeConcordance_1; |
|
32 |
|
|
33 |
public static String ConcordancerPreferencePage_3; |
|
34 |
public static String ConcordancerPreferencePage_4; |
|
35 |
public static String ConcordancerPreferencePage_5; |
|
36 |
public static String ConcordancerPreferencePage_6; |
|
37 |
|
|
38 |
public static String ConcordancesEditorContributor_0; |
|
39 |
|
|
40 |
public static String ConcordancesEditor_0; |
|
41 |
public static String ConcordancesEditor_1; |
|
42 |
public static String ConcordancesEditor_10; |
|
43 |
public static String ConcordancesEditor_101; |
|
44 |
public static String ConcordancesEditor_108; |
|
45 |
public static String ConcordancesEditor_11; |
|
46 |
public static String ConcordancesEditor_112; |
|
47 |
public static String ConcordancesEditor_12; |
|
48 |
public static String ConcordancesEditor_13; |
|
49 |
public static String ConcordancesEditor_14; |
|
50 |
public static String ConcordancesEditor_15; |
|
51 |
public static String ConcordancesEditor_16; |
|
52 |
public static String ConcordancesEditor_17; |
|
53 |
public static String ConcordancesEditor_18; |
|
54 |
public static String ConcordancesEditor_19; |
|
55 |
public static String ConcordancesEditor_2; |
|
56 |
public static String ConcordancesEditor_20; |
|
57 |
public static String ConcordancesEditor_21; |
|
58 |
public static String ConcordancesEditor_22; |
|
59 |
public static String ConcordancesEditor_23; |
|
60 |
public static String ConcordancesEditor_24; |
|
61 |
public static String ConcordancesEditor_25; |
|
62 |
public static String ConcordancesEditor_26; |
|
63 |
public static String ConcordancesEditor_27; |
|
64 |
public static String ConcordancesEditor_28; |
|
65 |
public static String ConcordancesEditor_29; |
|
66 |
public static String ConcordancesEditor_3; |
|
67 |
public static String ConcordancesEditor_30; |
|
68 |
public static String ConcordancesEditor_31; |
|
69 |
public static String ConcordancesEditor_32; |
|
70 |
public static String ConcordancesEditor_33; |
|
71 |
public static String ConcordancesEditor_34; |
|
72 |
public static String ConcordancesEditor_35; |
|
73 |
public static String ConcordancesEditor_36; |
|
74 |
public static String ConcordancesEditor_37; |
|
75 |
public static String ConcordancesEditor_38; |
|
76 |
public static String ConcordancesEditor_39; |
|
77 |
public static String ConcordancesEditor_4; |
|
78 |
public static String ConcordancesEditor_40; |
|
79 |
public static String ConcordancesEditor_41; |
|
80 |
public static String ConcordancesEditor_42; |
|
81 |
public static String ConcordancesEditor_43; |
|
82 |
public static String ConcordancesEditor_44; |
|
83 |
public static String ConcordancesEditor_45; |
|
84 |
public static String ConcordancesEditor_46; |
|
85 |
public static String ConcordancesEditor_47; |
|
86 |
public static String ConcordancesEditor_48; |
|
87 |
public static String ConcordancesEditor_49; |
|
88 |
public static String ConcordancesEditor_5; |
|
89 |
public static String ConcordancesEditor_50; |
|
90 |
public static String ConcordancesEditor_51; |
|
91 |
public static String ConcordancesEditor_53; |
|
92 |
public static String ConcordancesEditor_54; |
|
93 |
public static String ConcordancesEditor_55; |
|
94 |
public static String ConcordancesEditor_56; |
|
95 |
public static String ConcordancesEditor_57; |
|
96 |
public static String ConcordancesEditor_58; |
|
97 |
public static String ConcordancesEditor_59; |
|
98 |
public static String ConcordancesEditor_6; |
|
99 |
public static String ConcordancesEditor_60; |
|
100 |
public static String ConcordancesEditor_61; |
|
101 |
public static String ConcordancesEditor_62; |
|
102 |
public static String ConcordancesEditor_63; |
|
103 |
public static String ConcordancesEditor_64; |
|
104 |
public static String ConcordancesEditor_65; |
|
105 |
public static String ConcordancesEditor_66; |
|
106 |
public static String ConcordancesEditor_67; |
|
107 |
public static String ConcordancesEditor_68; |
|
108 |
public static String ConcordancesEditor_69; |
|
109 |
public static String ConcordancesEditor_7; |
|
110 |
public static String ConcordancesEditor_70; |
|
111 |
public static String ConcordancesEditor_71; |
|
112 |
public static String ConcordancesEditor_72; |
|
113 |
public static String ConcordancesEditor_73; |
|
114 |
public static String ConcordancesEditor_74; |
|
115 |
public static String ConcordancesEditor_75; |
|
116 |
public static String ConcordancesEditor_76; |
|
117 |
public static String ConcordancesEditor_77; |
|
118 |
public static String ConcordancesEditor_78; |
|
119 |
public static String ConcordancesEditor_79; |
|
120 |
public static String ConcordancesEditor_8; |
|
121 |
public static String ConcordancesEditor_80; |
|
122 |
public static String ConcordancesEditor_81; |
|
123 |
public static String ConcordancesEditor_82; |
|
124 |
public static String ConcordancesEditor_83; |
|
125 |
public static String ConcordancesEditor_84; |
|
126 |
public static String ConcordancesEditor_85; |
|
127 |
public static String ConcordancesEditor_86; |
|
128 |
public static String ConcordancesEditor_87; |
|
129 |
public static String ConcordancesEditor_88; |
|
130 |
public static String ConcordancesEditor_9; |
|
131 |
public static String ConcordancesEditor_99; |
|
132 |
public static String ConcordancesEditor_100; |
|
133 |
public static String ConcordancesEditor_110; |
|
134 |
public static String ConcordancesEditor_115; |
|
135 |
public static String ConcordancesEditor_116; |
|
136 |
|
|
137 |
static { |
|
138 |
// initialize resource bundle |
|
139 |
Utf8NLS.initializeMessages(BUNDLE_NAME, ConcordanceUIMessages.class); |
|
140 |
} |
|
141 |
|
|
142 |
} |
|
0 | 143 |
tmp/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/preferences/JFCChartsEnginePreferencePage.java (revision 686) | ||
---|---|---|
107 | 107 |
|
108 | 108 |
|
109 | 109 |
} catch (Exception e) { |
110 |
System.err.println(org.txm.rcp.RCPMessages.FAILED_TO_SAVE_PREFERENCES + e);
|
|
110 |
System.err.println(org.txm.rcp.messages.TXMUIMessages.FAILED_TO_SAVE_PREFERENCES + e);
|
|
111 | 111 |
} |
112 | 112 |
return true; |
113 | 113 |
} |
tmp/org.txm.core/buildJavadoc.xml (revision 686) | ||
---|---|---|
24 | 24 |
--> |
25 | 25 |
<groovydoc |
26 | 26 |
destdir="javadoc/" |
27 |
sourcepath="../org.txm.core/src/java:../org.txm.statsengine.r.core/src:../org.txm.core.tests/src:../org.txm.cql2lsa.rcp/src:../org.txm.oriflamms.rcp/src:../org.txm.dictionary.rcp/src:../org.txm.para.core/src:../org.txm.groovy.core/src:../org.txm.para.rcp/src:../org.txm.groovy.rcp/src:../org.txm.partition.core/src:../org.txm.statsengine.r.rcp/src:../org.txm.imports.metopes/src:../org.txm.partition.rcp/src:../org.txm.svn.rcp/src:../org.txm.analec.rcp/src:../org.txm.index.core/src:../org.txm.practically.rcp/src:../org.txm.annotation.core/src:../org.txm.index.rcp/src:../org.txm.progression.core/src:../org.txm.synopticeditor.rcp/src:../org.txm.annotation.rcp/src:../org.txm.internalview.core/src:../org.txm.progression.rcp/src:../org.txm.textsbalance.core/src:../org.txm.backtomedia.rcp/src:../org.txm.internalview.rcp/src:../org.txm.querycooccurrences.rcp/src:../org.txm.ca.core/src:../org.txm.jodconverter.core/src:../org.txm.queryindex.rcp/src:../org.txm.textsbalance.rcp/src:../org.txm.cah.core/src:../org.txm.lexicaltable.core/src:../org.txm.r/src:../org.txm.tigersearch.rcp/src:../org.txm.cah.rcp/src:../org.txm.lexicaltable.rcp/src:../org.txm.rcp/src/main/java:../org.txm.tmp.rcp/src:../org.txm.ca.rcp/src:../org.txm.lexicon.core/src:../org.txm.rcp.about.fragment/src:../org.txm.treetaggerinstaller.rcp/src:../org.txm.chartsengine.core/src:../org.txm.lexicon.rcp/src:../org.txm.treetagger.rcp/src:../org.txm.chartsengine.jfreechart.core/src:../org.txm.rcp.p2.ui/src:../org.txm.utils/src:../org.txm.chartsengine.jfreechart.rcp/src:../org.txm.referencer.core/src:../org.txm.wordcloud.core/src:../org.txm.chartsengine.raster.rcp/src:../org.txm.referencer.rcp/src:../org.txm.chartsengine.r.core/src:../org.txm.searchengine.core/src:../org.txm.wordcloud.rcp/src:../org.txm.chartsengine.rcp/src:../org.txm.searchengine.cqp.core/src:../org.txm.xmleditor.rcp/src:../org.txm.chartsengine.r.rcp/src:../org.txm.chartsengine.svgbatik.rcp/src:../org.txm.searchengine.cqp.rcp/src:../org.txm.concordance.core/src:../org.txm.setups.startdialog/src:../org.txm.concordance.rcp/src:../org.txm.specificities.core/src:../org.txm.cooccurrence.core/src:../org.txm.specificities.rcp/src:../org.txm.cooccurrence.rcp/src:../org.txm.statsengine.core"
|
|
27 |
sourcepath="../org.txm.core/src/java:../org.txm.statsengine.r.core/src:../org.txm.core.tests/src:../org.txm.cql2lsa.rcp/src:../org.txm.oriflamms.rcp/src:../org.txm.dictionary.rcp/src:../org.txm.para.core/src:../org.txm.groovy.core/src:../org.txm.para.rcp/src:../org.txm.groovy.rcp/src:../org.txm.partition.core/src:../org.txm.statsengine.r.rcp/src:../org.txm.imports.metopes/src:../org.txm.partition.rcp/src:../org.txm.svn.rcp/src:../org.txm.analec.rcp/src:../org.txm.index.core/src:../org.txm.practically.rcp/src:../org.txm.annotation.core/src:../org.txm.index.rcp/src:../org.txm.progression.core/src:../org.txm.synopticeditor.rcp/src:../org.txm.annotation.rcp/src:../org.txm.internalview.core/src:../org.txm.progression.rcp/src:../org.txm.textsbalance.core/src:../org.txm.backtomedia.rcp/src:../org.txm.internalview.rcp/src:../org.txm.querycooccurrences.rcp/src:../org.txm.ca.core/src:../org.txm.jodconverter.core/src:../org.txm.queryindex.rcp/src:../org.txm.textsbalance.rcp/src:../org.txm.ahc.core/src:../org.txm.lexicaltable.core/src:../org.txm.r/src:../org.txm.tigersearch.rcp/src:../org.txm.cah.rcp/src:../org.txm.lexicaltable.rcp/src:../org.txm.rcp/src/main/java:../org.txm.tmp.rcp/src:../org.txm.ca.rcp/src:../org.txm.lexicon.core/src:../org.txm.rcp.about.fragment/src:../org.txm.treetaggerinstaller.rcp/src:../org.txm.chartsengine.core/src:../org.txm.lexicon.rcp/src:../org.txm.treetagger.rcp/src:../org.txm.chartsengine.jfreechart.core/src:../org.txm.rcp.p2.ui/src:../org.txm.utils/src:../org.txm.chartsengine.jfreechart.rcp/src:../org.txm.referencer.core/src:../org.txm.wordcloud.core/src:../org.txm.chartsengine.raster.rcp/src:../org.txm.referencer.rcp/src:../org.txm.chartsengine.r.core/src:../org.txm.searchengine.core/src:../org.txm.wordcloud.rcp/src:../org.txm.chartsengine.rcp/src:../org.txm.searchengine.cqp.core/src:../org.txm.xmleditor.rcp/src:../org.txm.chartsengine.r.rcp/src:../org.txm.chartsengine.svgbatik.rcp/src:../org.txm.searchengine.cqp.rcp/src:../org.txm.concordance.core/src:../org.txm.setups.startdialog/src:../org.txm.concordance.rcp/src:../org.txm.specificities.core/src:../org.txm.cooccurrence.core/src:../org.txm.specificities.rcp/src:../org.txm.cooccurrence.rcp/src:../org.txm.statsengine.core"
|
|
28 | 28 |
packagenames="org.txm.*" |
29 | 29 |
|
30 | 30 |
use="true" |
tmp/org.txm.core/src/java/org/txm/core/messages/messages_ru.properties (revision 686) | ||
---|---|---|
5 | 5 |
|
6 | 6 |
QUERY_1 = Запрос: |
7 | 7 |
|
8 |
common_delete = удалить |
|
9 |
common_description = Описание |
|
10 |
common_mode = |
|
11 |
common_ok = OK |
|
12 |
common_pleaseWait = Пожалуйста, подождите... |
|
13 |
common_queries = Запросы: |
|
14 |
common_structuralUnit = Структурная единица: |
|
15 |
common_structure = Структура |
|
16 |
common_units = Единицы |
tmp/org.txm.core/src/java/org/txm/core/messages/TXMCoreMessages.java (revision 686) | ||
---|---|---|
14 | 14 |
|
15 | 15 |
private static final String BUNDLE_NAME = "org.txm.core.messages.messages"; //$NON-NLS-1$ |
16 | 16 |
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
public static String common_strucutralUnit; |
|
21 |
public static String common_description; |
|
22 |
public static String common_structure; |
|
23 |
public static String common_queries; |
|
24 |
|
|
25 |
|
|
26 |
public static String common_units; |
|
27 |
public static String common_delete; |
|
28 |
public static String common_ok; |
|
29 |
public static String common_mode; |
|
30 |
|
|
31 |
public static String common_pleaseWait; |
|
32 |
|
|
33 |
|
|
17 | 34 |
public static String ApplicationWorkbenchAdvisor_15; |
18 | 35 |
public static String ApplicationWorkbenchAdvisor_14; |
19 | 36 |
public static String ApplicationWorkbenchAdvisor_6; |
... | ... | |
31 | 48 |
public static String COMPUTE_DONE_NO_RESULT; |
32 | 49 |
|
33 | 50 |
|
34 |
|
|
35 | 51 |
public static String FAILED; |
36 | 52 |
public static String DONE; |
37 | 53 |
public static String AbsoluteFrequency_1; |
... | ... | |
98 | 114 |
public static String DROP_PARTITION; |
99 | 115 |
public static String DROP_QUERYRESULT; |
100 | 116 |
public static String DROP_SUBCORPUS; |
101 |
public static String Diagnostic_0; |
|
102 |
public static String Diagnostic_1; |
|
103 |
public static String Diagnostic_10; |
|
104 |
public static String Diagnostic_11; |
|
105 |
public static String Diagnostic_12; |
|
106 |
public static String Diagnostic_13; |
|
107 |
public static String Diagnostic_14; |
|
108 |
public static String Diagnostic_15; |
|
109 |
public static String Diagnostic_16; |
|
110 |
public static String Diagnostic_17; |
|
111 |
public static String Diagnostic_18; |
|
112 |
public static String Diagnostic_19; |
|
113 |
public static String Diagnostic_2; |
|
114 |
public static String Diagnostic_20; |
|
115 |
public static String Diagnostic_22; |
|
116 |
public static String Diagnostic_23; |
|
117 |
public static String Diagnostic_26; |
|
118 |
public static String Diagnostic_3; |
|
119 |
public static String Diagnostic_4; |
|
120 |
public static String Diagnostic_40; |
|
121 |
public static String Diagnostic_41; |
|
122 |
public static String Diagnostic_43; |
|
123 |
public static String Diagnostic_49; |
|
124 |
public static String Diagnostic_5; |
|
125 |
public static String Diagnostic_6; |
|
126 |
public static String Diagnostic_7; |
|
127 |
public static String Diagnostic_8; |
|
128 |
public static String Diagnostic_9; |
|
129 | 117 |
public static String END_SUBCORPUS_LEXICON; |
130 | 118 |
public static String END_SUBCORPUS_SIZE; |
131 | 119 |
public static String EVALUATED_EXPRESSION; |
tmp/org.txm.core/src/java/org/txm/core/messages/messages_fr.properties (revision 686) | ||
---|---|---|
85 | 85 |
DROP_QUERYRESULT = Suppression du résultat de requête {0} |
86 | 86 |
DROP_SUBCORPUS = Suppression du sous-corpus {0} |
87 | 87 |
|
88 |
Diagnostic_0 = <h3>Propriétés des structures\n |
|
89 |
Diagnostic_1 = ** Echec d'accès au corpus |
|
90 |
Diagnostic_10 = Nom de la partition : |
|
91 |
Diagnostic_11 = \ structures |
|
92 |
Diagnostic_12 = Nombre de parties : |
|
93 |
Diagnostic_13 = Taille de la partition : |
|
94 |
Diagnostic_14 = Propriétés des unités lexicales (max {0} valeurs) |
|
95 |
Diagnostic_15 = Numéro de la partie : |
|
96 |
Diagnostic_16 = Nombre d'unités de structure |
|
97 |
Diagnostic_17 = Nom des parties : |
|
98 |
Diagnostic_18 = Taille des parties : |
|
99 |
Diagnostic_19 = Propriétés des parties : |
|
100 |
Diagnostic_2 = ** Erreur |
|
101 |
Diagnostic_20 = Requêtes de parties : |
|
102 |
Diagnostic_22 = Propriétés des structures (max {0} valeurs) |
|
103 |
Diagnostic_23 = \ valeurs) |
|
104 |
Diagnostic_26 = Pas de propriété |
|
105 |
Diagnostic_3 = Description du corpus |
|
106 |
Diagnostic_4 = \ propriétés |
|
107 |
Diagnostic_40 = * Statistiques Générales\n |
|
108 |
Diagnostic_41 = - T |
|
109 |
Diagnostic_43 = - Propriétés de mot |
|
110 |
Diagnostic_49 = - S |
|
111 |
Diagnostic_5 = Statistiques Générales |
|
112 |
Diagnostic_6 = ** Echec d'accès au corpus |
|
113 |
Diagnostic_7 = Nombre de mots |
|
114 |
Diagnostic_8 = \ lexique |
|
115 |
Diagnostic_9 = Nombre de propriétés de mot |
|
116 |
|
|
117 | 88 |
END_SUBCORPUS_LEXICON = Lexique du sous-corpus {0} calculé en {1} ms |
118 | 89 |
END_SUBCORPUS_SIZE = Taille du sous-corpus {0} ({1}) calculée en {2} ms |
119 | 90 |
|
... | ... | |
403 | 374 |
Workspace_6 = ** Echec de la création du fichier d'espace de travail : |
404 | 375 |
Workspace_7 = \ pages |
405 | 376 |
Workspace_8 = Le fichier XML d'espace de travail est mal formé. Un nouveau doit être regénéré... |
377 |
|
|
378 |
common_delete = Supprimer |
|
379 |
common_description = Description |
|
380 |
common_mode = Mode |
|
381 |
common_ok = OK |
|
382 |
common_pleaseWait = Veuillez patienter... |
|
383 |
common_queries = Requêtes : |
|
384 |
common_structuralUnit = Unité structurelle : |
|
385 |
common_structure = Structure |
|
386 |
common_units = Unités |
tmp/org.txm.core/src/java/org/txm/core/messages/messages.properties (revision 686) | ||
---|---|---|
1 |
ApplicationWorkbenchAdvisor_14 = \ evaluating extension: |
|
2 |
ApplicationWorkbenchAdvisor_15 = Loading extensions... |
|
3 |
ApplicationWorkbenchAdvisor_6 = Exception: |
|
4 | 1 |
|
5 |
|
|
6 | 2 |
AbsoluteFrequency_1 = Absolute Frequency |
7 | 3 |
|
8 | 4 |
AbstractCqiClient_2 = No error. |
9 | 5 |
|
6 |
ApplicationWorkbenchAdvisor_14 = \ evaluating extension: |
|
7 |
ApplicationWorkbenchAdvisor_15 = Loading extensions... |
|
8 |
ApplicationWorkbenchAdvisor_6 = Exception: |
|
9 |
|
|
10 | 10 |
Base_0 = Binary directory |
11 | 11 |
Base_22 = 'corpora' element missing from 'base' element |
12 | 12 |
Base_3 = \ does not exist? |
... | ... | |
89 | 89 |
DROP_QUERYRESULT = Deleting query results {0} |
90 | 90 |
DROP_SUBCORPUS = Deleting subcorpus {0} |
91 | 91 |
|
92 |
Diagnostic_0 = * Structural Units properties\n |
|
93 |
Diagnostic_1 = ** Failed to access corpus |
|
94 |
Diagnostic_10 = Partition name: |
|
95 |
Diagnostic_11 = \ structures |
|
96 |
Diagnostic_12 = Number of parts: |
|
97 |
Diagnostic_13 = Partition size: |
|
98 |
Diagnostic_14 = Lexical Units properties (max {0} values) |
|
99 |
Diagnostic_15 = Part number: |
|
100 |
Diagnostic_16 = Number of structural units |
|
101 |
Diagnostic_17 = Part names: |
|
102 |
Diagnostic_18 = Part sizes: |
|
103 |
Diagnostic_19 = Part properties: |
|
104 |
Diagnostic_2 = ** Error |
|
105 |
Diagnostic_20 = Parts queries: |
|
106 |
Diagnostic_22 = Structural Units properties (max {0} values) |
|
107 |
Diagnostic_23 = \ values) |
|
108 |
Diagnostic_26 = No property |
|
109 |
Diagnostic_3 = Description of |
|
110 |
Diagnostic_4 = \ properties |
|
111 |
Diagnostic_40 = * General Statistics\n |
|
112 |
Diagnostic_41 = - T |
|
113 |
Diagnostic_43 = - Word properties |
|
114 |
Diagnostic_49 = - S |
|
115 |
Diagnostic_5 = General Statistics |
|
116 |
Diagnostic_6 = ** Failed to access corpus |
|
117 |
Diagnostic_7 = Number of words |
|
118 |
Diagnostic_8 = \ lexicon |
|
119 |
Diagnostic_9 = Number of word properties |
|
120 |
|
|
121 | 92 |
END_SUBCORPUS_LEXICON = Lexicon of subcorpus {0} computed in {1} ms |
122 | 93 |
END_SUBCORPUS_SIZE = size of subcorpus {0} ({1}) computed in {2} ms |
123 | 94 |
|
... | ... | |
148 | 119 |
|
149 | 120 |
INT_VECTOR_ADDED_TO_WORKSPACE = Vector "{1}" ({0,number,integer} "int") transmitted to Statistics Engine. |
150 | 121 |
|
151 |
|
|
152 | 122 |
LEXICON = Lexicon |
153 | 123 |
|
154 | 124 |
LEXICON_ADDED = Lexicon "{1}" ({0,number,integer} entries) transmitted to Statistics Engine. |
... | ... | |
416 | 386 |
Workspace_6 = ** Failed to create empty workspace file: |
417 | 387 |
Workspace_7 = \ pages |
418 | 388 |
Workspace_8 = Workspace XML file is mal formed. We need to recreate one... |
389 |
|
|
390 |
common_delete = Delete |
|
391 |
common_description = Description |
|
392 |
common_mode = Mode |
|
393 |
common_ok = OK |
|
394 |
common_pleaseWait = Please wait... |
|
395 |
common_queries = Queries: |
|
396 |
common_structuralUnit = Structural Unit: |
|
397 |
common_structure = Structure |
|
398 |
common_units = Units |
tmp/org.txm.core/src/java/org/txm/core/preferences/TBXPreferences.java (revision 686) | ||
---|---|---|
39 | 39 |
/** The Constant USER_TXM_HOME. */ |
40 | 40 |
public static final String USER_TXM_HOME = "user_txm_home"; //$NON-NLS-1$ |
41 | 41 |
|
42 |
/** The Constant TREETAGGER_INSTALL_PATH. */ |
|
43 |
public static final String TREETAGGER_INSTALL_PATH = "treetagger_install_path"; //$NON-NLS-1$ |
|
44 |
/** The Constant TREETAGGER_MODELS_PATH. */ |
|
45 |
public static final String TREETAGGER_MODELS_PATH = "treetagger_models_path"; //$NON-NLS-1$ |
|
46 |
public static final String TREETAGGER_OPTIONS = "treetagger_options"; //$NON-NLS-1$ |
|
47 |
public static final String TREETAGGER_APOSTROPHE = "treetagger_fix_apostrophes"; //$NON-NLS-1$ |
|
48 |
|
|
49 | 42 |
public static final String METADATA_ENCODING = "metadata_encoding"; //$NON-NLS-1$ |
50 | 43 |
public static final String METADATA_COLSEPARATOR = "metadata_colseparator"; //$NON-NLS-1$ |
51 | 44 |
public static final String METADATA_TXTSEPARATOR = "metadata_txtseparator"; //$NON-NLS-1$ |
... | ... | |
91 | 84 |
preferences.putBoolean(TBXPreferences.LOG_IN_FILE, false); //$NON-NLS-1$ |
92 | 85 |
preferences.put(TBXPreferences.UI_LOCALE, "fr"); //$NON-NLS-1$ |
93 | 86 |
|
94 |
preferences.put(TBXPreferences.TREETAGGER_INSTALL_PATH, System.getProperty("osgi.user.area") + "/TXM/treetagger"); //$NON-NLS-1$ //$NON-NLS-2$ |
|
95 |
preferences.put(TBXPreferences.TREETAGGER_MODELS_PATH, TXMPreferences.getString(TBXPreferences.TREETAGGER_INSTALL_PATH, TBXPreferences.PREFERENCES_NODE) + "/models"); //$NON-NLS-1$ |
|
96 |
preferences.put(TBXPreferences.TREETAGGER_APOSTROPHE, "false"); //$NON-NLS-1$ |
|
97 |
|
|
98 | 87 |
preferences.put(TBXPreferences.METADATA_ENCODING, "UTF-8"); //$NON-NLS-1$ |
99 | 88 |
preferences.put(TBXPreferences.METADATA_TXTSEPARATOR, "\""); //$NON-NLS-1$ |
100 | 89 |
|
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/handlers/ExportChartEditorView.java (revision 686) | ||
---|---|---|
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
36 |
|
|
36 | 37 |
import org.eclipse.core.commands.AbstractHandler; |
37 | 38 |
import org.eclipse.core.commands.ExecutionEvent; |
38 | 39 |
import org.eclipse.core.commands.ExecutionException; |
... | ... | |
52 | 53 |
import org.txm.core.preferences.TBXPreferences; |
Formats disponibles : Unified diff