Révision 1757

tmp/org.txm.ca.core/src/org/txm/ca/core/functions/CA.java (revision 1757)
177 177
	protected boolean __compute() throws Exception {
178 178
		
179 179
		try {
180
			if (this.getLexicalTable().getNRows() == 0) {
181
				Log.warning("** Empty Lexical table. Aborting.");
182
				return false;
183
			}
184
			
180 185
			// clear cache
181 186
			this.colnames = null;
182 187
			this.coltitles = null;
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/results/ChartResult.java (revision 1757)
213 213
			//if(this.hasParameterChanged())	{
214 214
				computingState = this.__compute();
215 215
			//}
216
			computingState = this.renderChart();				
216
				if (computingState) {
217
					computingState = this.renderChart();
218
				}
217 219
		}
218 220
		catch (Exception e) {
219 221
			e.printStackTrace();
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/SwingChartComposite.java (revision 1757)
162 162
	
163 163
	@Override
164 164
	public boolean setFocus() {
165
		
165
		if (isDisposed()) return false;
166 166
		// Debug
167 167
		Log.finest("SwingChartComposite.setFocus(): trying to give focus to SWT composite and AWT component..."); //$NON-NLS-1$
168 168
		

Formats disponibles : Unified diff