Révision 3232

tmp/org.txm.rcp/src/main/java/org/txm/rcp/views/SummaryView.java (revision 3232)
152 152
			}
153 153
			
154 154
			summary.setProperties(properties);
155
			summary.setDirty();
155 156
			if (summary.compute()) {
156 157
				tv.setContentProvider(new TreeNodeTreeProvider());
157 158
				tv.setLabelProvider(new TreeNodeLabelProvider());
tmp/org.txm.rcp/src/main/java/org/txm/rcp/utils/JobHandler.java (revision 3232)
245 245
				
246 246
				@Override
247 247
				public void run() {
248
					StatusLine.setMessage(TXMUIMessages.canceling);
248
					if (isUser()) {
249
						StatusLine.setMessage(TXMUIMessages.bind(TXMUIMessages.cancelingP0, getName()));
250
						Log.warning(TXMUIMessages.bind(TXMUIMessages.cancelingP0, getName()));
251
					}
249 252
				}
250 253
			});
251 254
			if (currentMonitor != null) this.currentMonitor.setTaskName(TXMUIMessages.canceling);
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 3232)
37 37
import org.eclipse.swt.layout.GridLayout;
38 38
import org.eclipse.swt.layout.RowLayout;
39 39
import org.eclipse.swt.widgets.Button;
40
import org.eclipse.swt.widgets.Combo;
40 41
import org.eclipse.swt.widgets.Composite;
41 42
import org.eclipse.swt.widgets.Display;
42 43
import org.eclipse.swt.widgets.Group;
......
1581 1582
				else if (object instanceof QueryWidget) {
1582 1583
					value = ((QueryWidget) object).getQuery();
1583 1584
				}
1585
				else if (object instanceof Combo) {
1586
					value = ((Combo) object).getText();
1587
				}
1584 1588
				else {
1585 1589
					value = object;
1586 1590
				}
tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/parameters/SeparatorField.java (revision 3232)
1 1
package org.txm.rcp.swt.widget.parameters;
2 2

  
3 3
import org.eclipse.swt.SWT;
4
import org.eclipse.swt.graphics.Font;
5
import org.eclipse.swt.graphics.FontData;
4 6
import org.eclipse.swt.layout.GridData;
5 7
import org.eclipse.swt.layout.GridLayout;
6 8
import org.eclipse.swt.widgets.Composite;
......
35 37
			l.setLayoutData(gd);
36 38
			l.setText(str);
37 39
			l.setToolTipText(getWidgetUsage());
38
			
40
			Font f = parent.getFont();
41
			l.setFont(new Font(f.getDevice(), new FontData(f.getFontData()[0].getName(), f.getFontData()[0].getHeight(), f.getFontData()[0].getStyle()|SWT.BOLD)));
39 42
			Label dt = new Label(this, SWT.SEPARATOR | SWT.HORIZONTAL);
40 43
			dt.setLayoutData(new GridData(SWT.FILL, SWT.END, true, false));
41 44
			dt.setToolTipText(getWidgetUsage());
tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/parameters/StringField.java (revision 3232)
8 8

  
9 9
public class StringField extends LabelField {
10 10
	Text dt;
11
	int MAX = 300;
11 12
	public StringField(Composite parent, int style, NamedOptionDef parameter) {
12 13
		super(parent, style, parameter);
13 14

  
14 15
		dt = new Text(this, SWT.SINGLE | SWT.BORDER);
15
		dt.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, false));
16
		GridData g  = new GridData(SWT.FILL, SWT.LEFT, true, false);
17
		g.widthHint = 300;
18
		g.minimumWidth = 100;
19
		dt.setLayoutData(g);
20
		
16 21
		resetToDefault();
17 22
	}
18 23

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/parameters/LabelField.java (revision 3232)
25 25
		l.setAlignment(SWT.LEFT);
26 26
		l.setText(getWidgetLabel());
27 27
		l.setToolTipText(getWidgetUsage());
28
		GridData gd = new GridData(SWT.FILL, SWT.FILL, true, false);
29
		gd.widthHint = 100;
