-
1. Re: icons for custom nodes
forjbpm Feb 13, 2006 11:03 AM (in response to idyuce)Hi!
Could you please tell me steps to follow to create your own custom node...?? or any document which explains this?
Thanks in advance -
2. Re: icons for custom nodes
koen.aers Feb 14, 2006 4:26 AM (in response to idyuce)The examples are in the ui plugin.xml.
You have to implement the 'graphElement' extension point. The 'entry' subelement has the possibility of defining an 'icon' attribute where you simply specify the path to the file where the icon resides.
You should be warned though that these extension points will probably change to offer more flexibility when I will be starting to work on the 3.1 branch of the designer.
Regards,
Koen -
3. Re: icons for custom nodes
idyuce Feb 14, 2006 5:09 AM (in response to idyuce)Thanks Koen,
i added icon attribute to entry subelement and it worked fine. For developers who wanted to define their own custom nodes should look plugin.xml file of gpd plugin and use extension points koen mentioned. but i advice to directly editing plugin.xml of your plugin for extensions. you can copy necessary parts from the original plugin.xml file of gpd.
in addition you have to write necessary ui classes of your custom nodes. i look at the source code of the gpd from CVS repository and plugin.xml file to write my own ui(user interface) custom nodes.