How to share a custom palette group

Hi,

we have some in-house made Swing components. We use them in the GUI Designer, so I've added all our components to a new group in the GUI Designer Palette.

Because adding a lot of components is quite time-consuming with the GUI Designer, I would like to share this custom group with the other developers in my team. How can this be accomplished?

regards,
Maarten

3 comments
Comment actions Permalink

Hello Maarten,

we have some in-house made Swing components. We use them in the GUI
Designer, so I've added all our components to a new group in the GUI
Designer Palette.

Because adding a lot of components is quite time-consuming with the
GUI Designer, I would like to share this custom group with the other
developers in my team. How can this be accomplished?


The palette is in fact saved in the .ipr file. If you're sharing the .ipr
through a VCS, the palette group will be shared automatically.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

We don't share the .ipr file because it contains too much user-specific settings (like file paths for instance).

Besides, this would work if everyone works on the same project. But we have several projects using the same custom Swing components. How can I share this custom palette accross several projects?

Maybe there is a way to export/import a custom palette group?

regards,
Maarten

0
Comment actions Permalink

Hello Maarten,

We don't share the .ipr file because it contains too much
user-specific settings (like file paths for instance).


The .ipr file is not actually supposed to contain user-specific settings.
For those few components which do store such settings, you can use path variables
to enable sharing of such settings.

Besides, this would work if everyone works on the same project. But we
have several projects using the same custom Swing components. How can
I share this custom palette accross several projects?

Maybe there is a way to export/import a custom palette group?


The only thing I can suggest is to copy/paste the ]]> XML section
between .ipr files.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.