Révision 2061

tmp/org.txm.progression.rcp/src/org/txm/progression/rcp/chartsengine/events/ProgressionEventCallBack.java (revision 2061)
271 271

  
272 272
					updateLinkedConcordanceEditor(linkedEditor2, selectedPointPositions, true);
273 273
					
274
					// give back the focus to the chart editor and chart composite
274 275
					chartEditor.getComposite().getDisplay().asyncExec(new Runnable() {
275 276
						@Override
276 277
						public void run() {
......
305 306
	public void updateLinkedConcordanceEditor(final ConcordanceEditor linkedEditor, final ArrayList<Integer> selectedPointPositions, boolean loadLines)	{
306 307
		
307 308
		final TableViewer tableViewer = linkedEditor.getLineTableViewer();
309
		
310
		if(tableViewer.getTable().isDisposed())	{
311
			return;
312
		}
313
		
308 314
		if(selectedPointPositions.size() > 0)	{
309 315

  
310 316
			// Get the index of the last selected point in concordance according to the global token position and concordance sorting order
......
464 470
				
465 471
				IWorkbenchPage attachedPage = linkedEditor.getEditorSite().getPage();
466 472
				attachedPage.activate(linkedEditor);
473
				
467 474
			}
468 475
		}
469 476
		catch(Exception e) {

Formats disponibles : Unified diff