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
Please sign in to leave a comment.
Found the solution myself: just place a jar containing the custom classes in $INTELLIJHOME/lib.
...which is probably not the best location.
Are there any plans to use project/module classpath?
As we understood the principle, the palette definition is not project-specific and is being parsed BEFORE the actual project is loaded.
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!
Very nice, solved my issue with JSlider.
thx :)
"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:17188251.1074623029777.JavaMail.itn@is.intellij.net...
other.xml (application level)
>
>
http://www.intellij.org/twiki/bin/view/Main/IntelliJUIDesignerGuide#Customizing_component_toolbar
>
>
>