Statistiques
| Révision :

root / tmp / CQP / src / cwbinstaller / CQPPreferences.java @ 407

Historique | Voir | Annoter | Télécharger (538 octet)

1
package cwbinstaller;
2

    
3
import org.eclipse.core.runtime.preferences.DefaultScope;
4
import org.osgi.service.prefs.Preferences;
5
import org.txm.core.preferences.TXMPreferences;
6

    
7
public class CQPPreferences extends TXMPreferences {
8

    
9
        public static final String PREFERENCES_NODE = "cwbinstaller";
10
        
11
        public static final String VERSION = "cwbinstaller.commands.version";
12

    
13
        @Override
14
        public void initializeDefaultPreferences() {
15
                Preferences preferences = DefaultScope.INSTANCE.getNode(PREFERENCES_NODE);
16
                preferences.put(VERSION, "0.0");
17
        }
18
}