Révision 1411

tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 1411)
390 390
			return false;
391 391
		}
392 392
		if(this.property == null)	{
393
			Log.severe("LexicalTable.canCompute(): can not compute with no unit property."); //$NON-NLS-1$
393
			Log.finest("LexicalTable.canCompute(): can not compute with no unit property."); //$NON-NLS-1$
394 394
			return false;
395 395
		}
396 396
		return true; 
tmp/org.txm.core/src/java/org/txm/core/messages/messages_ru.properties (revision 1411)
1
#TXM messages generated by the PluginMessagesManager class
2
#Wed Nov 14 14:12:58 CET 2018
3
common_cols=
4
common_delete=удалить
5
common_description=Описание
6
common_fMax=
7
common_fMin=
8
common_frequency=Частотность
9
common_lowestFrequency=Минимальная частотность
10
common_numberOfLines=Число строк
11
common_ok=OK
12
common_property=Свойство
13
common_queriesColonP0=Запросы\: {0}.
14
common_query=Запрос\:
15
common_structure=Структура
16
common_thresholds=Пороги
17
common_units=Единицы
18
couldNotCreateTXMHOMEDirectoryColonP0=** Не удалось создать папку TXMHOME \: {0}
19
error_error=** Ошибка\: {0}
20
error_error2=Ошибка
21
error_errorWhileSortingResult=
22
failedToCopyTXMFilesFromTXMINSTALLDIRToTXMHOMEColonP0=** Не удалось скопировать файлы из папки TXMINSTALL в TXMHOME\: {0}
1
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
2
#TXM messages generated by the PluginMessagesManager class
3
#Wed Nov 14 14:12:58 CET 2018
4

  
5
common_cols            = 
6
common_delete          = удалить
7
common_description     = Описание
8
common_fMax            = 
9
common_fMin            = 
10
common_frequency       = Частотность
11
common_lowestFrequency = Минимальная частотность
12
common_numberOfLines   = Число строк
13
common_ok              = OK
14
common_property        = Свойство
15
common_queriesColonP0  = Запросы: {0}.
16
common_query           = Запрос
17
common_structure       = Структура
18
common_thresholds      = Пороги
19
common_units           = Единицы
20

  
21
couldNotCreateTXMHOMEDirectoryColonP0 = ** Не удалось создать папку TXMHOME : {0}
22

  
23
error_error                   = ** Ошибка: {0}
24
error_error2                  = Ошибка
25
error_errorWhileSortingResult = 
26

  
27
failedToCopyTXMFilesFromTXMINSTALLDIRToTXMHOMEColonP0 = ** Не удалось скопировать файлы из папки TXMINSTALL в TXMHOME: {0}
tmp/org.txm.core/src/java/org/txm/core/messages/messages_fr.properties (revision 1411)
1
#TXM messages generated by the PluginMessagesManager class
2
#Wed Nov 14 14:12:58 CET 2018
3
cantFindStructuralUnitForMetadataWithIdColon=Erreur \: pas de structures trouvées pour la métadonnée d'identifiant \: 
4
catalogFileNotFoundP0=** Fichier de catalogue introuvable {0}
5
checkingBinaryFormat=Vérification du format...
6
common_absoluteFrequency=Fréquence absolue
7
common_cols=Colonnes
8
common_delete=Supprimer
9
common_description=Description
10
common_done=Terminé.
11
common_fMax=Fmax
12
common_fMin=Fmin
13
common_frequency=Fréquence
14
common_lowestFrequency=Fréquence minimale
15
common_numberOfLines=Nombre de lignes
16
common_ok=OK
17
common_properties=Propriétés \:
18
common_property=Propriété \:
19
common_queriesColonP0=Requêtes \: {0}.
20
common_query=Requête 
21
common_reference=Référence
22
common_rows=Lignes
23
common_structuralUnitAndProperty=Unité structurelle et propriété
24
common_structure=Structure
25
common_t=t
26
common_thresholds=Seuils
27
common_units=Unités
28
computingColon=Calcul\: 
29
connectedToCQP=Connecté à CQP.
30
corpusColon=Corpus \: 
31
corpusColongetLocaleColonCQPIsNotReadyToAnswerColon=Corpus\: getLocale\: CQP est pas prêt à répondre \: 
32
couldNotCreateTXMHOMEDirectoryColonP0=** Échec de la création du dossier TXMHOME \: {0}.
33
couldntReadCorpusColon=Erreur \: le corpus n'a pas les droits de lecture
34
cQiClientNotInitialized=** Le client CQi n'est pas initilialisé
35
dataDirectoryIsMissingColonP0=le dossier 'data' est manquant {0}
36
doesNotExists=\ n'existe pas.
37
encodingColon=, Encodage \: 
38
endOfCQPWaitTest=Fin du test d'attente de CQP.
39
error_error=** Erreur \: {0}.
40
error_error2=Erreur
41
error_errorWhileSortingResult=Erreur pendant le tri du résultat.
42
eRRORColonExists=Erreur \: n'existe pas
43
errorColonLinkGrplinkAttargetMalformedColonP0=Erreur\: linkGrp/link/@target mal formé \: {0}
44
errorColonP0=** Erreur \:
45
errorColonP0CorpusDirectoryIsNotConformantToTXM079CorpusBinaryFormatColonCorpusSkipped=** Erreur \: le dossier d''entrée n''est pas conforme au format de corpus binaire de TXM 0.7.9 \:    
46
errorColonP0CorpusDirectoryIsNotConformantToTXMCorpusBinaryFormatColonCorpusSkipped=** Erreur \: le dossier d''entrée n''est pas conforme au format de corpus binaire de TXM \:
47
eRRORColonRead=Erreur \: n'a pas les droits de lecture
48
errorColonSkippingTheLoadingOfTheP0Corpus=Erreur \: le corpus {0} ne sera pas chargé
49
errorColonTheConnexionToTheServerFailedColonWrongPortFormat=** La connexion au moteur de recherche a échoué \: le port fourni en paramètre n'est pas un nombre entier\: {0}.
50
errorColonThisExceptionShouldNotBeThrown=** Erreur \: Cette exception ne devrait pas se lever
51
errorColonWhileConnectionToSearchEngineWithTheFollowingParametersColon=** Echec de connexion au moteur de recherche avec les paramètres suivants \: {0} et {1}.
52
errorConfigdirDirColon=Erreur dans le dossier de configuration \: 
53
errorDuringWorkspaceInitializationColonP0=** Echec de l'initialisation de l'espace de travail \: {0}
54
errorLoadingWorkspaceFromFileColonP0=** Echec de lecture de l'espace de travail à partir du fichier {0} 
55
errorRegDirColon=Erreur dans le dossier registre \:
56
errorWhileConnectingToSearchEngine=** Échec de la connexion au moteur de recherche \: 
57
errorWhileGettingMetadatasFromBaseimportMetadatasColon=Erreur lors de la récupération des metadonnées du corpus
58
errorWhileWaitingForCQP=** Échec du test d'attente de CQP \: {0}.
59
failedToAccessStructuralPropertyValues=** Echec de lecture des valeurs de la propriété de structure 
60
failedToCopyTXMFilesFromTXMINSTALLDIRToTXMHOMEColonP0=** Échec de la copie des fichiers TXM du dossier TXMINSTALL vers TXMHOME \: {0}.
61
failedToCreatePartColon=** Echec de la création de la partie \:
62
failedToExec=Echec de l'exécution de '{0} \: {1}.
63
failedToExecTaskkillIMCqpserverexeFColon=Echec de la commande 'taskkill /IM cqpserver.exe /F'\: {0}.
64
failedToExecTskillCqpserverexeColon=Echec de la commande 'tskill cqpserver.exe'\: {0}.
65
failedToGetLastCQPErrorColon=Erreur lors de la récupération de la dernière erreur CQP \: 
66
failedToGetSupValuesOf=Echec de la récupération des valeurs de structures de
67
failedToLoadBaseParametersFromTheP0File=Erreur lors  de la récupération des 
68
failedToRestorePartition=** Echec de la restauration de la partition
69
failedToRestoreSubcorpus=** Echec de la restauration du sous-corpus
70
failedToStartMemCqiClientColon=Erreur lors du démarage du mode mémoire de CQP.
71
file=** Le fichier 
72
fillImportxmlWithColon=Remplissage du fichier 'import.xml' avec \: 
73
filterManagerErrorColonInitializationP0NotFound=** Erreur d'initialisation du gestionnaire de filtre \: {0} non trouvé 
74
focusIsEmptyOrNull=Le focus est vide ou nul
75
hasNoBase=n'a pas de 'Base'
76
htmlDirectoryIsMissingColonP0=le dossier 'html' est manquant {0}
77
in=\ dans
78
informationsFromWorkspaceSelfElementNull=informations from workspace (selfElement  null)
79
initializationOfGroovyImportScriptRunner=Initialisation de GroovyImportScriptRunner
80
iOColon=IO \:
81
isMissing=''{0}'' est introuvable.
82
isNotAValidCQPIDForACorpusItMustBeInUppercaseCharacters=\ n'est pas un identifiant de corpus CQP valide. Il doit être en majuscule.
83
isNotAValidCQPIdForASubcorpusItMustBeAnUppercaseCharactersFollowedByLowercaseCharacters=\ n'est pas un identifiant de sous-corpus CQP valide. Il doit être en majuscules suivies de caractères minuscules.
84
killPsAuxPipeGrepCqpserverPipeAwkP=kill `ps aux | grep cqpserver | awk '/-P 
85
languageColon=, Langue \: 
86
managerErrorDuringInitializationColonP0NotFound=** Erreur d''initialisation du gestionnaire de catalogue \: {0} non trouvé  
87
matchesFound=résultats trouvés
88
noValuesGiven=Pas de valeur donnée
89
noWorkspaceFoundCreatingANewOneP0=** Pas d'espace de travail trouvé, création d'un nouvel espace de travail dans le dossier {0} 
90
numberOfMatch=Nombre de match
91
numberOfSubMatch=Nombre de sous graph
92
orTheEngineWasNotStartedWithTheCommandLineColon=Le démarrage du serveur CQI a échoué avec la ligne de commande \: {0}.
93
pARAMSColonP0=Paramètres \: {0}
94
print2=/ {print $2}'`
95
processing=traitement en cours...
96
processingTextColonP0=traitement du fichier \: {0}
97
queryingPartitionP0=Requête sur la partition {0}
98
queryOnP0ColonP1InfP2=Requête sur {0} \: {1} <- {2}
99
queryWasColon=La requête était \: 
100
readCorpusInfosFromOldImportxmlFileColonP0=Lecture des informatins sur le corpus depuis le fichier import.xml \: {0} 
101
readError=** Erreur de lecture
102
registryFileIsMissingColonP0=le dossier 'registry' est manquant {0}
103
reorganizingFilesOfP0=Reorganisation des fichiers de {0}
104
sAXColon=SAX \: 
105
selectionErrorColonTheCorpus=Erreur \: le corpus
106
supBeginningExecutionOfP0=> début de l'exécution de {0} 
107
supEndOfExecution=> fin de l'exécution
108
textMetadataColon=Métadonnées de textes \: 
109
theFocusCannotBeNullOrEmpty=Le focus ne doit pas être vide ou nul.
110
theFocusIsEmptyOrNull=** Le focus est vide ou nul.
111
theP0PartFocusDoesntBelongToPartitionP1=Le focus de la partie {0} n''appartient pas à la partition {1}.
112
txmDirectoryIsMissingColonP0=le dossier 'txm' est manquant {0}
113
tXMNeedsFoldersColonP0P1P2AndP3=TXM a besoin des dossiers suivants \: {0}, {1}, {2} et {3}.
114
unknownPartitionName=** Nom de partition inconnu.
115
warningColonCantLoadCorpus=Attention\: le corpus ne peut pas être chargé 
116
warningColonDuplicateQueryEntryColonP0=Attention \: requête dupliquée \: {0}.
117
warningColonQueryFailedColonP0=Attention \: échec de la requête\: {0}.
118
wrongLoginOrPasswordOrPortColon=Mauvais login, mot de passe, nom de machine ou port dans \: {0} {1} {2} {3}.
119
xmlValidationColonP0DoesNotExists=Validation XML \: {0} n'existe pas ?
120
xmlValidationColonP0IsADirectory=Validation XML \: {0} est un dossier
121
xmlValidationColonP0IsNotReadable=Validation XML \: {0} n'a pas les bon droits de lecture
1
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
2
#TXM messages generated by the PluginMessagesManager class
3
#Wed Nov 14 14:12:58 CET 2018
4

  
5
cQiClientNotInitialized = ** Le client CQi n'est pas initilialisé
6

  
7
cantFindStructuralUnitForMetadataWithIdColon = Erreur : pas de structures trouvées pour la métadonnée d'identifiant : 
8

  
9
catalogFileNotFoundP0 = ** Fichier de catalogue introuvable {0}
10

  
11
checkingBinaryFormat = Vérification du format...
12

  
13
common_absoluteFrequency         = Fréquence absolue
14
common_cols                      = Colonnes
15
common_delete                    = Supprimer
16
common_description               = Description
17
common_done                      = Terminé.
18
common_fMax                      = Fmax
19
common_fMin                      = Fmin
20
common_frequency                 = Fréquence
21
common_lowestFrequency           = Fréquence minimale
22
common_numberOfLines             = Nombre de lignes
23
common_ok                        = OK
24
common_properties                = Propriétés
25
common_property                  = Propriété
26
common_queriesColonP0            = Requêtes : {0}.
27
common_query                     = Requête 
28
common_reference                 = Référence
29
common_rows                      = Lignes
30
common_structuralUnitAndProperty = Unité structurelle et propriété
31
common_structure                 = Structure
32
common_t                         = t
33
common_thresholds                = Seuils
34
common_units                     = Unités
35

  
36
computingColon = Calcul: 
37

  
38
connectedToCQP = Connecté à CQP.
39

  
40
corpusColon = Corpus : 
41

  
42
corpusColongetLocaleColonCQPIsNotReadyToAnswerColon = Corpus: getLocale: CQP est pas prêt à répondre : 
43

  
44
couldNotCreateTXMHOMEDirectoryColonP0 = ** Échec de la création du dossier TXMHOME : {0}.
45

  
46
couldntReadCorpusColon = Erreur : le corpus n'a pas les droits de lecture
47

  
48
dataDirectoryIsMissingColonP0 = le dossier 'data' est manquant {0}
49

  
50
doesNotExists = \ n'existe pas.
51

  
52
eRRORColonExists = Erreur : n'existe pas
53

  
54
eRRORColonRead = Erreur : n'a pas les droits de lecture
55

  
56
encodingColon = , Encodage : 
57

  
58
endOfCQPWaitTest = Fin du test d'attente de CQP.
59

  
60
errorColonLinkGrplinkAttargetMalformedColonP0 = Erreur: linkGrp/link/@target mal formé : {0}
61

  
62
errorColonP0 = ** Erreur :
63

  
64
errorColonP0CorpusDirectoryIsNotConformantToTXM079CorpusBinaryFormatColonCorpusSkipped = ** Erreur : le dossier d''entrée n''est pas conforme au format de corpus binaire de TXM 0.7.9 :    
65

  
66
errorColonP0CorpusDirectoryIsNotConformantToTXMCorpusBinaryFormatColonCorpusSkipped = ** Erreur : le dossier d''entrée n''est pas conforme au format de corpus binaire de TXM :
67

  
68
errorColonSkippingTheLoadingOfTheP0Corpus = Erreur : le corpus {0} ne sera pas chargé
69

  
70
errorColonTheConnexionToTheServerFailedColonWrongPortFormat = ** La connexion au moteur de recherche a échoué : le port fourni en paramètre n'est pas un nombre entier: {0}.
71

  
72
errorColonThisExceptionShouldNotBeThrown = ** Erreur : Cette exception ne devrait pas se lever
73

  
74
errorColonWhileConnectionToSearchEngineWithTheFollowingParametersColon = ** Echec de connexion au moteur de recherche avec les paramètres suivants : {0} et {1}.
75

  
76
errorConfigdirDirColon = Erreur dans le dossier de configuration : 
77

  
78
errorDuringWorkspaceInitializationColonP0 = ** Echec de l'initialisation de l'espace de travail : {0}
79

  
80
errorLoadingWorkspaceFromFileColonP0 = ** Echec de lecture de l'espace de travail à partir du fichier {0} 
81

  
82
errorRegDirColon = Erreur dans le dossier registre :
83

  
84
errorWhileConnectingToSearchEngine = ** Échec de la connexion au moteur de recherche : 
85

  
86
errorWhileGettingMetadatasFromBaseimportMetadatasColon = Erreur lors de la récupération des metadonnées du corpus
87

  
88
errorWhileWaitingForCQP = ** Échec du test d'attente de CQP : {0}.
89

  
90
error_error                                                                            = ** Erreur : {0}.
91
error_error2                                                                           = Erreur
92
error_errorWhileSortingResult                                                          = Erreur pendant le tri du résultat.
93

  
94
failedToAccessStructuralPropertyValues = ** Echec de lecture des valeurs de la propriété de structure 
95

  
96
failedToCopyTXMFilesFromTXMINSTALLDIRToTXMHOMEColonP0 = ** Échec de la copie des fichiers TXM du dossier TXMINSTALL vers TXMHOME : {0}.
97

  
98
failedToCreatePartColon = ** Echec de la création de la partie :
99

  
100
failedToExec = Echec de l'exécution de '{0} : {1}.
101

  
102
failedToExecTaskkillIMCqpserverexeFColon = Echec de la commande 'taskkill /IM cqpserver.exe /F': {0}.
103

  
104
failedToExecTskillCqpserverexeColon = Echec de la commande 'tskill cqpserver.exe': {0}.
105

  
106
failedToGetLastCQPErrorColon = Erreur lors de la récupération de la dernière erreur CQP : 
107

  
108
failedToGetSupValuesOf = Echec de la récupération des valeurs de structures de
109

  
110
failedToLoadBaseParametersFromTheP0File = Erreur lors  de la récupération des 
111

  
112
failedToRestorePartition = ** Echec de la restauration de la partition
113

  
114
failedToRestoreSubcorpus = ** Echec de la restauration du sous-corpus
115

  
116
failedToStartMemCqiClientColon = Erreur lors du démarage du mode mémoire de CQP.
117

  
118
file = ** Le fichier 
119

  
120
fillImportxmlWithColon = Remplissage du fichier 'import.xml' avec : 
121

  
122
filterManagerErrorColonInitializationP0NotFound = ** Erreur d'initialisation du gestionnaire de filtre : {0} non trouvé 
123

  
124
focusIsEmptyOrNull = Le focus est vide ou nul
125

  
126
hasNoBase = n'a pas de 'Base'
127

  
128
htmlDirectoryIsMissingColonP0 = le dossier 'html' est manquant {0}
129

  
130
iOColon = IO :
131

  
132
in = \ dans
133

  
134
informationsFromWorkspaceSelfElementNull = informations from workspace (selfElement  null)
135

  
136
initializationOfGroovyImportScriptRunner = Initialisation de GroovyImportScriptRunner
137

  
138
isMissing = ''{0}'' est introuvable.
139

  
140
isNotAValidCQPIDForACorpusItMustBeInUppercaseCharacters = \ n'est pas un identifiant de corpus CQP valide. Il doit être en majuscule.
141

  
142
isNotAValidCQPIdForASubcorpusItMustBeAnUppercaseCharactersFollowedByLowercaseCharacters = \ n'est pas un identifiant de sous-corpus CQP valide. Il doit être en majuscules suivies de caractères minuscules.
143

  
144
killPsAuxPipeGrepCqpserverPipeAwkP = kill `ps aux | grep cqpserver | awk '/-P 
145

  
146
languageColon = , Langue : 
147

  
148
managerErrorDuringInitializationColonP0NotFound = ** Erreur d''initialisation du gestionnaire de catalogue : {0} non trouvé  
149

  
150
matchesFound = résultats trouvés
151

  
152
noValuesGiven = Pas de valeur donnée
153

  
154
noWorkspaceFoundCreatingANewOneP0 = ** Pas d'espace de travail trouvé, création d'un nouvel espace de travail dans le dossier {0} 
155

  
156
numberOfMatch = Nombre de match
157

  
158
numberOfSubMatch = Nombre de sous graph
159

  
160
orTheEngineWasNotStartedWithTheCommandLineColon = Le démarrage du serveur CQI a échoué avec la ligne de commande : {0}.
161

  
162
pARAMSColonP0 = Paramètres : {0}
163

  
164
print2 = / {print $2}'`
165

  
166
processing = traitement en cours...
167

  
168
processingTextColonP0 = traitement du fichier : {0}
169

  
170
queryOnP0ColonP1InfP2 = Requête sur {0} : {1} <- {2}
171

  
172
queryWasColon = La requête était : 
173

  
174
queryingPartitionP0 = Requête sur la partition {0}
175

  
176
readCorpusInfosFromOldImportxmlFileColonP0 = Lecture des informatins sur le corpus depuis le fichier import.xml : {0} 
177

  
178
readError = ** Erreur de lecture
179

  
180
registryFileIsMissingColonP0 = le dossier 'registry' est manquant {0}
181

  
182
reorganizingFilesOfP0 = Reorganisation des fichiers de {0}
183

  
184
sAXColon = SAX : 
185

  
186
selectionErrorColonTheCorpus = Erreur : le corpus
187

  
188
supBeginningExecutionOfP0 = > début de l'exécution de {0} 
189

  
190
supEndOfExecution = > fin de l'exécution
191

  
192
tXMNeedsFoldersColonP0P1P2AndP3 = TXM a besoin des dossiers suivants : {0}, {1}, {2} et {3}.
193

  
194
textMetadataColon = Métadonnées de textes : 
195

  
196
theFocusCannotBeNullOrEmpty = Le focus ne doit pas être vide ou nul.
197

  
198
theFocusIsEmptyOrNull = ** Le focus est vide ou nul.
199

  
200
theP0PartFocusDoesntBelongToPartitionP1 = Le focus de la partie {0} n''appartient pas à la partition {1}.
201

  
202
txmDirectoryIsMissingColonP0 = le dossier 'txm' est manquant {0}
203

  
204
unknownPartitionName = ** Nom de partition inconnu.
205

  
206
warningColonCantLoadCorpus = Attention: le corpus ne peut pas être chargé 
207

  
208
warningColonDuplicateQueryEntryColonP0 = Attention : requête dupliquée : {0}.
209

  
210
warningColonQueryFailedColonP0 = Attention : échec de la requête: {0}.
211

  
212
wrongLoginOrPasswordOrPortColon = Mauvais login, mot de passe, nom de machine ou port dans : {0} {1} {2} {3}.
213

  
214
xmlValidationColonP0DoesNotExists = Validation XML : {0} n'existe pas ?
215

  
216
xmlValidationColonP0IsADirectory = Validation XML : {0} est un dossier
217

  
218
xmlValidationColonP0IsNotReadable = Validation XML : {0} n'a pas les bon droits de lecture
tmp/org.txm.core/src/java/org/txm/core/messages/messages.properties (revision 1411)
1
#TXM messages generated by the PluginMessagesManager class
2
#Wed Nov 14 14:12:58 CET 2018
3
binaryDirectoryP0NotFound=Binary directory {0} not found.
4
cantFindStructuralUnitForMetadataWithIdColon=Can't find structural unit for metadata with id\: 
5
catalogFileNotFoundP0=** Catalog File Not found {0}
6
checkingBinaryFormat=checking binary format...
7
common_absoluteFrequency=Absolute Frequency
8
common_cols=Cols
9
common_delete=Delete
10
common_description=Description
11
common_done=Done.
12
common_fMax=Fmax
13
common_fMin=Fmin
14
common_fMinEquals=Fmin\={0}
15
common_frequency=Frequency
16
common_lowestFrequency=Lowest frequency
17
common_numberOfLines=Number of lines
18
common_ok=OK
19
common_properties=Properties\:
20
common_property=Property\:
21
common_queriesColonP0=Queries\: {0}.
22
common_query=Query 
23
common_reference=Reference
24
common_rows=Rows
25
common_structuralUnitAndProperty=Structural unit and property
26
common_structure=Structure
27
common_t=t 
28
common_thresholds=Thresholds
29
common_units=Units
30
common_vMax=Vmax
31
computingColon=Computing\: 
32
connectedToCQP=Connected to CQP.
33
corpusColon=Corpus\: 
34
corpusColongetLocaleColonCQPIsNotReadyToAnswerColon=Corpus\:getLocale\: CQP is not ready to answer\: 
35
couldNotCreateTXMHOMEDirectoryColonP0=** Could not create TXMHOME directory\: {0}.
36
couldntReadCorpusColon=Couldn't read corpus\: 
37
cQiClientNotInitialized=** CQi Client not initialized
38
dataDirectoryIsMissingColonP0='data' directory is missing\: {0}
39
doesNotExists=\ does not exists
40
encodingColon=, Encoding\: 
41
endOfCQPWaitTest=End of CQP waiting test.
42
error_error=** Error\: {0}.
43
error_error2=Error
44
error_errorWhileSortingResult=Error while sorting result.
45
eRRORColonExists=ERROR\: \!exists
46
errorColonLinkGrplinkAttargetMalformedColonP0=Error\: linkGrp/link/@target malformed\: {0} 
47
errorColonP0=** Error\: 
48
errorColonP0CorpusDirectoryIsNotConformantToTXM079CorpusBinaryFormatColonCorpusSkipped=** Error\: ''{0}'' corpus directory is not conformant to TXM 0.7.9 corpus binary format\: corpus skipped."  
49
errorColonP0CorpusDirectoryIsNotConformantToTXMCorpusBinaryFormatColonCorpusSkipped=** Error\: ''{0}'' corpus directory is not conformant to TXM corpus binary format\: corpus skipped."
50
eRRORColonRead=ERROR\: \!read
51
errorColonSkippingTheLoadingOfTheP0Corpus=Error\: skipping the loading of the {0} corpus 
52
errorColonTheConnexionToTheServerFailedColonWrongPortFormat=** Error \: the connexion to the server failed\: wrong port format\: {0}.
53
errorColonThisExceptionShouldNotBeThrown=** Error\: This exception should not be thrown
54
errorColonWhileConnectionToSearchEngineWithTheFollowingParametersColon=** Error while connecting to search engine with the following parameters\: {0} and {1}.
55
errorConfigdirDirColon=Error configdir dir\: 
56
errorDuringWorkspaceInitializationColonP0=** Error during workspace initialization\: {0}
57
errorLoadingWorkspaceFromFileColonP0=** Error loading workspace from the {0} file.
58
errorRegDirColon=Error reg dir\: 
59
errorWhileConnectingToSearchEngine=** Error while connecting CQP server.
60
errorWhileGettingMetadatasFromBaseimportMetadatasColon=Error while getting metadatas from Base.importMetadatas\: 
61
errorWhileWaitingForCQP=** Error while waiting for CQP\: {0}.
62
evaluatingExtensionColonP0FromP1=Evaluating extension\: {0} from {1}
63
exceptionColonP0=Exception\: {0}
64
failedToAccessStructuralPropertyValues=** Failed to access structural property values 
65
failedToCopyTXMFilesFromTXMINSTALLDIRToTXMHOMEColonP0=Failed to copy TXM files from TXMINSTALL DIR to TXMHOME\: {0}.
66
failedToCreatePartColon=** Failed to create part\: 
67
failedToExec=Failed to exec '{0}\: {1}.
68
failedToExecTaskkillIMCqpserverexeFColon=Failed to exec 'taskkill /IM cqpserver.exe /F'\: {0}.
69
failedToExecTskillCqpserverexeColon=Failed to exec 'tskill cqpserver.exe'\: {0}.
70
failedToGetLastCQPErrorColon=Failed to get last CQP error\: 
71
failedToGetSupValuesOf=Failed to get sup values of 
72
failedToLoadBaseParametersFromTheP0File=Failed to load base parameters from the {0} file.
73
failedToRestorePartition=** Failed to restore partition 
74
failedToRestoreSubcorpus=** Failed to restore subcorpus 
75
failedToStartMemCqiClientColon=Failed to start CQP in memory mode.
76
file=** File
77
fillImportxmlWithColon=Fill import.xml with\: 
78
filterManagerErrorColonInitializationP0NotFound=** Filter manager initialization error\: {0} not found. 
79
fmax=, fmax 
80
fmin=, fmin 
81
focusIsEmptyOrNull=Focus is empty or null
82
hasNoBase=has no base
83
htmlDirectoryIsMissingColonP0='html' directory is missing\: {0}
84
in=\ in \t\t\t\t\t\t\t\t
85
informationsFromWorkspaceSelfElementNull=informations from workspace (selfElement  null)
86
initializationOfGroovyImportScriptRunner=Initialization of GroovyImportScriptRunner
87
iOColon=IO\: 
88
isMissing=is missing
89
isNotAValidCQPIDForACorpusItMustBeInUppercaseCharacters=\ is not a valid CQP ID for a corpus. It must be in uppercase characters.
90
isNotAValidCQPIdForASubcorpusItMustBeAnUppercaseCharactersFollowedByLowercaseCharacters=\ is not a valid CQP Id for a subcorpus. It must be an uppercase characters followed by lowercase characters.
91
killPsAuxPipeGrepCqpserverPipeAwkP=kill `ps aux | grep cqpserver | awk '/-P 
92
languageColon=, Language\: 
93
loadingExtensions=Loading extensions...
94
loadingWorkspaceFromFileColonP0=Loading workspace from the {0} file
95
malformedURLFileP0=** Malformed URL\: {0}
96
managerErrorDuringInitializationColonP0NotFound=** Manager Error during initialization\: {0} not found.
97
matchesFound=matches found.
98
noValuesGiven=No values given
99
noWorkspaceFoundCreatingANewOneP0=** No workspace found. Creating a new one\: {0}
100
numberOfMatch=Number of match 
101
numberOfSubMatch=Number of sub match 
102
orTheEngineWasNotStartedWithTheCommandLineColon=CQI server failed to started with the command line\: {0}.
103
pARAMSColonP0=PARAMS\: 
104
parentDirectoryP0NotFound=Parent directory {0} not found.
105
print2=/ {print $2}'`
106
processing=processing...
107
processingTextColonP0=processing text\: {0}
108
queryingPartitionP0=Querying partition {0}
109
queryOnP0ColonP1InfP2=Query on {0} \: {1} <- {2}
110
queryWasColon=Query was\: 
111
readCorpusInfosFromOldImportxmlFileColonP0=Read corpus infos from old import.xml file\: {0}
112
readError=** Read error
113
registryFileIsMissingColonP0='registry' file is missing\: {0}
114
reorganizingFilesOfP0=reorganizing files of 
115
sAXColon=SAX\: 
116
selectionErrorColonTheCorpus=Selection error\: the corpus 
117
supBeginningExecutionOfP0=> beginning execution of {0}
118
supEndOfExecution=> end of execution 
119
textMetadataColon=Text metadata\: 
120
theFocusCannotBeNullOrEmpty=The focus cannot be null or empty.
121
theFocusIsEmptyOrNull=** The focus is empty or null.
122
theP0PartFocusDoesntBelongToPartitionP1=The {0} part focus doesn''t belong to partition {1}.
123
ToolboxStatesWorkspaceColonP0=\ Workspace\: {0}
124
txmDirectoryIsMissingColonP0='txm' directory is missing\: {0}
125
tXMNeedsFoldersColonP0P1P2AndP3=TXM needs folders\: \: {0}, {1}, {2} and {3}.
126
unknownPartitionName=** Unknown partition name.
127
v=, v 
128
warningColonCantLoadCorpus=Warning\: can't load corpus 
129
warningColonDuplicateQueryEntryColonP0=Warning\: duplicate query entry\: {0}.
130
warningColonQueryFailedColonP0=Warning\: query failed\: {0}.
131
wrongLoginOrPasswordOrPortColon=Wrong login, password, host or port in \: {0} {1} {2} {3}.
1
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
2
#TXM messages generated by the PluginMessagesManager class
3
#Wed Nov 14 14:12:58 CET 2018
4

  
5
ToolboxStatesWorkspaceColonP0 = \ Workspace: {0}
6

  
7
binaryDirectoryP0NotFound = Binary directory {0} not found.
8

  
9
cQiClientNotInitialized = ** CQi Client not initialized
10

  
11
cantFindStructuralUnitForMetadataWithIdColon = Can't find structural unit for metadata with id: 
12

  
13
catalogFileNotFoundP0 = ** Catalog File Not found {0}
14

  
15
checkingBinaryFormat = checking binary format...
16

  
17
common_absoluteFrequency         = Absolute Frequency
18
common_cols                      = Cols
19
common_delete                    = Delete
20
common_description               = Description
21
common_done                      = Done.
22
common_fMax                      = Fmax
23
common_fMin                      = Fmin
24
common_fMinEquals                = Fmin={0}
25
common_frequency                 = Frequency
26
common_lowestFrequency           = Lowest frequency
27
common_numberOfLines             = Number of lines
28
common_ok                        = OK
29
common_properties                = Properties
30
common_property                  = Property
31
common_queriesColonP0            = Queries: {0}.
32
common_query                     = Query 
33
common_reference                 = Reference
34
common_rows                      = Rows
35
common_structuralUnitAndProperty = Structural unit and property
36
common_structure                 = Structure
37
common_t                         = t 
38
common_thresholds                = Thresholds
39
common_units                     = Units
40
common_vMax                      = Vmax
41

  
42
computingColon = Computing: 
43

  
44
connectedToCQP = Connected to CQP.
45

  
46
corpusColon = Corpus: 
47

  
48
corpusColongetLocaleColonCQPIsNotReadyToAnswerColon = Corpus:getLocale: CQP is not ready to answer: 
49

  
50
couldNotCreateTXMHOMEDirectoryColonP0 = ** Could not create TXMHOME directory: {0}.
51

  
52
couldntReadCorpusColon = Couldn't read corpus: 
53

  
54
dataDirectoryIsMissingColonP0 = 'data' directory is missing: {0}
55

  
56
doesNotExists = \ does not exists
57

  
58
eRRORColonExists = ERROR: !exists
59

  
60
eRRORColonRead = ERROR: !read
61

  
62
encodingColon = , Encoding: 
63

  
64
endOfCQPWaitTest = End of CQP waiting test.
65

  
66
errorColonLinkGrplinkAttargetMalformedColonP0 = Error: linkGrp/link/@target malformed: {0} 
67

  
68
errorColonP0 = ** Error: 
69

  
70
errorColonP0CorpusDirectoryIsNotConformantToTXM079CorpusBinaryFormatColonCorpusSkipped = ** Error: ''{0}'' corpus directory is not conformant to TXM 0.7.9 corpus binary format: corpus skipped."  
71

  
72
errorColonP0CorpusDirectoryIsNotConformantToTXMCorpusBinaryFormatColonCorpusSkipped = ** Error: ''{0}'' corpus directory is not conformant to TXM corpus binary format: corpus skipped."
73

  
74
errorColonSkippingTheLoadingOfTheP0Corpus = Error: skipping the loading of the {0} corpus 
75

  
76
errorColonTheConnexionToTheServerFailedColonWrongPortFormat = ** Error : the connexion to the server failed: wrong port format: {0}.
77

  
78
errorColonThisExceptionShouldNotBeThrown = ** Error: This exception should not be thrown
79

  
80
errorColonWhileConnectionToSearchEngineWithTheFollowingParametersColon = ** Error while connecting to search engine with the following parameters: {0} and {1}.
81

  
82
errorConfigdirDirColon = Error configdir dir: 
83

  
84
errorDuringWorkspaceInitializationColonP0 = ** Error during workspace initialization: {0}
85

  
86
errorLoadingWorkspaceFromFileColonP0 = ** Error loading workspace from the {0} file.
87

  
88
errorRegDirColon = Error reg dir: 
89

  
90
errorWhileConnectingToSearchEngine = ** Error while connecting CQP server.
91

  
92
errorWhileGettingMetadatasFromBaseimportMetadatasColon = Error while getting metadatas from Base.importMetadatas: 
93

  
94
errorWhileWaitingForCQP = ** Error while waiting for CQP: {0}.
95

  
96
error_error                                                                            = ** Error: {0}.
97
error_error2                                                                           = Error
98
error_errorWhileSortingResult                                                          = Error while sorting result.
99

  
100
evaluatingExtensionColonP0FromP1 = Evaluating extension: {0} from {1}
101

  
102
exceptionColonP0 = Exception: {0}
103

  
104
failedToAccessStructuralPropertyValues = ** Failed to access structural property values 
105

  
106
failedToCopyTXMFilesFromTXMINSTALLDIRToTXMHOMEColonP0 = Failed to copy TXM files from TXMINSTALL DIR to TXMHOME: {0}.
107

  
108
failedToCreatePartColon = ** Failed to create part: 
109

  
110
failedToExec = Failed to exec '{0}: {1}.
111

  
112
failedToExecTaskkillIMCqpserverexeFColon = Failed to exec 'taskkill /IM cqpserver.exe /F': {0}.
113

  
114
failedToExecTskillCqpserverexeColon = Failed to exec 'tskill cqpserver.exe': {0}.
115

  
116
failedToGetLastCQPErrorColon = Failed to get last CQP error: 
117

  
118
failedToGetSupValuesOf = Failed to get sup values of 
119

  
120
failedToLoadBaseParametersFromTheP0File = Failed to load base parameters from the {0} file.
121

  
122
failedToRestorePartition = ** Failed to restore partition 
123

  
124
failedToRestoreSubcorpus = ** Failed to restore subcorpus 
125

  
126
failedToStartMemCqiClientColon = Failed to start CQP in memory mode.
127

  
128
file = ** File
129

  
130
fillImportxmlWithColon = Fill import.xml with: 
131

  
132
filterManagerErrorColonInitializationP0NotFound = ** Filter manager initialization error: {0} not found. 
133

  
134
fmax = , fmax 
135

  
136
fmin = , fmin 
137

  
138
focusIsEmptyOrNull = Focus is empty or null
139

  
140
hasNoBase = has no base
141

  
142
htmlDirectoryIsMissingColonP0 = 'html' directory is missing: {0}
143

  
144
iOColon = IO: 
145

  
146
in = \ in \	\	\	\	\	\	\	\	
147

  
148
informationsFromWorkspaceSelfElementNull = informations from workspace (selfElement  null)
149

  
150
initializationOfGroovyImportScriptRunner = Initialization of GroovyImportScriptRunner
151

  
152
isMissing = is missing
153

  
154
isNotAValidCQPIDForACorpusItMustBeInUppercaseCharacters = \ is not a valid CQP ID for a corpus. It must be in uppercase characters.
155

  
156
isNotAValidCQPIdForASubcorpusItMustBeAnUppercaseCharactersFollowedByLowercaseCharacters = \ is not a valid CQP Id for a subcorpus. It must be an uppercase characters followed by lowercase characters.
157

  
158
killPsAuxPipeGrepCqpserverPipeAwkP = kill `ps aux | grep cqpserver | awk '/-P 
159

  
160
languageColon = , Language: 
161

  
162
loadingExtensions = Loading extensions...
163

  
164
loadingWorkspaceFromFileColonP0 = Loading workspace from the {0} file
165

  
166
malformedURLFileP0 = ** Malformed URL: {0}
167

  
168
managerErrorDuringInitializationColonP0NotFound = ** Manager Error during initialization: {0} not found.
169

  
170
matchesFound = matches found.
171

  
172
noValuesGiven = No values given
173

  
174
noWorkspaceFoundCreatingANewOneP0 = ** No workspace found. Creating a new one: {0}
175

  
176
numberOfMatch = Number of match 
177

  
178
numberOfSubMatch = Number of sub match 
179

  
180
orTheEngineWasNotStartedWithTheCommandLineColon = CQI server failed to started with the command line: {0}.
181

  
182
pARAMSColonP0 = PARAMS: 
183

  
184
parentDirectoryP0NotFound = Parent directory {0} not found.
185

  
186
print2 = / {print $2}'`
187

  
188
processing = processing...
189

  
190
processingTextColonP0 = processing text: {0}
191

  
192
queryOnP0ColonP1InfP2 = Query on {0} : {1} <- {2}
193

  
194
queryWasColon = Query was: 
195

  
196
queryingPartitionP0 = Querying partition {0}
197

  
198
readCorpusInfosFromOldImportxmlFileColonP0 = Read corpus infos from old import.xml file: {0}
199

  
200
readError = ** Read error
201

  
202
registryFileIsMissingColonP0 = 'registry' file is missing: {0}
203

  
204
reorganizingFilesOfP0 = reorganizing files of 
205

  
206
sAXColon = SAX: 
207

  
208
selectionErrorColonTheCorpus = Selection error: the corpus 
209

  
210
supBeginningExecutionOfP0 = > beginning execution of {0}
211

  
212
supEndOfExecution = > end of execution 
213

  
214
tXMNeedsFoldersColonP0P1P2AndP3 = TXM needs folders: : {0}, {1}, {2} and {3}.
215

  
216
textMetadataColon = Text metadata: 
217

  
218
theFocusCannotBeNullOrEmpty = The focus cannot be null or empty.
219

  
220
theFocusIsEmptyOrNull = ** The focus is empty or null.
221

  
222
theP0PartFocusDoesntBelongToPartitionP1 = The {0} part focus doesn''t belong to partition {1}.
223

  
224
txmDirectoryIsMissingColonP0 = 'txm' directory is missing: {0}
225

  
226
unknownPartitionName = ** Unknown partition name.
227

  
228
v = , v 
229

  
230
warningColonCantLoadCorpus = Warning: can't load corpus 
231

  
232
warningColonDuplicateQueryEntryColonP0 = Warning: duplicate query entry: {0}.
233

  
234
warningColonQueryFailedColonP0 = Warning: query failed: {0}.
235

  
236
wrongLoginOrPasswordOrPortColon = Wrong login, password, host or port in : {0} {1} {2} {3}.
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1411)
1 1
package org.txm.core.results;
2 2

  
3 3
import java.io.File;
4
import java.io.FileNotFoundException;
5 4
import java.io.IOException;
6
import java.io.PrintWriter;
7
import java.io.UnsupportedEncodingException;
8 5
import java.lang.reflect.Field;
9 6
import java.text.DateFormat;
10 7
import java.text.SimpleDateFormat;
......
13 10
import java.util.Date;
14 11
import java.util.HashMap;
15 12
import java.util.List;
16
import java.util.TreeSet;
17
import java.util.UUID;
18 13
import java.util.concurrent.Semaphore;
19 14
import java.util.regex.Pattern;
20 15

  
......
31 26
import org.txm.objects.Project;
32 27
import org.txm.objects.Workspace;
33 28
import org.txm.stat.utils.LogMonitor;
34
import org.txm.utils.io.IOUtils;
35 29
import org.txm.utils.logger.Log;
36 30

  
37 31
// FIXME: At this moment, an empty list is created for children, to not return
......
1221 1215
			this.clean();
