Révision 1937

tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/CAFactorialMapChartEditor.java (revision 1937)
184 184

  
185 185

  
186 186
		// Factors plane selection
187
		new ToolItem(this.chartToolBar, SWT.SEPARATOR);
188
		
187 189
		CLabel factorsLabel = new CLabel(this.chartToolBar, SWT.CENTER);
188 190
		factorsLabel.setText(CAUIMessages.axesColon);
189 191
		this.chartToolBar.addControl(factorsLabel);
......
191 193
		String items[] = { "(1,2)", "(1,3)", "(2,3)" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
192 194

  
193 195
		
196

  
197
		ToolItem renderingComboItem = new ToolItem(this.chartToolBar, SWT.SEPARATOR);
194 198
		
195 199
		final ComboViewer plansComboViewer = new ComboViewer(this.chartToolBar);
196 200
		plansComboViewer.setContentProvider(ArrayContentProvider.getInstance());
197 201
		plansComboViewer.setInput(items);
198
		this.chartToolBar.addControl(plansComboViewer.getCombo());
202
		//this.chartToolBar.addControl(plansComboViewer.getCombo());
199 203
		
204
		renderingComboItem.setControl(plansComboViewer.getControl());
205
		plansComboViewer.getControl().pack();
206
		renderingComboItem.setWidth(plansComboViewer.getControl().getBounds().width);
207
		
208
		
200 209
		// Preselect the plan from the CA data
201 210
		if(this.getIntParameterValue(CAPreferences.FIRST_DIMENSION) == 2)	{
202 211
			plansComboViewer.getCombo().select(2);

Formats disponibles : Unified diff