Re: Settings

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <1043378570.2851.144.camel@proto>
On Thu, 2003-01-23 at 16:47, Andrew Serff wrote:
> Can someone point me to or tell me how to make a Setting panel for the
> bug list module?  I copied the Settings.java, SettingsBeanInfo.java and
> the Settings.settings files from the usertasks package, and then
> modified it all, but it doesn't seem to work.  I don't see where to you
> tell it what the properties types (string, Boolean) are.  Can anyone
> help me out?  I want to use it to set which bug engine to use and what
> your query string is.

Be sure to check that you got the settings references in mf-layer.xml
and the .settings files as well.

I'm not sure I understand what you mean by "tell it what the properties types
are".   The BeanInfo identifies the properties and which property customizer
to use for each; the Settings file provides the actual persistence of
default values for each setting. Then the rest is up to the module (to
look up the settings values and do the right thing.)

-- Tor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.