Révision 341

tmp/org.txm.chartsengine.jfreechart.core/src/org/txm/chartsengine/jfreechart/core/themes/base/JFCTheme.java (revision 341)
129 129
	 * @param preferencesNode
130 130
	 * @param applySeriesStrokes
131 131
	 */
132
	public void applyThemeToChart(JFreeChart chart, Object resultData, String preferencesNode, boolean applySeriesStrokes)	{
132
	public void applyThemeToChart(JFreeChart chart, ITXMResult resultData, String preferencesNode, boolean applySeriesStrokes)	{
133 133
		// FIXME
134 134
	}
135 135

  
......
141 141
	 * @param resultData
142 142
	 * @param preferencesNode
143 143
	 */
144
	public void applyThemeToChart(JFreeChart chart, Object resultData, String preferencesNode)	{
144
	public void applyThemeToChart(JFreeChart chart, ITXMResult resultData, String preferencesNode)	{
145 145
		this.applyThemeToChart(chart, resultData, preferencesNode, false);
146 146
	}
147 147

  
tmp/org.txm.chartsengine.jfreechart.core/src/org/txm/chartsengine/jfreechart/core/preferences/JFCChartsEnginePreferences.java (revision 341)
4 4
import org.eclipse.core.runtime.preferences.DefaultScope;
5 5
import org.osgi.framework.FrameworkUtil;
6 6
import org.osgi.service.prefs.Preferences;
7
import org.txm.chartsengine.core.ChartsEngine;
8 7
import org.txm.chartsengine.jfreechart.core.JFCChartsEngine;
9 8
import org.txm.core.preferences.TXMPreferences;
10 9

  
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/messages/messages.properties (revision 341)
1 1

  
2 2
ChartsEnginePreferencePage_COMBO_FIELD_SELECT_DISPLAY_FORMAT_LABEL = Display format
3 3
ChartsEnginePreferencePage_COMBO_FIELD_SELECT_ENGINE_LABEL         = Current Engine
4
ChartsEnginePreferencePage_COMBO_FIELD_SELECT_EXPORT_FORMAT_LABEL  = Export default format
4
ChartsEnginePreferencePage_COMBO_FIELD_SELECT_EXPORT_FORMAT_LABEL  = Default export format
5 5
ChartsEnginePreferencePage_LOG_RECREATING_CHARTS_ENGINE            = Recreating Charts Engine and SWT chart components provider
6 6
ChartsEnginePreferencePage_PreferencesWillBeAppliedToNewChart      = These preferences will apply to new charts, previously created charts will not be affected.
7 7
ChartsEnginePreferencePage_RenderingColorsMode                     = Rendering colors mode
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/preferences/ChartsEnginePreferencePage.java (revision 341)
89 89
		
90 90
		// export formats
91 91
		ArrayList<String> supportedExportFormats = new ArrayList<String>();
92
		supportedExportFormats.addAll(JFCChartsEngine.getSupportedOutputFileFormatsStatic());
92
		supportedExportFormats.addAll(ChartsEngine.getCurrent().getSupportedOutputFileFormats());
93 93
		
94 94
		// Sort the set
95 95
		TreeSet<String> formatsSet = new TreeSet <String>(supportedExportFormats);
......
101 101
			exportFormats[i][1] = formats[i];
102 102
		}
103 103

  
104
		this.addField(new ComboFieldEditor(ChartsEnginePreferences.DEFAULT_EXPORT_FORMAT, SWTComponentsProviderMessages.ChartsEnginePreferencePage_COMBO_FIELD_SELECT_DISPLAY_FORMAT_LABEL, exportFormats, this.getFieldEditorParent()));
104
		this.addField(new ComboFieldEditor(ChartsEnginePreferences.DEFAULT_EXPORT_FORMAT, SWTComponentsProviderMessages.ChartsEnginePreferencePage_COMBO_FIELD_SELECT_EXPORT_FORMAT_LABEL, exportFormats, this.getFieldEditorParent()));
105 105
	}
106 106
	
107 107
	

Formats disponibles : Unified diff