Révision 2384

tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 2384)
1195 1195
		this.setPartName(title);
1196 1196
		// this.firePropertyChange(TXMEditor.PROP_DIRTY);
1197 1197
		
1198
		// MD commented 'if (!update) {...}'
1199
		// SJ need to check all works, it also was dedicated to not refresh the Editor from result after a computing, it's not needed since the computing has been done
1198
		// MD: commented 'if (!update) {...}'
1199
		// SJ: need to check all works fine, it also was dedicated to not refresh the Editor from result after a computing, it's not needed since the computing has been done
1200 1200
		// from fields themselves
1201 1201
		// if (!update) {
1202 1202
		// FIXME: debug
......
1210 1210
		
1211 1211
		// Hide the computing parameter area if the editor wasn't open and the result is computed
1212 1212
		//TODO MD: why was the toolbar hidden ?
1213
		// SJ: need to check all works then remove this code
1213 1214
//		if (!update && !result.isDirty() && !this.topToolBar.isDisposed()) {
1214 1215
//			this.topToolBar.setComputingParametersVisible(false);
1215 1216
//		}
1216 1217
		
1217
		if (!topToolBar.isDisposed()) this.topToolBar.redraw();
1218
		if (!topToolBar.isDisposed()) {
1219
			this.topToolBar.redraw();
1220
		}
1218 1221
		
1219 1222
		CorporaView.refreshObject(this);
1220 1223
		TXMResultDebugView.refreshView();

Formats disponibles : Unified diff