Révision 201
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/ChartsEngine.java (revision 201) | ||
---|---|---|
8 | 8 |
import org.eclipse.core.runtime.CoreException; |
9 | 9 |
import org.eclipse.core.runtime.IConfigurationElement; |
10 | 10 |
import org.eclipse.core.runtime.Platform; |
11 |
import org.txm.Toolbox; |
|
11 | 12 |
import org.txm.chartsengine.core.messages.ChartsEngineCoreMessages; |
12 | 13 |
import org.txm.chartsengine.core.preferences.ChartsEnginePreferences; |
13 | 14 |
import org.txm.core.preferences.TXMPreferences; |
14 |
import org.txm.utils.BundleUtils; |
|
15 | 15 |
import org.txm.utils.logger.Log; |
16 | 16 |
|
17 | 17 |
|
... | ... | |
372 | 372 |
public File createTmpFile(String prefix) { |
373 | 373 |
File file = null; |
374 | 374 |
try { |
375 |
File resultsDir = new File(BundleUtils.getBundleLocation("org.txm.chartengine.core"), "results"); //$NON-NLS-1$
|
|
375 |
File resultsDir = new File(Toolbox.getParam(Toolbox.USER_TXM_HOME), "results"); //$NON-NLS-1$
|
|
376 | 376 |
resultsDir.mkdirs(); |
377 | 377 |
file = File.createTempFile(prefix, "." + this.outputFormat, resultsDir); |
378 | 378 |
} |
Formats disponibles : Unified diff