Revision 2640

tmp/org.txm.ahc.rcp/src/org/txm/ahc/rcp/handlers/ComputeAHC.java (revision 2640)
101 101
				
102 102
				// FIXME: SJ: problem here because we need the LT has been computed to make this check
103 103
				if (lexicalTable.hasBeenComputedOnce() && lexicalTable.getNColumns() < 4) {
104
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
104
					// FIXME: SJ: remove this swing code that freeze the UI, need to use SWT in main thread
105 105
					MessageBox.error(AHCCoreMessages.error_canNotComputeAHCOnLexicalTableWithLessThan4Columns);
106 106
					return null;
107 107
				}
108 108
				// FIXME: SJ: problem here because we need the LT has been computed to make this check
109 109
				if (lexicalTable.hasBeenComputedOnce() && lexicalTable.getNRows() < 4) {
110
					// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
110
					// FIXME: SJ: remove this swing code that freeze the UI, need to use SWT in main thread
111 111
					MessageBox.error(AHCCoreMessages.error_canNotComputeAHCWithLessThan4RowsInTheTable);
112 112
					return null;
113 113
				}
......
118 118
				ca.setVisible(false);
119 119
				ahc = new AHC(ca);
120 120
			}
121
			else if (selection instanceof Partition) { // Creating from Partition
121
			// Creating from Partition
122
			else if (selection instanceof Partition) {
122 123
				
123 124
				Partition partition = (Partition) selection;
124 125
				if (partition.getPartsCount() < 4) {
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/handlers/ComputeCA.java (revision 2640)
134 134
					
135 135
					// FIXME: SJ: problem here because we need the LT has been computed to make this check
136 136
					if (lexicalTable.hasBeenComputedOnce() && lexicalTable.getNColumns() < 4) {
137
						// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
137
						// FIXME: SJ: remove this swing code that freeze the UI, need to use SWT in main thread
138 138
						MessageBox.error(CAUIMessages.canNotComputeCAOnLexicalTableWithLessThan4Columns);
139 139
						return null;
140 140
					}
141 141
					// FIXME: SJ: problem here because we need the LT has been computed to make this check
142 142
					if (lexicalTable.hasBeenComputedOnce() && lexicalTable.getNRows() < 4) {
143
						// FIXME: remove this swing code that freeze the UI, need to use SWT in main thread
143
						// FIXME: SJ: remove this swing code that freeze the UI, need to use SWT in main thread
144 144
						MessageBox.error(CAUIMessages.canNotComputeCAWithLessThan4RowsInTheTable);
145 145
						return null;
146 146
					}

Also available in: Unified diff