UI Designer : about uiDesigner.Palette.xml

Hi, I tried to add a new component in this file.
I tried but it didn't work :
I finaly found the reason : this file can be found in the uiDesigner.jar
in the plugin directory, but in the build 833 it's still in idea.jar and
only the file in idea.jar is read by Idea.
When I added my component (a JDesktopPane) in the idea.jar's
uiDesigner.Palette.xml it worked fine (after restarting Idea of course).
So do not make the same mistake as I did (:

2 comments
Comment actions Permalink

Matthieu Casanova wrote:

Hi, I tried to add a new component in this file.
I tried but it didn't work :
I finaly found the reason : this file can be found in the uiDesigner.jar
in the plugin directory, but in the build 833 it's still in idea.jar and
only the file in idea.jar is read by Idea.
When I added my component (a JDesktopPane) in the idea.jar's
uiDesigner.Palette.xml it worked fine (after restarting Idea of course).
So do not make the same mistake as I did (:


Strange I added a JSplitPane and Idea found the kind of object it was,
with a separation in the middle (and some labels on left and right part)
The labels are "Bouton Gauche" and "Bouton Droit" (it means in english
"Left Button" and "Right Button").
I don't know how Idea did that (maybe they already prepared most
components, but why those arent' in the palette ?), but it's very cool (:

0
Comment actions Permalink

Hello!

Actually, uiDesigner.Palette.xml is not intended for manual editing, but at
this time it's the only way to add custom components.
Sure we'll provide a correct way to add components to palette in the nearest
future.

The fact that the file is in idea.jar is a bug, and we'll fix it.

--
Best regards,
Anton Katilin
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

"Matthieu Casanova" <hoyo@free.Fr> wrote in message
news:bcvm08$cet$1@is.intellij.net...

Hi, I tried to add a new component in this file.
I tried but it didn't work :
I finaly found the reason : this file can be found in the uiDesigner.jar
in the plugin directory, but in the build 833 it's still in idea.jar and
only the file in idea.jar is read by Idea.
When I added my component (a JDesktopPane) in the idea.jar's
uiDesigner.Palette.xml it worked fine (after restarting Idea of course).
So do not make the same mistake as I did (:

>


0

Please sign in to leave a comment.