Révision 311
tmp/org.txm.statsengine.r.core/META-INF/MANIFEST.MF (revision 311) | ||
---|---|---|
3 | 3 |
Bundle-Name: R Statistics Engine Core |
4 | 4 |
Bundle-SymbolicName: org.txm.statsengine.r.core;singleton:=true |
5 | 5 |
Bundle-Version: 1.0.0.qualifier |
6 |
Require-Bundle: org.txm.libs.colt;bundle-version="1.0.0";visibility:=reexport, |
|
6 |
Require-Bundle: org.eclipse.osgi, |
|
7 |
org.txm.libs.colt;bundle-version="1.0.0";visibility:=reexport, |
|
7 | 8 |
org.txm.libs.rserve;bundle-version="0.0.0";visibility:=reexport, |
8 | 9 |
org.txm.statsengine.core;bundle-version="1.0.0";visibility:=reexport, |
9 | 10 |
org.txm.core;bundle-version="0.7.0", |
10 | 11 |
org.eclipse.core.runtime |
11 | 12 |
Bundle-RequiredExecutionEnvironment: JavaSE-1.6 |
12 |
Bundle-ActivationPolicy: lazy |
|
13 | 13 |
Export-Package: org.txm.statsengine.r.core, |
14 | 14 |
org.txm.statsengine.r.core.data, |
15 | 15 |
org.txm.statsengine.r.core.exceptions, |
tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/preferences/RPreferences.java (revision 311) | ||
---|---|---|
18 | 18 |
|
19 | 19 |
// auto populate the preference node qualifier from the current bundle id |
20 | 20 |
public static final String PREFERENCES_NODE = FrameworkUtil.getBundle(RPreferences.class).getSymbolicName(); |
21 |
|
|
22 |
//FIXME: tests |
|
23 |
//public static final String PREFERENCES_NODE = "org.txm.statsengine.r.core"; |
|
21 | 24 |
|
22 | 25 |
|
23 | 26 |
public static final String PREFERENCES_PREFIX = "r_"; //$NON-NLS-1$ |
... | ... | |
69 | 72 |
|
70 | 73 |
@Override |
71 | 74 |
public void initializeDefaultPreferences() { |
75 |
|
|
72 | 76 |
Preferences preferences = DefaultScope.INSTANCE.getNode(PREFERENCES_NODE); |
73 | 77 |
|
74 | 78 |
preferences.putBoolean(IS_MANDATORY, false); |
75 |
preferences.put(PATH_TO_EXECUTABLE, ""); |
|
79 |
preferences.put(PATH_TO_EXECUTABLE, "undefined");
|
|
76 | 80 |
preferences.put(SERVER_ADDRESS, "127.0.0.1"); |
77 | 81 |
preferences.putBoolean(REMOTE, false); |
78 | 82 |
preferences.putBoolean(DISABLE, false); |
Formats disponibles : Unified diff