Révision 1838

tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/CAFactorialMapChartEditor.java (revision 1838)
30 30
import org.txm.rcp.swt.widget.structures.PropertiesComboViewer;
31 31
import org.txm.searchengine.cqp.clientExceptions.CqiClientException;
32 32
import org.txm.searchengine.cqp.corpus.CQPCorpus;
33
import org.txm.utils.logger.Log;
33 34

  
34 35
/**
35 36
 * Correspondence analysis factorial map chart editor.
......
101 102
		super(chartEditorInput);
102 103
	}
103 104

  
105
	
106
	@Override
107
	public void setFocus() {
108
		
109
		//this.getEditorSite().getShell().setActive();
110
		//this.parent.setFocus();
111
		//super.setFocus();
112
		this.parentMultiPagesEditor.setFocus();
113
		// Debug
114
		Log.finest("ChartEditor.setFocus(): giving focus to chart composite..."); //$NON-NLS-1$
104 115

  
116
		this.chartComposite.setFocus();
117
		
118
	}
119
	
120

  
105 121
	@Override
106 122
	public void __createPartControl() {
107 123

  
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/CAEditor.java (revision 1838)
365 365

  
366 366
	@Override
367 367
	public void setFocus()	{
368
		super.setFocus();
368 369
		// Give the focus to the CA factorial map ChartEditor instead of the parent MultiPageEditorPart
369
		editors.get(0).setFocus();
370
		//editors.get(0).setFocus();
370 371
		// FIXME: the problem here is that we need to give the focus to the singular values chart editor when clicking in it
371 372
		//	System.err.println("CaEditor.setFocus(): " + this.getActivePage());
372 373
		//		editors.get(4).setFocus();

Formats disponibles : Unified diff