Revision 2642

tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/handlers/ComputeCA.java (revision 2642)
109 109
				}
110 110
				else if (selection instanceof PartitionIndex) {
111 111
					PartitionIndex index = (PartitionIndex) selection;
112
					Property property = index.getProperties().get(0);
113 112
					lexicalTable = new LexicalTable(index);
114 113
					
115 114
					if (index.getPartition().getPartsCount() < 4) {
......
124 123
						return null;
125 124
					}
126 125
					
127
					Log.info(NLS.bind(CAUIMessages.computingCorrespondenceAnalysisOnP0WithPropertyP1, index, property));
128 126
					ca = new CA(lexicalTable);
129 127
				}
130 128
				// Creating from Lexical Table
131 129
				else if (selection instanceof LexicalTable) {
132 130
					lexicalTable = (LexicalTable) selection;
133
					Property property = lexicalTable.getProperty();
134 131
					
135 132
					// FIXME: SJ: problem here because we need the LT has been computed to make this check
136 133
					if (lexicalTable.hasBeenComputedOnce() && lexicalTable.getNColumns() < 4) {

Also available in: Unified diff