Révision 939

tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/CQPUIMessages.java (revision 939)
4 4
import org.txm.utils.messages.Utf8NLS;
5 5

  
6 6
/**
7
 * CAP UI messages.
7
 * CQP UI messages.
8 8
 * 
9 9
 * @author mdecorde
10 10
 * @author sjacquot
......
12 12
 */
13 13
public class CQPUIMessages extends NLS {
14 14
	
15
	private static final String BUNDLE_NAME = "org.txm.searchengine.cqp.rcp.messages.messages"; //$NON-NLS-1$
16
	
15 17
	public static String CQPPreferencePage_0;
16 18
	public static String CQPPreferencePage_1;
17 19
	public static String CQPPreferencePage_10;
......
25 27
	
26 28
	static {
27 29
		// initialize resource bundle
28
		Utf8NLS.initializeMessages(CQPUIMessages.class);
30
		Utf8NLS.initializeMessages(BUNDLE_NAME, CQPUIMessages.class);
29 31
	}
30 32
}
tmp/org.txm.wordcloud.rcp/src/org/txm/wordcloud/rcp/messages/messages.properties (revision 939)
1
EditorToolBar_Draw=Compute
2
EditorToolBar_fmin=Fmin: 
3
EditorToolBar_Percent_of_rotated_labels=% of rotated labels: 
4
EditorToolBar_Randomize_positions=Randomize positions
5
EditorToolBar_vmax=Vmax: 
6
Log_WordCloud_ready=WordCloud ready: 
7
Log_Wrong_input_object=Wrong WordCloud input object
8
PreferencePage_Minimal_frequency=Minimal frequency for used words
9
PreferencePage_Number_of_used_words=Number of used words
10
PreferencePage_Percent_of_rotated_words=Percent of rotated words
11
PreferencePage_Random_word_positions=Random word positions
12
WordCloudEditor_7=WordClouding...
13
WordCloudEditor_8=Drawing in {0}
14
WordCloudEditor_9=WordCloud refreshed
15
EditorName=WordCloud
1

  
2
EditorToolBar_Percent_of_rotated_labels = % of rotated labels: 
3
EditorToolBar_Randomize_positions       = Randomize positions
4
EditorToolBar_fmin                      = Fmin: 
5
EditorToolBar_vmax                      = Vmax: 
6

  
7
Log_WordCloud_ready = WordCloud ready: 
8

  
9
PreferencePage_Minimal_frequency        = Minimal frequency for used words
10
PreferencePage_Number_of_used_words     = Number of used words
11
PreferencePage_Percent_of_rotated_words = Percent of rotated words
12
PreferencePage_Random_word_positions    = Random word positions
tmp/org.txm.wordcloud.rcp/src/org/txm/wordcloud/rcp/messages/WordCloudUIMessages.java (revision 939)
3 3
import org.eclipse.osgi.util.NLS;
4 4
import org.txm.utils.messages.Utf8NLS;
5 5

  
6
/**
7
 * Word cloud UI messages.
8
 * 
9
 * @author sjacquot
10
 *
11
 */