1222 1216

  
1223 1217
			if (this.parent != null) {
1218
				
1219
				TXMResult parent = this.parent; 
1220
				
1224 1221
				this.parent.removeChild(this);
1222
				
1223
				// FIXME: to delete the hidden parent when using shortcut command (eg. Specificities on Partition that hides the parent LexicalTable)
1224
				// need to prove this method
1225
				if(!parent.isVisible() &&
1226
						!(parent instanceof Project) // FIXME: actually removing this test and modify DeleteObject.java method public static List<Object> delete(Object o) by removing the MainCorpus test should work
1227
						)	{
1228
					parent.delete();
1229
				}
1230

  
1225 1231
			}
1226 1232
			this.parent = null;
1227 1233
			return true;
......
1976 1982
				Log.finest("TXMResult.compute(): " + this.getClass().getSimpleName() + ": starting parent (" + this.parent.getClass().getSimpleName() + ") computing process...");
1977 1983

  
1978 1984
				if (!this.parent.compute(monitor, true)) {
1979
					Log.severe("TXMResult.compute(): " + this.getClass().getSimpleName() + ": failed to compute parent result.");
1985
					Log.finest("TXMResult.compute(): " + this.getClass().getSimpleName() + ": failed to compute parent result.");
1980 1986

  
1981 1987
					return false;
1982 1988
				}
