Re: will there be a persistent store capability, like SystemOptions, but for each project?
Vitezslav Stejskal <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Message-ID | <[email protected]> |
Svata Dedic wrote: > > Correction attempt: you may store settings for anything that you can > generate an unique identifier for :-) > > Is that better ? Yes. The whole truth is that the Context doesn't have to be related to any Configurable, see: org.netbeans.api.projects.settings.Contexts.createContext(cfgManager, "org-your-module-whatever", null); However, above Context will be outside of the settings inheritance hierarchy. People are encouraged to use the Project itself (implements Configurable) as an identifier for project-wide settings, e.g.: org.netbeans.api.projects.settings.Contexts.createContext(theProject, null); The place in nature where you can put defaults for your project-wide settings lies here: Settings/Configurations/<cfg_type>/<cfg>/ProjectSettings -vita