Revision 2639

tmp/org.txm.ahc.rcp/src/org/txm/ahc/rcp/handlers/ComputeAHC.java (revision 2639)
34 34
import org.eclipse.ui.IWorkbenchWindow;
35 35
import org.eclipse.ui.handlers.HandlerUtil;
36 36
import org.txm.ahc.core.functions.AHC;
37
import org.txm.ahc.core.messages.AHCCoreMessages;
37 38
import org.txm.ahc.rcp.messages.AHCUIMessages;
38 39
import org.txm.ca.core.functions.CA;
39 40
import org.txm.ca.rcp.messages.CAUIMessages;
......
101 102
				// FIXME: SJ: problem here because we need the LT has been computed to make this check
102 103
				if (lexicalTable.hasBeenComputedOnce() && lexicalTable.getNColumns() < 4) {
103 104
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
104
					MessageBox.error(CAUIMessages.canNotComputeCAOnLexicalTableWithLessThan4Columns);
105
					MessageBox.error(AHCCoreMessages.error_canNotComputeAHCOnLexicalTableWithLessThan4Columns);
105 106
					return null;
106 107
				}
107 108
				// FIXME: SJ: problem here because we need the LT has been computed to make this check
108 109
				if (lexicalTable.hasBeenComputedOnce() && lexicalTable.getNRows() < 4) {
109 110
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
110
					MessageBox.error(CAUIMessages.canNotComputeCAWithLessThan4RowsInTheTable);
111
					MessageBox.error(AHCCoreMessages.error_canNotComputeAHCWithLessThan4RowsInTheTable);
111 112
					return null;
112 113
				}
113 114
				
tmp/org.txm.ahc.core/src/org/txm/ahc/core/messages/AHCCoreMessages.java (revision 2639)
32 32
	
33 33
	public static String info_ahcOfTheP0ca;
34 34
	
35
	public static String error_canNotComputeAHCOnLexicalTableWithLessThan4Columns;
35 36
	
37
	public static String error_canNotComputeAHCWithLessThan4RowsInTheTable;
38
	
39
	
40
	
36 41
	static {
37 42
		Utf8NLS.initializeMessages(BUNDLE_NAME, AHCCoreMessages.class);
38 43
	}
tmp/org.txm.ahc.core/src/org/txm/ahc/core/messages/messages.properties (revision 2639)
1
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
1
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)

2 2
#TXM messages generated by the PluginMessagesManager class
3 3
#Tue Dec 18 10:24:08 CET 2018
4 4

  
......
10 10

  
11 11
computingAHC = Computing AHC...
12 12

  
13
error_errorWhileExportingCAHToTXT = ** Error while exporting HCA result.
13
error_canNotComputeAHCOnLexicalTableWithLessThan4Columns = ** Can not compute AHC on lexical table with less than 4 columns in the table
14
error_canNotComputeAHCWithLessThan4RowsInTheTable        = ** Can not compute AHC with less than 4 rows in the table
15
error_errorWhileExportingCAHToTXT                        = ** Error while exporting HCA result.
14 16

  
15 17
info_ahcOfTheP0LexcialTable             = Clustering the {0} lexical table...
16 18
info_ahcOfTheP0PartitionCommaP1Property = Clustering the {0} partition, [{1}] property...
tmp/org.txm.ahc.core/src/org/txm/ahc/core/messages/messages_fr.properties (revision 2639)
6 6

  
7 7
RESULT_TYPE = CAH
8 8

  
9
error_canNotComputeAHCOnLexicalTableWithLessThan4Columns = ** Impossible de calculer la classification avec moins de 4 colonnes dans la table
10

  
11
error_canNotComputeAHCWithLessThan4RowsInTheTable = ** Impossible de calculer la classification avec moins de 4 lignes dans la table
12

  
13

  
9 14
columns = colonnes
10 15

  
11 16
computingAHC = Calcul de la CAH...

Also available in: Unified diff