//TODO replace with NbPreferences.forModule()
protected final Preferences getPreferences(boolean allowGrouped) {
        if (allowGrouped) {
            Group act = Group.getActiveGroup();
            if (act != null) {
                //TODO replace with NbPreferences.forModule()
                return act.prefs().node(OpenProjectListSettings.class.getPackage().getName().replace(".", "/"));
            }   
        }
        return NbPreferences.forModule(OpenProjectListSettings.class);
    }
Group act = Group.getActiveGroup();
if (act != null) {
//TODO replace with NbPreferences.forModule()
return act.prefs().node(OpenProjectListSettings.class.getPackage().getName().replace(".", "/"));
}
protected final Preferences getPreferences(boolean allowGrouped) {
if (allowGrouped) {
Group act = Group.getActiveGroup();
if (act != null) {
//TODO replace with NbPreferences.forModule()
return act.prefs().node(OpenProjectListSettings.class.getPackage().getName().replace(".", "/"));
}
}
return NbPreferences.forModule(OpenProjectListSettings.class);
}
protected final Preferences getPreferences(boolean allowGrouped) {
if (allowGrouped) {
Group act = Group.getActiveGroup();
if (act != null) {
//TODO replace with NbPreferences.forModule()
return act.prefs().node(OpenProjectListSettings.class.getPackage().getName().replace(".", "/"));
}
}
return NbPreferences.forModule(OpenProjectListSettings.class);
}