Révision 1163
| tmp/org.txm.properties.rcp/src/org/txm/properties/rcp/editors/PropertiesEditor.java (revision 1163) | ||
|---|---|---|
| 37 | 37 |
*/ |
| 38 | 38 |
public class PropertiesEditor extends TXMEditor<Properties> {
|
| 39 | 39 |
|
| 40 |
|
|
| 41 | 40 |
/** |
| 42 | 41 |
* The browser to display the HTML file. |
| 43 | 42 |
*/ |
| 44 | 43 |
private Browser browser; |
| 45 | 44 |
|
| 46 |
|
|
| 47 | 45 |
/** |
| 48 | 46 |
* The maximum number of word property values to display. |
| 49 | 47 |
*/ |
| 50 | 48 |
@Parameter(key=PropertiesPreferences.MAX_PROPERTIES_TO_DISPLAY) |
| 51 | 49 |
protected Spinner maxPropertiesToDisplay; |
| 52 | 50 |
|
| 53 |
|
|
| 54 | 51 |
private Button nameSaveButton; |
| 55 | 52 |
|
| 56 |
|
|
| 57 | 53 |
private Text nameText; |
| 58 | 54 |
|
| 59 |
|
|
| 60 | 55 |
private StyledText descriptionText; |
| 61 | 56 |
|
| 62 |
|
|
| 63 | 57 |
private Button descriptionSaveButton; |
| 64 | 58 |
|
| 65 |
|
|
| 66 |
|
|
| 67 | 59 |
@Override |
| 68 | 60 |
public void _createPartControl() {
|
| 69 | 61 |
|
| tmp/org.txm.properties.core/src/org/txm/properties/core/messages/messages_fr.properties (revision 1163) | ||
|---|---|---|
| 7 | 7 |
Properties_2 = ** Erreur |
| 8 | 8 |
Properties_22 = Propriétés des structures (max {0} valeurs)
|
| 9 | 9 |
Properties_26 = Pas de propriété |
| 10 |
Properties_3 = Détails du corpus CQP
|
|
| 10 |
Properties_3 = Détails du corpus |
|
| 11 | 11 |
Properties_4 = \ propriétés |
| 12 | 12 |
Properties_40 = * Statistiques Générales\n |
| 13 | 13 |
Properties_41 = - T |
| tmp/org.txm.properties.core/src/org/txm/properties/core/functions/Properties.java (revision 1163) | ||
|---|---|---|
| 289 | 289 |
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>" + //$NON-NLS-1$ |
| 290 | 290 |
"</head>" + //$NON-NLS-1$ |
| 291 | 291 |
"<body>\n"); //$NON-NLS-1$ |
| 292 |
buff.append("<h2 style'font-family:\"Arial\";'>"+PropertiesCoreMessages.Properties_3 + this.corpus.getName() +"(id="+this.corpus.getID()+")</h2>\n"); //$NON-NLS-2$ //$NON-NLS-1$
|
|
| 292 |
buff.append("<h2 style'font-family:\"Arial\";'>"+PropertiesCoreMessages.Properties_3 + this.corpus.getName() +" (id="+this.corpus.getID()+")</h2>\n"); //$NON-NLS-2$ //$NON-NLS-1$
|
|
| 293 | 293 |
|
| 294 | 294 |
if (corpus.getDescription() != null && corpus.getDescription().length() > 0) {
|
| 295 | 295 |
buff.append("<p>"+corpus.getDescription()+"</p>"); //$NON-NLS-1$ //$NON-NLS-2$
|
| ... | ... | |
| 297 | 297 |
|
| 298 | 298 |
buff.append("<h3 style'font-family:\"Arial\";'>"+PropertiesCoreMessages.Properties_5+ "</h3>\n"); //$NON-NLS-1$ //$NON-NLS-2$
|
| 299 | 299 |
|
| 300 |
|
|
| 301 |
|
|
| 302 | 300 |
// counts |
| 303 | 301 |
buff.append("<ul>\n"); //$NON-NLS-1$
|
| 304 | 302 |
buff.append("<li>" + PropertiesCoreMessages.Properties_7 + numberOfWords + "</li>\n"); //$NON-NLS-1$ //$NON-NLS-2$
|
| 305 |
buff |
|
| 306 |
.append("<li>" + PropertiesCoreMessages.Properties_9 + (NProperties - 1) + "</li>\n"); //$NON-NLS-2$ //$NON-NLS-1$
|
|
| 303 |
buff.append("<li>" + PropertiesCoreMessages.Properties_9 + (NProperties - 1) + "</li>\n"); //$NON-NLS-2$ //$NON-NLS-1$
|
|
| 307 | 304 |
buff.append("<li>" + PropertiesCoreMessages.Properties_16 + NStructures + "</li>\n"); //$NON-NLS-2$ //$NON-NLS-1$
|
| 308 | 305 |
buff.append("</ul>\n"); //$NON-NLS-1$
|
| 309 | 306 |
|
| tmp/org.txm.core/src/java/org/txm/core/messages/messages.properties (revision 1163) | ||
|---|---|---|
| 268 | 268 |
|
| 269 | 269 |
V = , v |
| 270 | 270 |
|
| 271 |
VMAX_1 = Vmax:
|
|
| 271 |
VMAX_1 = Vmax |
|
| 272 | 272 |
|
| 273 | 273 |
ValidateXml_0 = XmlValidation: |
| 274 | 274 |
ValidateXml_1 = is a directory |
| tmp/org.txm.tigersearch.rcp/src/org/txm/tigersearch/editors/TSIndexEditor.java (revision 1163) | ||
|---|---|---|
| 1189 | 1189 |
return this.index; |
| 1190 | 1190 |
} |
| 1191 | 1191 |
|
| 1192 |
|
|
| 1193 | 1192 |
public CQLQuery getQuery() {
|
| 1194 | 1193 |
return new CQLQuery(queryWidget.getText()); |
| 1195 | 1194 |
} |
| ... | ... | |
| 1205 | 1204 |
// FIXME: not yet implemented |
| 1206 | 1205 |
System.err.println("TSIndexEditor.updateEditorFromResult(): not yet implemented.");
|
| 1207 | 1206 |
} |
| 1208 |
|
|
| 1209 | 1207 |
} |
Formats disponibles : Unified diff