......
2017 2023

  
2018 2024
			if(!skipComputing)	{
2019 2025

  
2026
				// store last used parameters
2027
//				this.updateLastParameters();
2028

  
2029
				
2020 2030
				if (!this.autoSaveParametersFromAnnotations()) {
2021 2031
					Log.severe("TXMResult.compute(): " + this.getClass().getSimpleName() + ": failed to save parameters from annotations for " + this.getName() + ".");
2022 2032
				}
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/CAParametersDialog.java (revision 1411)
160 160
			anaPropLabel.setText(mess);
161 161
		}
162 162
		else {
163
			anaPropLabel.setText(TXMCoreMessages.common_properties);
163
			anaPropLabel.setText(TXMCoreMessages.common_property);
164 164
		}
165 165
		anaPropLabel.setLayoutData(new GridData(GridData.END, GridData.CENTER,
166 166
				false, false));
......
180 180
		anaPropCombo.select(iword);
181 181

  
182 182
		maxlinesLabel = new Label(composite, SWT.NONE);
183
		maxlinesLabel.setText(TXMUIMessages.numberOfLinesColon);
183
		maxlinesLabel.setText(TXMCoreMessages.common_numberOfLines);
184 184
		maxlinesLabel.setLayoutData(new GridData(GridData.END, GridData.CENTER, true, false));