6 12
public class WordCloudUIMessages extends NLS {
7 13
	
14
	private static final String BUNDLE_NAME = "org.txm.wordcloud.rcp.messages.messages"; //$NON-NLS-1$
15
	
8 16
	public static String EditorToolBar_vmax;
9 17
	public static String EditorToolBar_fmin;
10 18
	public static String EditorToolBar_Percent_of_rotated_labels;
11 19
	public static String EditorToolBar_Randomize_positions;
12
	public static String EditorToolBar_Draw;
13 20
	public static String Log_WordCloud_ready;
14 21
	public static String PreferencePage_Number_of_used_words;
15 22
	public static String PreferencePage_Minimal_frequency;
16 23
	public static String PreferencePage_Percent_of_rotated_words;
17 24
	public static String PreferencePage_Random_word_positions;
18 25

  
19
	//FIXME: unused keys
20
	public static String EditorName;
21
	public static String Log_Wrong_input_object;
22
	public static String WordCloudEditor_7;
23
	public static String WordCloudEditor_8;
24
	public static String WordCloudEditor_9;
25
	//end of fixme
26
	
27 26
	static {
28 27
		// initialize resource bundle
29
		Utf8NLS.initializeMessages(WordCloudUIMessages.class);
28
		Utf8NLS.initializeMessages(BUNDLE_NAME, WordCloudUIMessages.class);
30 29
	}
31 30

  
32 31
	private WordCloudUIMessages() {
tmp/org.txm.wordcloud.rcp/src/org/txm/wordcloud/rcp/messages/messages_fr.properties (revision 939)
1
EditorToolBar_Draw=Calculer
2
EditorToolBar_fmin=Fmin : 
3
EditorToolBar_Percent_of_rotated_labels=% de labels verticaux : 
4
EditorToolBar_Randomize_positions=Position aléatoire
5
EditorToolBar_vmax=Vmax : 
6
Log_WordCloud_ready=WordCloud est prêt : 
7
Log_Wrong_input_object=Object non-compatible avec la fonctionnalité Nuage de mots
8
PreferencePage_Minimal_frequency=Filtre en fréquence minimal des mots à utiliser
9
PreferencePage_Number_of_used_words=Filtre en nombre de mots à utiliser
10
PreferencePage_Percent_of_rotated_words=Pourcentage de mots verticaux
11
PreferencePage_Random_word_positions=Position aléatoire des mots
12
WordCloudEditor_7=Dessin en cours...
13
WordCloudEditor_8=Sauvegarde dans le fichier {0} 
14
WordCloudEditor_9=Rafraîchissement 
15
EditorName=Nuage de mots
1

  
2
EditorToolBar_Percent_of_rotated_labels = % de labels verticaux : 
3
EditorToolBar_Randomize_positions       = Position aléatoire
4
EditorToolBar_fmin                      = Fmin : 
5
EditorToolBar_vmax                      = Vmax : 
6

  
7
Log_WordCloud_ready = WordCloud est prêt : 
8

  
9
PreferencePage_Minimal_frequency        = Filtre en fréquence minimal des mots à utiliser
10
PreferencePage_Number_of_used_words     = Filtre en nombre de mots à utiliser
11
PreferencePage_Percent_of_rotated_words = Pourcentage de mots verticaux
12
PreferencePage_Random_word_positions    = Position aléatoire des mots
tmp/org.txm.referencer.rcp/src/org/txm/referencer/rcp/messages/messages.properties (revision 939)
1 1

  
2
ReferencerEditor_0  = Compute references of <{0}> in {1} with property {2} and pattern {3}
3
ReferencerEditor_10 = Get indexes
4 2
ReferencerEditor_11 = References
5
ReferencerEditor_12 = Group positions by indexes
6
ReferencerEditor_13 = Refresh ui
7 3
ReferencerEditor_17 = Showing first result page
8 4
ReferencerEditor_19 = Showing last result page
9 5
ReferencerEditor_21 = Showing next result page
10 6
ReferencerEditor_23 = Showing previous result page
11
ReferencerEditor_25 = Opening concordances
12
ReferencerEditor_5  = Computing references of {0}
13 7
ReferencerEditor_6  = Reference pattern
14
ReferencerEditor_7  = No results
15
ReferencerEditor_8  = Get matches
16
ReferencerEditor_9  = Units
17 8

  
18 9
ReferencerPreferencePage_2 = Referencer
19 10
ReferencerPreferencePage_3 = Order references by frequency
tmp/org.txm.referencer.rcp/src/org/txm/referencer/rcp/messages/ReferencerUIMessages.java (revision 939)
1

  
2 1
package org.txm.referencer.rcp.messages;
3 2

  
4 3
import org.eclipse.osgi.util.NLS;
......
13 12
 */
14 13
public class ReferencerUIMessages extends NLS {
15 14
	
16
	public static String ReferencerEditor_0;
17
	public static String ReferencerEditor_10;
15
	private static final String BUNDLE_NAME = "org.txm.referencer.rcp.messages.messages"; //$NON-NLS-1$
16
	
18 17
	public static String ReferencerEditor_11;
19
	public static String ReferencerEditor_12;
20
	public static String ReferencerEditor_13;
21 18
	public static String ReferencerEditor_17;
22 19
	public static String ReferencerEditor_19;
23 20
	public static String ReferencerEditor_21;
24 21
	public static String ReferencerEditor_23;
25
	public static String ReferencerEditor_25;
26
	public static String ReferencerEditor_5;
27 22
	public static String ReferencerEditor_6;
28
	public static String ReferencerEditor_7;
29
	public static String ReferencerEditor_8;
30 23
	public static String ReferencerPreferencePage_2;
31 24
	public static String ReferencerPreferencePage_3;
32 25

  
33 26
	static {
34 27
		// initialize resource bundle
35
		Utf8NLS.initializeMessages(ReferencerUIMessages.class);
28
		Utf8NLS.initializeMessages(BUNDLE_NAME, ReferencerUIMessages.class);
36 29
	}
37 30

  
38 31
	private ReferencerUIMessages() {
tmp/org.txm.referencer.rcp/src/org/txm/referencer/rcp/messages/messages_ru.properties (revision 939)
1 1

  
2
ReferencerEditor_0  = Расчет ссылок <{0}> в {1} с приоритетом {2} по шаблону {3}
3
ReferencerEditor_10 = Получение индексов
4 2
ReferencerEditor_11 = Ссылки
5
ReferencerEditor_12 = Группировка позиций по индексам
6
ReferencerEditor_13 = Обновление интерфейса
7 3
ReferencerEditor_17 = Показ первой страницы результатов 
8 4
ReferencerEditor_19 = Показ последней страницы результатов 
9 5
ReferencerEditor_21 = Показ следующей страницы результатов 
10 6
ReferencerEditor_23 = Показ предыдущей страницы результатов 
11
ReferencerEditor_25 = Открытие конкорданса
12
ReferencerEditor_5  = Расчет ссылок {0}
13 7
ReferencerEditor_6  = Шаблон ссылок 
14
ReferencerEditor_7  = Ни одного результата
15
ReferencerEditor_8  = Получение употреблений
16 8

  
17 9
ReferencerPreferencePage_2 = Ссылки
18 10
ReferencerPreferencePage_3 = Сортировать ссылки по частотности
tmp/org.txm.referencer.rcp/src/org/txm/referencer/rcp/messages/messages_fr.properties (revision 939)
1 1

2
ReferencerEditor_0  = Calcul des références de <{0}> dans {1} avec la propriété {2} et le patron {3}
3
ReferencerEditor_10 = Récupération des index
4 2
ReferencerEditor_11 = Références
5
ReferencerEditor_12 = Regroupement des positions par index
6
ReferencerEditor_13 = Mise à jour de l'interface
7 3
ReferencerEditor_17 = Affichage de la première page de résultats
8 4
ReferencerEditor_19 = Affichage de la dernière page de résultats
9 5
ReferencerEditor_21 = Affichage de la page de résultats suivante 
10 6
ReferencerEditor_23 = Affichage de la page de résultats précédente 
11
ReferencerEditor_25 = Ouverture de la concordance
12
ReferencerEditor_5  = Calcul des références de {0}
13 7
ReferencerEditor_6  = Patron des références 
14
ReferencerEditor_7  = Aucun résultat
15
ReferencerEditor_8  = Récupération des occurrences
16 8

  
17 9
ReferencerPreferencePage_2 = Références
18 10
ReferencerPreferencePage_3 = Ordonner les références par fréquence
tmp/org.txm.rcp/src/main/java/org/txm/rcp/ApplicationActionBarAdvisor.java (revision 939)
29 29

  
30 30
import org.eclipse.jface.action.ICoolBarManager;
31 31
import org.eclipse.jface.action.IMenuManager;
32
import org.eclipse.swt.widgets.Display;
33 32
import org.eclipse.ui.IWorkbenchWindow;
34 33
import org.eclipse.ui.actions.ActionFactory;
35 34
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
......
45 44

  
46 45
// TODO: Auto-generated Javadoc
47 46
/**
48
 * Controls the availables commands in toolbar
47
 * Controls the available commands in toolbar
49 48
 */
50 49
@Deprecated
51 50
public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
......
71 70
	/** The delete action. */
72 71
	private IWorkbenchAction deleteAction;
73 72

  
74
	/** The compute specificities. */
75
	//private ComputeSpecificities computeSpecificities;
76

  
77
	/** The get concordances. */
78
	//private GetConcordances getConcordances;
79

  
80
	//private CreatePartition createPartition;
81

  
82
	//private CreateSubcorpus createSubcorpus;
83

  
84
	/** The create frequency list. */
85
	//private CreateFrequencyList createFrequencyList;
86

  
87
	// private ComputeCorrespondanceAnalysis computeCorrespondanceAnalysis;
88

  
89 73
	/** The import action. */
90 74
	private RunGroovyScript importAction;
91 75

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/ApplicationWorkbenchWindowAdvisor.java (revision 939)
47 47
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
48 48
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
49 49
import org.eclipse.ui.internal.WorkbenchWindow;
50
import org.eclipse.ui.menus.AbstractContributionFactory;
51
import org.eclipse.ui.menus.IMenuService;
52 50
import org.txm.rcp.messages.TXMUIMessages;
53 51
import org.txm.utils.logger.Log;
54 52

  
......
63 61
	 *
64 62
	 * @param configurer the configurer
65 63
	 */
66
	public ApplicationWorkbenchWindowAdvisor(
67
			IWorkbenchWindowConfigurer configurer) {
64
	public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
68 65
		super(configurer);
69 66
	}
70 67

  
......
72 69
	 * @see org.eclipse.ui.application.WorkbenchWindowAdvisor#createActionBarAdvisor(org.eclipse.ui.application.IActionBarConfigurer)
73 70
	 */
74 71
	@Override
75
	public ActionBarAdvisor createActionBarAdvisor(
76
			IActionBarConfigurer configurer) {
72
	public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) {
77 73
		return new ApplicationActionBarAdvisor(configurer);
78 74
	}
79 75

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/ApplicationWorkbenchAdvisor.java (revision 939)
53 53
import org.eclipse.jface.preference.PreferenceManager;
54 54
import org.eclipse.jface.util.Util;
55 55
import org.eclipse.osgi.util.NLS;
56
import org.eclipse.swt.SWT;
57 56
import org.eclipse.swt.graphics.Color;
58
import org.eclipse.swt.widgets.DirectoryDialog;
59 57
import org.eclipse.swt.widgets.Display;
60 58
import org.eclipse.swt.widgets.Event;
61 59
import org.eclipse.swt.widgets.Shell;
......
86 84
import org.txm.Toolbox;
87 85
import org.txm.core.preferences.TBXPreferences;
88 86
import org.txm.core.preferences.TXMPreferences;
89
import org.txm.importer.Convert5To6;
90 87
import org.txm.objects.Base;
91
import org.txm.objects.Workspace;
92 88
import org.txm.rcp.commands.OpenWelcomePage;
93 89
import org.txm.rcp.commands.RestartTXM;
94 90
import org.txm.rcp.commands.workspace.LoadBinaryCorpus;
......
102 98
import org.txm.rcp.utils.JobHandler;
103 99
import org.txm.rcp.views.corpora.CorporaView;
104 100
import org.txm.searchengine.core.SearchEnginesManager;
105
import org.txm.searchengine.cqp.CQPSearchEngine;
106 101
import org.txm.utils.BundleUtils;
107 102
import org.txm.utils.DeleteDir;
108 103
import org.txm.utils.logger.Log;
......
122 117
	 * @see org.eclipse.ui.application.WorkbenchAdvisor#createWorkbenchWindowAdvisor(org.eclipse.ui.application.IWorkbenchWindowConfigurer)
123 118
	 */
124 119
	@Override
125
	public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
126
			IWorkbenchWindowConfigurer configurer) {
120
	public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
127 121
		return new ApplicationWorkbenchWindowAdvisor(configurer);
128 122
	}
129 123

  
tmp/org.txm.specificities.rcp/src/org/txm/specificities/rcp/messages/SpecificitiesUIMessages.java (revision 939)
3 3
import org.eclipse.osgi.util.NLS;
4 4
import org.txm.utils.messages.Utf8NLS;
5 5

  
6
/**
7
 * Specificities UI messages.
8
 * 
9
 * @author sjacquot
10
 *
11
 */
6 12
public class SpecificitiesUIMessages extends NLS {
7 13
	
14
	private static final String BUNDLE_NAME = "org.txm.specificities.rcp.messages.messages"; //$NON-NLS-1$
15
	
8 16
	public static String SpecificitiesPreferencePage_2;
9 17
	public static String SpecificitiesPreferencePage_3;
10 18
	public static String SpecificitiesPreferencePage_4;
......
18 26
	
19 27
	static {
20 28
		// initialize resource bundle
21
		Utf8NLS.initializeMessages(SpecificitiesUIMessages.class);
29
		Utf8NLS.initializeMessages(BUNDLE_NAME, SpecificitiesUIMessages.class);
22 30
	}
23 31

  
24 32
	private SpecificitiesUIMessages() {
tmp/org.txm.utils/src/org/txm/utils/messages/UtilsCoreMessages.java (revision 939)
11 11
 */
12 12
public class UtilsCoreMessages extends NLS {
13 13

  
14
	private static final String BUNDLE_NAME = "org.txm.utils.messages.messages"; //$NON-NLS-1$
15
	
14 16
	public static String ExecTimer_0;
15 17
	public static String ExecTimer_1;
16 18
	public static String ExecTimer_2;
......
34 36
	
35 37
	static {
36 38
		// initialize resource bundle
37
		Utf8NLS.initializeMessages(UtilsCoreMessages.class);
39
		Utf8NLS.initializeMessages(BUNDLE_NAME, UtilsCoreMessages.class);
38 40
	}
39 41
}
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/messages/RUIMessages.java (revision 939)
3 3
import org.eclipse.osgi.util.NLS;
4 4
import org.txm.utils.messages.Utf8NLS;
5 5

  
6
/**
7
 * R statistics engine UI messages.
8
 * 
9
 * @author sjacquot
10
 *
11
 */
6 12
public class RUIMessages extends NLS {
7 13

  
14
	private static final String BUNDLE_NAME = "org.txm.statsengine.r.rcp.messages.messages"; //$NON-NLS-1$
15
	
8 16
	public static String RPreferencePage_0;
9 17
	public static String RPreferencePage_1;
10 18
	public static String RPreferencePage_2;
......
57 65

  
58 66
	static {
59 67
		// initialize resource bundle
60
		Utf8NLS.initializeMessages( RUIMessages.class);
68
		Utf8NLS.initializeMessages(BUNDLE_NAME, RUIMessages.class);
61 69
	}
62 70

  
63 71
	private RUIMessages() {
tmp/org.txm.treetagger.rcp/src/org/txm/treetagger/rcp/messages/TreeTaggerUIMessages.java (revision 939)
13 13
 */
14 14
public class TreeTaggerUIMessages extends NLS {
15 15

  
16
	private static final String BUNDLE_NAME = "org.txm.treetagger.rcp.messages.messages"; //$NON-NLS-1$
17
	
16 18
	public static String TreeTaggerPreferencePage_0;
17 19
	public static String TreeTaggerPreferencePage_1;
18 20
	public static String TreeTaggerPreferencePage_2;
......
20 22
	
21 23
	static {
22 24
		// initialize resource bundle
23
		Utf8NLS.initializeMessages(TreeTaggerUIMessages.class);
25
		Utf8NLS.initializeMessages(BUNDLE_NAME, TreeTaggerUIMessages.class);
24 26
	}
25 27

  
26 28
	private TreeTaggerUIMessages() {

Formats disponibles : Unified diff