28
		GridData gd = new GridData(SWT.FILL, SWT.FILL, false, false);
29
		gd.minimumWidth = 100;
30
//		gd.widthHint = 100;
30 31
		l.setLayoutData(gd);
31 32
	}
32 33

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/parameters/ParametersDialog.java (revision 3232)
40 40
@SuppressWarnings("rawtypes")
41 41
public class ParametersDialog extends Dialog {
42 42
	
43
	public int MAX_PARAMETERS_PER_LINE = 10;
43
	public int MAX_PARAMETERS_PER_LINE = 15;
44 44
	
45 45
	Object bean;
46 46
	
......
215 215
		if (idx2 < 0) idx2 = script.length();
216 216
		title = TXMUIMessages.bind(TXMUIMessages.p0ParametersInput, script.substring(script.lastIndexOf(".") + 1, idx2));
217 217
		newShell.setText(title);
218
		newShell.setMinimumSize(250, 450);
218
		newShell.setMinimumSize(450, 450);
219 219
		
220 220
		// newShell.addControlListener(new ControlAdapter() {
221 221
		// public void controlResized(ControlEvent e) {
tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/PropertiesSelector.java (revision 3232)
45 45
import org.txm.rcp.messages.TXMUIMessages;
46 46
import org.txm.rcp.swt.dialog.MultiplePropertySelectionDialog;
47 47
import org.txm.rcp.swt.dialog.SinglePropertySelectionDialog;
48
import org.txm.searchengine.core.Property;
48 49
import org.txm.searchengine.cqp.clientExceptions.CqiClientException;
49 50
import org.txm.searchengine.cqp.corpus.CQPCorpus;
50
import org.txm.searchengine.cqp.corpus.Property;
51 51
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty;
52 52
import org.txm.searchengine.cqp.corpus.VirtualProperty;
53 53
import org.txm.utils.logger.Log;
......
169 169
			}
170 170
			
171 171
			if (p instanceof StructuralUnitProperty || p instanceof VirtualProperty) {
172
				buffer.append(p.getFullName());
172
				buffer.append(((StructuralUnitProperty)p).getFullName());
173
			} else if (p instanceof VirtualProperty) {
174
				buffer.append(((VirtualProperty)p).getFullName());
175
			} else if (p instanceof Property) {
176
				buffer.append(p.getName());
173 177
			}
174 178
			else {
175
				buffer.append(p.getName());
179
				buffer.append(p.getName()+ "("+p.getSearchEngine().getName()+")");
176 180
			}
177 181
		}
178 182
		if (buffer.length() > 0) {
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages_fr.properties (revision 3232)
130 130

  
131 131
canceling = Annulation…
132 132

  
133
cancelingP0 = Annulation de ''{0}''…
134

  
133 135
cancelingRequested = \ : annulation demandée
134 136

  
135 137
canceling_2 = Annulation
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/TXMUIMessages.java (revision 3232)
120 120
	
121 121
	public static String canceling;
122 122
	
123
	public static String cancelingP0;
124
	
123 125
	public static String cancelingRequested;
124 126
	
125 127
	public static String canceling_2;
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages.properties (revision 3232)
151 151

  
152 152
canNotCreateATableWithTheProvidedInformationColonP0 = ** Can not create a table with the information provided: {0}
153 153

  
154
canceling = Canceling…
154
canceling = Canceling…
155

  
156
cancelingP0 = Canceling ''{0}''…
155 157

  
156 158
cancelingRequested = : canceling requested
157 159

  
tmp/org.txm.rcp/plugin.xml (revision 3232)
52 52
         </property>
53 53
         <property
54 54
               name="aboutText"
55
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.1 Copyright © 2010-2020 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
55
               value="[Contrat d&apos;utilisation du logiciel TXM]&#x0A;&#x0A;TXM 0.8.1 Copyright © 2010-2021 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE INSTALLATION OU MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;[TXM Software User Agreement]&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
56 56
         </property>
57 57
         <property
58 58
               name="startupProgressRect"

Formats disponibles : Unified diff