185 185
		maxlinesSpinner = new Spinner(composite, SWT.BORDER);
186 186
		maxlinesSpinner.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/handlers/ComputeCA.java (revision 1411)
79 79

  
80 80
		try {
81 81
			System.out.println(CAUIMessages.creatingCA);
82

  
83
			LexicalTable lexicalTable = null;
82 84
			CA ca = null;
83 85

  
84
			// Creating from Partition
85
			if (selection instanceof Partition) {
86
			// Reopening an existing result
87
			if (selection instanceof CA) {
88
				ca = (CA) selection;
89
			}
90
			// Creating
91
			else {
92
				// Creating from Partition
93
				if (selection instanceof Partition) {
86 94

  
87
				final Partition partition = (Partition) selection;
95
					final Partition partition = (Partition) selection;
88 96

  
89
				// not enough parts error
90
				if (partition.getPartsCount() < 4) {
91
					Display.getDefault().syncExec(new Runnable() {
92
						
93
						@Override
94
						public void run() {
95
							MessageDialog d = new MessageDialog(window.getShell(), TXMCoreMessages.error_error2, null,
96
									NLS.bind(CAUIMessages.canNotComputeFactorialAnalysisWithOnlyP0PartsTheMinimumIs4Parts, partition.getPartsCount()), 0, new String[] { TXMCoreMessages.common_ok}, 0);
97
							d.open();
98
						}
99
					});
100
					return null;
101
				}
102
				
103
				// FIXME: old version using dialog box for parameters
104
				// ask property and Fmins and Vmax
105
//				String title = TXMUIMessages.bind(CAUIMessages.ComputeCorrespondanceAnalysisDialog_0, partition.getName());
106
//				CAParametersDialog d = new CAParametersDialog(window.getShell(), partition.getParent(), title);
107
//
108
//				if (d.open() == MessageDialog.OK) {
109
//					WordProperty property = d.getProperty();
110
//					int fMin = d.getFmin();
111
//					int vMax = d.getMaxLines();
112
//
113
//					Log.info(NLS.bind(CAUIMessages.computingCorrespondenceAnalysisOnP0WithPropertyP1, partition, property));
114
//
115
//					LexicalTable lexicalTable = new LexicalTable(partition);
116
//					lexicalTable.setParameters(property, fMin, vMax, null);
117
//					ca = new CA(lexicalTable);
118
//				} else { // aborted
119
//					return null;
120
//				}
97
					// not enough parts error
98
					if (partition.getPartsCount() < 4) {
99
						Display.getDefault().syncExec(new Runnable() {
121 100

  
122
				// FIXME: SJ: temporary version before we fix the problems listed below
123
				LexicalTable lexicalTable = new LexicalTable(partition);
124
				lexicalTable.setParameters((WordProperty) partition.getCorpus().getDefaultProperty(), 20, 200, null);
125
				ca = new CA(lexicalTable);
101
							@Override
102
							public void run() {
103
								MessageDialog d = new MessageDialog(window.getShell(), TXMCoreMessages.error_error2, null, NLS.bind(CAUIMessages.canNotComputeFactorialAnalysisWithOnlyP0PartsTheMinimumIs4Parts, partition.getPartsCount()), 0, new String[] { TXMCoreMessages.common_ok }, 0);
104
								d.open();
105
							}
106
						});
107
						return null;
108
					}
126 109

  
127
				
128
				// FIXME: SJ: new version, creating a, empty LT and an empty CA
129
				// does not work at this time because of some problems in CAEditor (refreshing and components creation + eigenvalues computing)
130
//				ca = new CA(new LexicalTable(partition));
131
			}
132
			else if (selection instanceof PartitionIndex) {
133
				PartitionIndex index = (PartitionIndex) selection;
134
				Property property = index.getProperties().get(0);
135
				
136
				if (index.getPartition().getPartsCount() < 4) {
137
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
138
					MessageBox.error(CAUIMessages.canNotComputeCAOnLexicalTableWithLessThan4Columns);
139
					return null;
110
					// FIXME: old version using dialog box for parameters
111
					// ask property and Fmins and Vmax
112
					//				String title = TXMUIMessages.bind(CAUIMessages.ComputeCorrespondanceAnalysisDialog_0, partition.getName());
113
					//				CAParametersDialog d = new CAParametersDialog(window.getShell(), partition.getParent(), title);
114
					//
115
					//				if (d.open() == MessageDialog.OK) {
116
					//					WordProperty property = d.getProperty();
117
					//					int fMin = d.getFmin();
118
					//					int vMax = d.getMaxLines();
119
					//
120
					//					Log.info(NLS.bind(CAUIMessages.computingCorrespondenceAnalysisOnP0WithPropertyP1, partition, property));
121
					//
122
					//					LexicalTable lexicalTable = new LexicalTable(partition);
123
					//					lexicalTable.setParameters(property, fMin, vMax, null);
124
					//					ca = new CA(lexicalTable);
125
					//				} else { // aborted
126
					//					return null;
127
					//				}
128

  
129
					// FIXME: SJ: temporary version before we fix the problems listed below
130
					lexicalTable = new LexicalTable(partition);
131
					lexicalTable.setParameters((WordProperty) partition.getCorpus().getDefaultProperty(), 20, 200, null);
132
					ca = new CA(lexicalTable);
133

  
134
					// FIXME: SJ: new version, creating a, empty LT and an empty CA
135
					// does not work at this time because of some problems in CAEditor (refreshing and components creation + eigenvalues computing)
136
					//				ca = new CA(new LexicalTable(partition));
140 137
				}
141
				if (index.hasBeenComputedOnce() && index.getAllLines().size() < 4) {
142
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
143
					MessageBox.error(CAUIMessages.canNotComputeCAWithLessThan4RowsInTheTable);
144
					return null;
138
				else if (selection instanceof PartitionIndex) {
139
					PartitionIndex index = (PartitionIndex) selection;
140
					Property property = index.getProperties().get(0);
141
					lexicalTable = new LexicalTable(index);
142
					
143
					if (index.getPartition().getPartsCount() < 4) {
144
						// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
145
						MessageBox.error(CAUIMessages.canNotComputeCAOnLexicalTableWithLessThan4Columns);
146
						return null;
147
					}
148
					if (index.hasBeenComputedOnce() && index.getAllLines().size() < 4) {
149
						// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
150
						MessageBox.error(CAUIMessages.canNotComputeCAWithLessThan4RowsInTheTable);
151
						return null;
152
					}
153

  
154
					Log.info(NLS.bind(CAUIMessages.computingCorrespondenceAnalysisOnP0WithPropertyP1, index, property));
155
					ca = new CA(lexicalTable);
145 156
				}
157
				// Creating from Lexical Table
158
				else if (selection instanceof LexicalTable) {
159
					lexicalTable = (LexicalTable) selection;
160
					Property property = lexicalTable.getProperty();
146 161

  
147
				Log.info(NLS.bind(CAUIMessages.computingCorrespondenceAnalysisOnP0WithPropertyP1, index, property));
148
				ca = new CA(new LexicalTable(index));
149
			}
150
			// Creating from Lexical Table
151
			else if (selection instanceof LexicalTable) {
152
				LexicalTable lexicalTable = (LexicalTable) selection;
153
				Property property = lexicalTable.getProperty();
162
					Log.info(NLS.bind(CAUIMessages.computingCorrespondenceAnalysisOnP0WithPropertyP1, lexicalTable, property));
154 163

  
155
				Log.info(NLS.bind(CAUIMessages.computingCorrespondenceAnalysisOnP0WithPropertyP1, lexicalTable, property));
164
					if (lexicalTable.getNColumns() < 4) {
165
						// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
166
						MessageBox.error(CAUIMessages.canNotComputeCAOnLexicalTableWithLessThan4Columns);
167
						return null;
168
					}
169
					if (lexicalTable.getNRows() < 4) {
170
						// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
171
						MessageBox.error(CAUIMessages.canNotComputeCAWithLessThan4RowsInTheTable);
172
						return null;
173
					}
156 174

  
157
				if (lexicalTable.getNColumns() < 4) {
158
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
159
					MessageBox.error(CAUIMessages.canNotComputeCAOnLexicalTableWithLessThan4Columns);
160
					return null;
175
					ca = new CA(lexicalTable);
161 176
				}
162
				if (lexicalTable.getNRows() < 4) {
163
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
164
					MessageBox.error(CAUIMessages.canNotComputeCAWithLessThan4RowsInTheTable);
165
					return null;
177
				
178
				// show the lexical table only if the command was called from a lexical table
179
				if(!(selection instanceof LexicalTable))	{
180
					lexicalTable.setVisible(false);
166 181
				}
167 182

  
168
				ca = new CA(lexicalTable);
169 183
			}
170
			// Reopening an existing result
171
			else if (selection instanceof CA) {
172
				ca = (CA) selection;
173
			}
174
			else {
175
				Log.severe(CAUIMessages.bind(CAUIMessages.error_cannot_compute_with_selection, selection));
176
				return null;
177
			}
184

  
178 185
			// FIXME: should be done in the CAEditor
179 186
			// compute the CA
180 187
			ca.compute();
tmp/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/DeleteObject.java (revision 1411)
51 51
import org.eclipse.ui.internal.Workbench;
52 52
import org.txm.Toolbox;
53 53
import org.txm.core.engines.EngineType;
54
import org.txm.core.messages.TXMCoreMessages;
54 55
import org.txm.core.results.TXMResult;
55 56
import org.txm.rcp.StatusLine;
56 57
import org.txm.rcp.editors.TXMEditor;
......
266 267
			}
267 268
			Log.info(NLS.bind(TXMUIMessages.deletedColonP0, ((TXMResult) o)));
268 269
			deleted.add(o);
269
		} else {
270
			System.out.println("Cant delete: "+o);
271 270
		}
271
		else {
272
			Log.severe(TXMCoreMessages.bind("Can not delete: {0}.", o));
273
		}
272 274
		
273 275
		return deleted;
274 276
	}
tmp/org.txm.rcp/src/main/java/org/txm/rcp/adapters/TXMResultAdapter.java (revision 1411)
57 57

  
58 58
	@Override
59 59
    public RGB getForeground(Object element) {
60
		// debug/advanced mode
60 61
		if(TBXPreferences.getInstance().getBoolean(TBXPreferences.EXPERT_USER) && element instanceof TXMResult && !((TXMResult)element).hasBeenComputedOnce())	{
61
	    	Display display = Display.getCurrent();
62
	    	Color color = display.getSystemColor(SWT.COLOR_DARK_GRAY);
63
	    	return color.getRGB();
62
			// highlight results that has not yet been computed
63
			Display display = Display.getCurrent();
64
		    Color color = display.getSystemColor(SWT.COLOR_DARK_GRAY);
65
		    return color.getRGB();
64 66
		}
65 67
		// FIXME: DEbug
66 68
//		else if(element instanceof TXMResult && ((TXMResult)element).isDirty())	{
......
74 76

  
75 77
	@Override
76 78
    public RGB getBackground(Object element) {
79
		
80
		// debug/advanced mode
81
		if(TBXPreferences.getInstance().getBoolean(TBXPreferences.EXPERT_USER) && element instanceof TXMResult && !((TXMResult)element).isVisible())	{
82
			// highlight results that are not visible
83
			Display display = Display.getCurrent();
84
		    //Color color = display.getSystemColor(SWT.COLOR_GRAY);
85
			Color color = new Color(display, 240, 240, 240);
86
		    return color.getRGB();
87
		}
88

  
89
		
77 90
		// FIXME: SJ: tests
78 91
//		if(element instanceof TXMResult && ((TXMResult)element).isUserPersistable())	{
79 92
//	    	Display display = Display.getCurrent();
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1411)
668 668
					
669 669
					//if (!update || RCPPreferences.getInstance().getBoolean(RCPPreferences.AUTO_UPDATE_EDITOR)) {
670 670
						if (!TXMEditor.this.getResult().compute(monitor)) {
671
							Log.severe("TXMEditor.compute(): " + TXMEditor.this.getClass().getSimpleName() + ": computing failed.");
671
							Log.finest("TXMEditor.compute(): " + TXMEditor.this.getClass().getSimpleName() + ": computing failed.");
672 672
						}
673 673
					//}
674 674
					notifyExtensions("notifyEndOfCompute"); //$NON-NLS-1$
......
682 682
							try {
683 683
								refresh(update);
684 684
							} catch (Exception e) {
685
								Log.severe("TXMEditor.compute(): " + TXMEditor.this.getClass().getSimpleName() + ": Error while refreshing the editor: " + e); //$NON-NLS-1$
685
								Log.finest("TXMEditor.compute(): " + TXMEditor.this.getClass().getSimpleName() + ": Error while refreshing the editor: " + e); //$NON-NLS-1$
686 686
								Log.printStackTrace(e);
687 687
							}
688 688
						}
......
880 880
				continue;
881 881
			}
882 882

  
883
			Object object = null;
884
			Object value = null;
885
			
883 886
			try {
884 887
				f.setAccessible(true);
885
				Object object = f.get(this);
886
				Object value = this.getResult().getParameter(parameter.key(), true); // propagate to parent one time
888
				object = f.get(this);
889
				value = this.getResult().getParameter(parameter.key(), true); // propagate to parent one time
887 890

  
888 891
				if (value == null) {
889 892
					//System.out.println("Warning: "+this.getPartName()+" result "+this.getResult()+" "+parameter.key()+" is not initialized.");
......
960 963
					}
961 964
				}
962 965
				else	{
963
					f.set(this, value);
966
//					if(object != null)	{
967
						f.set(this, value);
968
	//				}
964 969
				}
965 970

  
966 971
				// FIXME: debug
......
976 981
			}
977 982
			catch (Exception e) {
978 983
				// TODO Auto-generated catch block
979
				e.printStackTrace();
984
				if(object != null)	{
985
					e.printStackTrace();
986
				}
980 987
			}
988

  
981 989
		}
