4 comments

Implement a Configurable and a Configuration
Register them in the plugin.xml and voila.

Look at some simple plugins @ www.intellij.org or plugins.intellij.net like the toString that has only one configuration dialog.

Jacques

0

You must have implementation of Configurable as Jacques said, and also
ProjectComponent if you like to Project Settings, ApplicationComponent for
IDE Settings.

Thanks!

"tdc108" <no_mail@jetbrains.com> wrote in message
news:16714522.1070880269531.JavaMail.javamailuser@localhost...

subj, plz.



0

On Tue, 09 Dec 2003 12:10:53 +0300, Alexey Efimov wrote:

You must have implementation of Configurable as Jacques said, and also
ProjectComponent if you like to Project Settings, ApplicationComponent for
IDE Settings.


When I did this on the weekend for my plugin, I also had to implement
JDomSerializable and implement the serialize/deserialize methods, unless I
missed some base class that handles that for me.

0

It not requires if you have configuration bean separated from Configurable
Component.
For example you may have special component:


But you save your settings in special bean:


Thanks!

"Mark Derricutt" <mark@talios.com> wrote in message
news:pan.2003.12.09.10.22.29.315179@talios.com...

On Tue, 09 Dec 2003 12:10:53 +0300, Alexey Efimov wrote:

>

You must have implementation of Configurable as Jacques said, and also
ProjectComponent if you like to Project Settings, ApplicationComponent

for

IDE Settings.

>

When I did this on the weekend for my plugin, I also had to implement
JDomSerializable and implement the serialize/deserialize methods, unless I
missed some base class that handles that for me.



0

Please sign in to leave a comment.