Where to place classes for custom UI Designer palettes?

Where must classes for use in custom palettes be placed? After the definition of a custom palette and an IDEA restart, I get

java.lang.IllegalArgumentException: class not found: myRadioButton

5 comments
Comment actions Permalink

Found the solution myself: just place a jar containing the custom classes in $INTELLIJHOME/lib.

0
Comment actions Permalink

...which is probably not the best location.
Are there any plans to use project/module classpath?

0
Comment actions Permalink

As we understood the principle, the palette definition is not project-specific and is being parsed BEFORE the actual project is loaded.

0
Comment actions Permalink

BTW, palette settings in UIDesigner saved by PropertesComponent in other.xml (application level)

I've have update UIDesignerGuide for palettes, take a look:
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Customizing_component_toolbar

Thanks!

0
Comment actions Permalink

Very nice, solved my issue with JSlider.

thx :)

"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:17188251.1074623029777.JavaMail.itn@is.intellij.net...

BTW, palette settings in UIDesigner saved by PropertesComponent in

other.xml (application level)
>

I've have update UIDesignerGuide for palettes, take a look:

>
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Customizing_component_toolbar
>

Thanks!

>
>


0

Please sign in to leave a comment.