982 990

  
983 991
		// FIXME: Updating the compute button enabled/disabled state
tmp/org.txm.concordance.core/src/org/txm/concordance/core/functions/Concordance.java (revision 1411)
376 376
	public boolean canCompute() {
377 377
		boolean go = true;
378 378
		if(this.getCorpus() == null)	{
379
			System.err.println("Concordance.canCompute(): Corpus is not set.");
379
			Log.finest("Concordance.canCompute(): Corpus is not set.");
380 380
			go = false;
381 381
		}
382 382
		if(pQuery == null || pQuery.isEmpty())	{
383
			System.err.println("Concordance.canCompute(): Query is not set or empty.");
383
			Log.finest("Concordance.canCompute(): Query is not set or empty.");
384 384
			go = false;
385 385
		}
386 386
		return go;
......
835 835
		return queryResult.getMatches();
836 836
	}
837 837

  
838
	@Override
839
	public String getName() {
840
		try {
841
			if (queryResult != null) {
842
				return  this.getCorpus().getName()
843
						+ " " //$NON-NLS-1$
844
						+ queryResult.getQuery().getQueryString();
845
			} else {
846
				return this.getCorpus().getName();
847
			}
848
		}
849
		catch (Exception e) {
850
			return this.getEmptyName();
851
		}
852
	}
