How to pick an Icon in a CustomTask [message #1841091] |
Mon, 03 May 2021 16:26  |
Eclipse User |
|
|
|
Hello,
I want to extend the BPMN2 Modeler with uBPMN.
I started with the BPMN2-Modeler/DeveloperTutorials (Extending the BPMN2 Runtime, Extending the Model, Creating a Custom Task, Creating a Custom Shape) but in the last tutorial Creating a Custom Shape the Code Examples arent complete. So I looked it up in the GitHub repository https://github.com/rsoika/bpmn2-tutorial. But even with this code I couldn't manage to select a custom Icon for my Custom Tasks.
In the Extension Element Details tab is an icon field but selecting a .png isn't possible. If I try so it just appears a red box at the position where the Icon should be.

Therefore what do I have to do to select icons in this field, or is there an easier way to select icons for custom tasks?
Iam running the latest Eclipse and BPMN2 Modeler Version.
Thanks in advance.
|
|
|
|
Re: How to pick an Icon in a CustomTask [message #1841961 is a reply to message #1841100] |
Fri, 04 June 2021 13:09   |
Eclipse User |
|
|
|
Thank you for the Help last time, it worked perfecly.
But now I have encountered a different problem, that i couldn't fix myself. After saving a BPMN Model with my Custom Elements and restarting Eclipse, the icons are no longer displayed in the Model.
Do anyone knows this Problem and can offer a solution?
Thanks in advance!
|
|
|
Re: How to pick an Icon in a CustomTask [message #1843617 is a reply to message #1841961] |
Tue, 10 August 2021 21:42  |
Eclipse User |
|
|
|
Sorry for the late reply. Did you yet solved it?
Often this happened because of a wrong packaging in your eclipse plugin during development (with changing image names). Also try to cleanup your test workspace when you start the plugin from your Eclipse IDE for testing.
|
|
|
Powered by
FUDForum. Page generated in 0.04665 seconds