And if one sets ]]> in project-components, component part of plugin descriptor (plugin.xml) then settings will be stored in workspace file (iws). Writing the plugins I found that workspace is updated more often then project file.
Best regards, Maxim Mossienko IntelliJ Labs / JetBrains Inc. http://www.intellij.com "Develop with pleasure!"
Where are two interfaces: ApplicationComponent and ProjectComponent. You
must also implement JDOMExtenalizable interface.
So, if you use ApplicationComponent + JDOMExtenalizable, then settings put
in application config folder.
If you use ProjectComponent + JDOMExtenalizable, then settings will put into
project or IWS file.
Thanks!
"Dragon" <no_mail@jetbrains.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:20635564.1078802307422.JavaMail.itn@is.intellij.net...
>
"settings Panel"
>
One could look how it is done in other plugins sources, e.g. in FunkySearch http://www.intellij.org/twiki/bin/view/Main/FunkySearch user settings is shown and saved in Configuration class.
thx all!
btw:
If you use ProjectComponent + JDOMExtenalizable, then settings will put into
project .ipr file
"Dragon" <no_mail@jetbrains.com> wrote in message
news:20635564.1078802307422.JavaMail.itn@is.intellij.net...
>
"settings Panel"
>
And if one sets ]]> in project-components, component part of plugin descriptor (plugin.xml) then settings will be stored in workspace file (iws). Writing the plugins I found that workspace is updated more often then project file.
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"