Révision 3471
TXM/trunk/org.txm.analec.rcp/src/org/txm/annotation/urs/URSCorpora.java (revision 3471) | ||
---|---|---|
245 | 245 |
|
246 | 246 |
@Override |
247 | 247 |
public String getName() { |
248 |
return "Analec";
|
|
248 |
return "URS";
|
|
249 | 249 |
} |
250 | 250 |
|
251 | 251 |
@Override |
TXM/trunk/org.txm.statsengine.r.rcp/plugin.xml (revision 3471) | ||
---|---|---|
258 | 258 |
locationURI="menu:menu.display.perspectives"> |
259 | 259 |
<command |
260 | 260 |
commandId="org.eclipse.ui.perspectives.showPerspective" |
261 |
icon="icons/logos/Rcran.png" |
|
261 | 262 |
label="%command.label.0" |
262 | 263 |
style="push"> |
263 | 264 |
<parameter |
TXM/trunk/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/messages_fr.properties (revision 3471) | ||
---|---|---|
5 | 5 |
CommandLink_empty = |
6 | 6 |
|
7 | 7 |
abortingColonSelectionIsNotACorpus = Abandon : la sélection n'est pas un corpus |
8 |
|
|
8 |
text=Texte |
|
9 |
page=Page |
|
9 | 10 |
back = Retour |
10 | 11 |
|
11 | 12 |
cannotCallTxmcommandWithoutIdParameterColonP0 = ** Impossible d''appeler une commande sans le paramètre ''id'' ({0}) |
TXM/trunk/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/EditionUIMessages.java (revision 3471) | ||
---|---|---|
71 | 71 |
public static String enableFastWordHighlight; |
72 | 72 |
public static String edition; |
73 | 73 |
|
74 |
public static String errorColonTxmeditioncorpusidEditionidTextidWordidCalledWithNoArguments; |
|
74 |
public static String errorColonTxmeditioncorpusidEditionidTextidWordidCalledWithNoArguments; |
|
75 |
|
|
76 |
public static String text; |
|
77 |
|
|
78 |
public static String page; |
|
75 | 79 |
|
76 | 80 |
static { |
77 | 81 |
// initialize resource bundle |
TXM/trunk/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/messages.properties (revision 3471) | ||
---|---|---|
5 | 5 |
CommandLink_empty = |
6 | 6 |
|
7 | 7 |
abortingColonSelectionIsNotACorpus = Aborting: selection is not a corpus |
8 |
|
|
8 |
text=Text |
|
9 |
page=Page |
|
9 | 10 |
back = Back |
10 | 11 |
|
11 | 12 |
cannotCallTxmcommandWithoutIdParameterColonP0 = ** Can not call a command without the ''id'' parameter ({0}) |
TXM/trunk/org.txm.edition.rcp/src/org/txm/edition/rcp/editors/SynopticEditionEditor.java (revision 3471) | ||
---|---|---|
151 | 151 |
* Instantiates a new txm browser. |
152 | 152 |
*/ |
153 | 153 |
public SynopticEditionEditor() { |
154 |
|
|
154 | 155 |
selProvider = new ISelectionProvider() { |
155 | 156 |
|
156 | 157 |
@Override |
... | ... | |
471 | 472 |
pageNavigationComposite.getLayout().numColumns = 7; |
472 | 473 |
pageNavigationComposite.getLayout().horizontalSpacing = 1; |
473 | 474 |
Label l = new Label(pageNavigationComposite, SWT.NONE); |
474 |
l.setText("Page ");
|
|
475 |
l.setText(EditionUIMessages.page);
|
|
475 | 476 |
Button first = new Button(pageNavigationComposite, SWT.FLAT | SWT.PUSH); |
476 | 477 |
Button previous = new Button(pageNavigationComposite, SWT.FLAT | SWT.PUSH); |
477 | 478 |
page_text = new org.eclipse.swt.widgets.Text(pageNavigationComposite, SWT.BORDER); |
... | ... | |
480 | 481 |
Button last = new Button(pageNavigationComposite, SWT.FLAT | SWT.PUSH); |
481 | 482 |
pageNavigationComposite.setLayoutData(new GridData(GridData.CENTER, GridData.CENTER, true, false)); |
482 | 483 |
|
483 |
|
|
484 | 484 |
if (project.getTexts().size() > 1) { |
485 | 485 |
GLComposite textNavigationComposite = new GLComposite(lowerControlsArea, SWT.NONE, EditionUIMessages.textButtons); |
486 | 486 |
textNavigationComposite.getLayout().numColumns = 8; |
487 | 487 |
textNavigationComposite.getLayout().horizontalSpacing = 1; |
488 | 488 |
Label l2 = new Label(textNavigationComposite, SWT.NONE); |
489 |
l2.setText("Text ");
|
|
489 |
l2.setText(EditionUIMessages.text);
|
|
490 | 490 |
Button firstText = new Button(textNavigationComposite, SWT.FLAT); |
491 | 491 |
Button previousText = new Button(textNavigationComposite, SWT.FLAT); |
492 | 492 |
text_text = new org.eclipse.swt.widgets.Text(textNavigationComposite, SWT.BORDER); |
TXM/trunk/org.txm.annotation.kr.core/src/org/txm/annotation/kr/core/KRAnnotationEngine.java (revision 3471) | ||
---|---|---|
357 | 357 |
|
358 | 358 |
@Override |
359 | 359 |
public String getName() { |
360 |
return "KR Annotation engine";
|
|
360 |
return "CQP";
|
|
361 | 361 |
} |
362 | 362 |
|
363 | 363 |
@Override |
TXM/trunk/org.txm.rcp/src/main/java/org/txm/rcp/editors/imports/sections/EditionSection.java (revision 3471) | ||
---|---|---|
293 | 293 |
int wppt = edition_params.getWordsPerPage(); |
294 | 294 |
wordsPerPageText.setText("" + wppt); //$NON-NLS-1$ |
295 | 295 |
|
296 |
if (noteElementsText != null) noteElementsText.setText(project.getTextualPlan("Note", "note")); //$NON-NLS-1$ |
|
296 |
if (noteElementsText != null) { |
|
297 |
noteElementsText.setText(project.getTextualPlan("Note", "note")); //$NON-NLS-1$ |
|
298 |
} |
|
297 | 299 |
|
298 | 300 |
String pbt = edition_params.getPageElement(); |
299 |
if (pageBreakText != null) |
|
301 |
if (pageBreakText != null) {
|
|
300 | 302 |
pageBreakText.setText(pbt); |
303 |
} |
|
301 | 304 |
} |
302 | 305 |
|
303 | 306 |
EditionDefinition edition_params = project.getEditionDefinition("facs"); //$NON-NLS-1$ |
... | ... | |
307 | 310 |
imageDirectoryText.setEnabled(buildFacsEditionCheckButton.getSelection()); |
308 | 311 |
|
309 | 312 |
String imageDirectory = edition_params.getImagesDirectory(); |
310 |
if (imageDirectoryText != null && imageDirectory != null) |
|
313 |
if (imageDirectoryText != null && imageDirectory != null) {
|
|
311 | 314 |
imageDirectoryText.setText(imageDirectory); |
315 |
} |
|
312 | 316 |
} |
313 | 317 |
|
314 | 318 |
String defaults = project.getDefaultEditionName(); |
... | ... | |
320 | 324 |
|
321 | 325 |
@Override |
322 | 326 |
public boolean saveFields(Project project) { |
327 |
|
|
323 | 328 |
if (this.section != null && !this.section.isDisposed()) { |
324 | 329 |
|
325 | 330 |
String page_break_tag = "pb"; //$NON-NLS-1$ |
... | ... | |
343 | 348 |
edition_params.setPaginateEdition(paginate); |
344 | 349 |
edition_params.setEnableCollapsible(collapsible); |
345 | 350 |
|
346 |
if (noteElementsText != null) project.setTextualPlan(TXMUIMessages.Note, noteElementsText.getText()); |
|
351 |
if (noteElementsText != null) { |
|
352 |
project.setTextualPlan(TXMUIMessages.Note, noteElementsText.getText()); |
|
353 |
} |
|
347 | 354 |
|
348 | 355 |
if (buildFacsEditionCheckButton != null) { |
349 | 356 |
|
350 | 357 |
String images_directory = ""; //$NON-NLS-1$ |
351 |
if (imageDirectoryText != null) |
|
358 |
if (imageDirectoryText != null) {
|
|
352 | 359 |
images_directory = imageDirectoryText.getText(); |
360 |
} |
|
353 | 361 |
|
354 | 362 |
build = buildFacsEditionCheckButton.getSelection(); |
355 | 363 |
|
TXM/trunk/org.txm.rcp/plugin.xml (revision 3471) | ||
---|---|---|
1178 | 1178 |
label="%menu.label.9"> |
1179 | 1179 |
<command |
1180 | 1180 |
commandId="org.eclipse.ui.views.showView" |
1181 |
icon="icons/objects/corpus.png" |
|
1181 | 1182 |
label="%command.label.134" |
1182 | 1183 |
style="push"> |
1183 | 1184 |
<parameter |
... | ... | |
1187 | 1188 |
</command> |
1188 | 1189 |
<command |
1189 | 1190 |
commandId="org.eclipse.ui.views.showView" |
1191 |
icon="icons/objects/folder.png" |
|
1190 | 1192 |
label="%command.label.135" |
1191 | 1193 |
style="push"> |
1192 | 1194 |
<parameter |
... | ... | |
1196 | 1198 |
</command> |
1197 | 1199 |
<command |
1198 | 1200 |
commandId="org.eclipse.ui.views.showView" |
1201 |
icon="icons/objects/script.png" |
|
1199 | 1202 |
label="%command.label.177" |
1200 | 1203 |
style="push"> |
1201 | 1204 |
<parameter |
... | ... | |
1205 | 1208 |
</command> |
1206 | 1209 |
<command |
1207 | 1210 |
commandId="org.eclipse.ui.views.showView" |
1211 |
icon="platform:/plugin/org.eclipse.ui.console/icons/full/eview16/console_view.png" |
|
1208 | 1212 |
label="%command.label.43" |
1209 | 1213 |
style="push"> |
1210 | 1214 |
<parameter |
... | ... | |
1227 | 1231 |
label="%menu.label.8"> |
1228 | 1232 |
<command |
1229 | 1233 |
commandId="org.eclipse.ui.perspectives.showPerspective" |
1234 |
icon="icons/objects/corpus.png" |
|
1230 | 1235 |
label="%command.label.131" |
1231 | 1236 |
style="push"> |
1232 | 1237 |
<parameter |
Formats disponibles : Unified diff