853

  
854 838
	/**
855 839
	 * Gets the number of lines.
856 840
	 * 
......
915 899

  
916 900
	@Override
917 901
	public String getSimpleName() {
918
		if (pQuery != null) {
902
		if (pQuery != null && !pQuery.isEmpty()) {
919 903
			return pQuery.toString();
920 904
		}
921 905
		else	{
......
923 907
		}
924 908
	}
925 909

  
910
	@Override
911
	public String getName() {
912
		try {
913
			if (queryResult != null) {
914
				return  this.getCorpus().getName()
915
						+ " " //$NON-NLS-1$
916
						+ queryResult.getQuery().getQueryString();
917
			} else {
918
				return this.getCorpus().getName();
919
			}
920
		}
921
		catch (Exception e) {
922
			return this.getEmptyName();
923
		}
924
	}
925

  
926

  
927
	
926 928
	/**
927 929
	 * Gets the symbol.
928 930
	 *
tmp/org.txm.ahc.rcp/src/org/txm/ahc/rcp/handlers/ComputeAHC.java (revision 1411)
79 79
		if (selection instanceof AHC) {
80 80
			ahc = (AHC) selection;
81 81
		}
82
		// creates from CA
83
		else if (selection instanceof CA) { // the CA is visible only when the selection is a CA
84
			ahc = new AHC((CA) selection);
85
		}
86
		else if (selection instanceof PartitionIndex) {
87
			PartitionIndex index = (PartitionIndex)selection;
88
			CA ca = new CA(new LexicalTable(index));
89
			ca.setVisible(false);
90
			ahc = new AHC(ca);
91
		}
92
		// creates from LexicalTable
93
		else if (selection instanceof LexicalTable) {
94
			LexicalTable lexicaltable = (LexicalTable) selection;
95
			CA ca = new CA(lexicaltable);
96
			ca.setVisible(false);
97
			ahc = new AHC(ca);
98
		}
99
		// creates from Partition
100
		else if (selection instanceof Partition) {
101
			//System.out.println("Compute CAH with Partition : "+((Partition)selection.getFirstElement()).getName());
102
			Partition partition = (Partition)selection;
103
			if (partition.getPartsCount() < 4) {
104
				MessageDialog d = new MessageDialog(window.getShell(), TXMCoreMessages.error_error2, null,
105
						NLS.bind(AHCUIMessages.error_canNotComputeAHCWith, partition.getPartsCount()), 0, new String[] { TXMCoreMessages.common_ok}, 0);
106
				d.open();
107
				return null;
82
		// Creating
83
		else {
84

  
85
			LexicalTable lexicalTable = null;
86
			CA ca = null;
87
			
88
			// Creating from CA
89
			if (selection instanceof CA) {
90
				ca = (CA) selection;
91
				lexicalTable = ca.getLexicalTable();
92
				ahc = new AHC(ca);
108 93
			}
109
			try {
110
				String title = AHCUIMessages.bind(AHCUIMessages.computingClassificationWithP0, partition.getName());
111
				int vMax = CAPreferences.getInstance().getInt(TXMPreferences.V_MAX);
112
				int fMin =  CAPreferences.getInstance().getInt(TXMPreferences.F_MIN);
113
				Shell shell = Display.getCurrent().getActiveShell();
114
				CAParametersDialog d = new CAParametersDialog(shell, partition.getParent(), title);
115
				d.setFminAndVMax(fMin, vMax);
116
				
117
				if (d.open() == Window.OK) {
118
					WordProperty property = d.getProperty();
119
					fMin = d.getFmin();
120
					vMax = d.getMaxLines();
94
			// Creating from Partition Index
95
			else if (selection instanceof PartitionIndex) {
96
				PartitionIndex index = (PartitionIndex)selection;
97
				lexicalTable = new LexicalTable(index);
98
				ca = new CA(lexicalTable);
99
				ahc = new AHC(ca);
100
			}
101
			// Creating from Lexical Table
102
			else if (selection instanceof LexicalTable) {
103
				lexicalTable = (LexicalTable) selection;
104
				ca = new CA(lexicalTable);
105
				ahc = new AHC(ca);
106
			}
107
			// Creating from Partition
108
			else if (selection instanceof Partition) {
109
				Partition partition = (Partition)selection;
110
				if (partition.getPartsCount() < 4) {
111
					MessageDialog d = new MessageDialog(window.getShell(), TXMCoreMessages.error_error2, null,
112
							NLS.bind(AHCUIMessages.error_canNotComputeAHCWith, partition.getPartsCount()), 0, new String[] { TXMCoreMessages.common_ok}, 0);
113
					d.open();
114
					return null;
115
				}
116
				try {
117
					String title = AHCUIMessages.bind(AHCUIMessages.computingClassificationWithP0, partition.getName());
118
					int vMax = CAPreferences.getInstance().getInt(TXMPreferences.V_MAX);
119
					int fMin =  CAPreferences.getInstance().getInt(TXMPreferences.F_MIN);
120
					Shell shell = Display.getCurrent().getActiveShell();
121
					CAParametersDialog d = new CAParametersDialog(shell, partition.getParent(), title);
122
					d.setFminAndVMax(fMin, vMax);
121 123
					
122
					LexicalTable lexicalTable = new LexicalTable(partition); // use the CAPreferencePage Fmin
123
					lexicalTable.setParameters(property, fMin, vMax, null);
124
					CA ca = new CA(lexicalTable);
125
					ca.setVisible(false);
126
					ahc = new AHC(ca);
127
				}
128
				// canceled
129
				else {
124
					if (d.open() == Window.OK) {
125
						WordProperty property = d.getProperty();
126
						fMin = d.getFmin();
127
						vMax = d.getMaxLines();
128
						
129
						lexicalTable = new LexicalTable(partition); // use the CAPreferencePage Fmin
130
						lexicalTable.setParameters(property, fMin, vMax, null);
131
						ca = new CA(lexicalTable);
132
						ahc = new AHC(ca);
133
					}
134
					// canceled
135
					else {
136
						return null;
137
					}
138
				} catch (Exception e) {
139
					Log.severe("Failed to build the lexical table of " + partition + ": " + e);
140
					Log.printStackTrace(e);
130 141
					return null;
131
				}
132
			} catch (Exception e) {
133
				Log.severe("Failed to build the lexical table of " + partition + ": " + e);
134
				Log.printStackTrace(e);
135
				return null;
136
			} 
142
				} 
143
			}
144
			
145
			// show the lexical table only if the command was called from a lexical table
146
			if(!(selection instanceof LexicalTable))	{
147
				lexicalTable.setVisible(false);
148
			}
149
			
150
			// show the CA only if the command was called from a CA
151
			if(!(selection instanceof CA))	{
152
				ca.setVisible(false);
153
			}
154
			
137 155
		}
138

  
156
		
157
		
139 158
		ChartEditor.openEditor(ahc);
140 159
		return null;
141 160
	}
tmp/org.txm.specificities.rcp/src/org/txm/specificities/rcp/handlers/ComputeSpecifities.java (revision 1411)
96 96
				}
97 97
				specificities = new Specificities(lexicalTable);
98 98
				
99
				// show the lexical table only if the command was called from a lexical table
99 100
				if(!(selection instanceof LexicalTable))	{
100 101
					lexicalTable.setVisible(false);
101 102
				}
102

  
103
				//lexicalTable.setVisible(false);
104 103
			}
105
			
106
//			if(!(selection instanceof LexicalTable))	{
107
//				lexicalTable.setVisible(false);
108
//			}
109 104

  
110 105
			TXMEditor.openEditor(specificities, SpecificitiesEditor.ID);
111
//			TXMEditor.openEditor(lexicalTable, LexicalTableEditor.ID);
112 106
			
113 107
		}
114 108
		catch (Exception e) {
tmp/org.txm.specificities.rcp/src/org/txm/specificities/rcp/editors/SpecificitiesSelectionEditor.java (revision 1411)
1 1
package org.txm.specificities.rcp.editors;
2 2

  
3 3
import org.eclipse.swt.SWT;
4
import org.eclipse.swt.layout.GridLayout;
5
import org.eclipse.swt.widgets.Composite;
4 6
import org.eclipse.swt.widgets.Label;
5 7
import org.eclipse.swt.widgets.ToolItem;
6 8
import org.txm.chartsengine.rcp.editors.ChartEditor;
......
53 55
		
54 56
		
55 57
		// Banality
56
        Label label = new Label(this.getExtendedParametersGroup(), SWT.NONE);
57
        label.setText("Banality:");
58
		Composite extendedParametersArea = this.getExtendedParametersGroup();
59
		GridLayout gridLayout = new GridLayout();
60
		gridLayout.numColumns = 2;
61
		extendedParametersArea.setLayout(gridLayout);
58 62
		
59
		banality = new FloatSpinner(this.getExtendedParametersGroup(), SWT.BORDER);
63
		
64
        Label label = new Label(extendedParametersArea, SWT.NONE);
65
        label.setText("Banality");
66
		
67
		banality = new FloatSpinner(extendedParametersArea, SWT.BORDER);
60 68
		banality.setToolTipText("Banality threshold");
61 69
		banality.setMaximumAsFloat(200);
62 70
		banality.addSelectionListener(computeSelectionListener);
tmp/org.txm.specificities.rcp/src/org/txm/specificities/rcp/editors/SpecificitiesEditor.java (revision 1411)
33 33
import org.eclipse.osgi.util.NLS;
34 34
import org.eclipse.swt.SWT;
35 35
import org.eclipse.swt.layout.GridData;
36
import org.eclipse.swt.layout.GridLayout;
36 37
import org.eclipse.swt.widgets.Composite;
37 38
import org.eclipse.swt.widgets.Label;
38 39
import org.eclipse.swt.widgets.ScrollBar;
......
56 57
import org.txm.utils.logger.Log;
57 58

  
58 59
/**
59
 * Displays a table editor with specificities index.
60
 * Displays a table editor with specificities indexes.
60 61
 * 
61 62
 * @author mdecorde
62 63
 * @author sjacquot
......
90 91
	 * Maximum score.
91 92
	 */
92 93
	@Parameter(key=SpecificitiesPreferences.MAX_SCORE)
93
	protected Spinner maxScore;
94
	protected Spinner maxScoreFilter;
94 95

  
95 96
	
96 97
	
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff