Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Put a Flag in elements of the BPMN
Put a Flag in elements of the BPMN [message #1053858] Tue, 07 May 2013 22:15 Go to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Hello! First I wanted to clarify that I'm not very good at English so I use Google Translator to translate this topic.
My question is whether there is the possibility, using plug-ins to place a flag in some of the elements of bpmn and add extra information elements containing this flag.
The example I gain CustomTask the case because it creates a different task to the other, and the idea is that this flag does not alter the basis of the elements that already exist in the palette, but this flag can be incorporated or it also can be removed.
Is this possible?
It would be a lot of work? I'm no expert in programming and less on development of plug-ins, only some basic things in java programming, but if possible to create a plugin with these features, I will endeavor!
In advance thank you very much Smile
Re: Put a Flag in elements of the BPMN [message #1053863 is a reply to message #1053858] Wed, 08 May 2013 00:14 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hi and welcome to the forum!

As a first step, you should probably become familiar with how to create an eclipse plug-in. There are many resources available on the web but if you get stuck, please feel free to post your questions here.

A good place to start is with some of the example plug-ins. There is also a screencast of how to create a custom task here:
http://eclipse.org/bpmn2-modeler/videos/CustomTask-Example-part1.htm

Hope this helps.
Bob
Re: Put a Flag in elements of the BPMN [message #1053871 is a reply to message #1053863] Wed, 08 May 2013 03:22 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Thanks Robert for your answer, your willingness and welcome!
That example I've made ​​several times to understand what it does and how. The difference is that this example creates a new type of task, a custom one, I want to add to some of the elements that already exist, ideally a mark on the top of the icon show a brand, and adds that the element could also be removed.
By this I mean that could be either an ordinary task, as it could also be a task or a data user input. I mean that the brand should be an addition to the ones already used in the diagram and can be combined with some of elements represented by images.
My question is whether it would be possible, as I read in a previous topic that does not exist an API for BPMN and not what atachar the item without having to create one for task, one for data and so on.
It cost me a bit of myself understood, but I hope that the time spent answering not in vain.
Thank you very much!
Re: Put a Flag in elements of the BPMN [message #1056397 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Are you talking about adding "decorators" to a task shape, something like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/92284c2c-80d7-4003-94a2-6951660eea0e/2013-05-08_0536.png

or adding custom images to a task shape, like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/8af77e16-39f0-4f20-b219-22bdcd4a84d0/2013-05-08_0534.png
Re: Put a Flag in elements of the BPMN [message #1056398 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Are you talking about adding "decorators" to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/92284c2c-80d7-4003-94a2-6951660eea0e/2013-05-08_0536.png

or adding custom images to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/8af77e16-39f0-4f20-b219-22bdcd4a84d0/2013-05-08_0534.png
Re: Put a Flag in elements of the BPMN [message #1056399 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Are you talking about adding "decorators" to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/92284c2c-80d7-4003-94a2-6951660eea0e/2013-05-08_0536.png

or adding custom images to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/8af77e16-39f0-4f20-b219-22bdcd4a84d0/2013-05-08_0534.png
Re: Put a Flag in elements of the BPMN [message #1056472 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Are you talking about adding "decorators" to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/92284c2c-80d7-4003-94a2-6951660eea0e/2013-05-08_0536.png

or adding custom images to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/8af77e16-39f0-4f20-b219-22bdcd4a84d0/2013-05-08_0534.png
Re: Put a Flag in elements of the BPMN [message #1056489 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Are you talking about adding "decorators" to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/92284c2c-80d7-4003-94a2-6951660eea0e/2013-05-08_0536.png

or adding custom images to a shape like this?

http://content.screencast.com/users/rbrodt/folders/Jing/media/8af77e16-39f0-4f20-b219-22bdcd4a84d0/2013-05-08_0534.png
Re: Put a Flag in elements of the BPMN [message #1056572 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1056573 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056574 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056575 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056667 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1056668 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056669 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056670 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056671 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056763 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1056764 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056765 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056766 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056767 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056861 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1056862 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056863 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056864 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056865 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056962 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1056963 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056964 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056965 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1056966 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057065 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1057066 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057067 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057068 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057069 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057170 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1057171 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057172 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057173 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057174 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057274 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1057275 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057276 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057277 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057278 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057379 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1057380 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057381 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057382 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057383 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057485 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1057486 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057487 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057488 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057489 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057597 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1057598 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057599 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057600 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057601 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057705 is a reply to message #1053871] Wed, 08 May 2013 11:37 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a task shape, something like this?



or adding custom images to a task shape, like this?
Re: Put a Flag in elements of the BPMN [message #1057706 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057707 is a reply to message #1053871] Wed, 08 May 2013 11:39 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057708 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057709 is a reply to message #1053871] Wed, 08 May 2013 11:41 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 61
Registered: July 2009
Member
Are you talking about adding "decorators" to a shape like this?



or adding custom images to a shape like this?
Re: Put a Flag in elements of the BPMN [message #1057815 is a reply to message #1056489] Thu, 09 May 2013 03:05 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Is more like the first
Re: Put a Flag in elements of the BPMN [message #1057816 is a reply to message #1056489] Thu, 09 May 2013 03:05 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
It's more like the first thing I say.
Look, suppose someone has this diagram:
http://i44.tinypic.com/289lle1.jpg

And the idea is that the plug-in allows to incorporate a brand to get something like this:
http://i42.tinypic.com/96yquc.jpg

And that is also manageable and can delete and create other brands as shown here:
http://i42.tinypic.com/5lo4u9.jpg

That's why it would not be as convenient to create "custom elements" so to speak. In addition to the brand, you should be able to add parameters in addition to those who already have these elements. In the case of the task, in addition to its name add additional parameters that can be modified from properties.
That is what you want to do in the first instance.
Thank you very much for reading Smile
Re: Put a Flag in elements of the BPMN [message #1057938 is a reply to message #1057816] Thu, 09 May 2013 21:31 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

This is a big enhancement request. What is the use case for this feature?
Re: Put a Flag in elements of the BPMN [message #1057945 is a reply to message #1057938] Fri, 10 May 2013 01:17 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
This is for a university research Smile

That is why I wanted to know an opinion on whether it is possible to create a plug-in for this

I was thinking that the plug-in should be targeted to the different elements right?
Do not create one for all elements, but one for tasks, one for datas, one for messages and so on.
I say this because in the first instance had thought about making one for the whole set of items, but I think it will be more complex and there are actually some differences between what extra data must carry each.
Now you understand a little more the idea of ​​plug-in I want to generate?


Greetings and thank you very much!!!

[Updated on: Fri, 10 May 2013 01:27]

Report message to a moderator

Re: Put a Flag in elements of the BPMN [message #1058008 is a reply to message #1057945] Fri, 10 May 2013 13:24 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

It's possible...anything is possible Wink but it's going to take some work.

The first thing you'll have to do in your extension plugin is create an extension model; this model does not necessarily have to define all of the model features (classes, attributes and references) that your plugin will create - extension model objects can be defined on-the-fly. That said, it is a good idea to define these features anyway because your model will probably be used by other systems outside of the editor and this is a good place to define this metadata.

Next you must provide a the <featureContainer> extension and create your own FeatureContainer classes for each of the BPMN2 elements that need this new "flag" capability. Note that this could be the same FeatureContainer class for all of the elements. Your FeatureContainer will need to provide its own AddFeature, and override decorateShape() to add the flag icon to the Shape. Your FeatureContainer will also want to override getCustomFeatures() so that you can provide graphiti Features to handle adding and removing of the flag icons using the button pad (this is the pop-up button grouping that appears when you mouse over a Shape).

Next you will have to provide your own <propertyTab> extensions for all of the BPMN2 elements, and add editing widgets for all of the element extension attributes. The BPMN2 Modeler code base already has several styles of editing widgets for different attribute types - see the ObjectEditor abstract base class and its subclasses for examples.

I think a lot of what you want to do is already being done in the example plugins. See the SampleCustomTaskFeatureContainer class for an example of how to implement decorateShape() in an AddFeature. Don't be fooled by the fact that this is a CustomTaskFeatureContainer - it simply provides a level of indirection for FeatureContainer so that it can be used generically.

Depending on how you want to extend the BPMN2 elements (either with attributes defined in your own namespace, or as elements in a <bpmn2:extensionElements> container) you can add and remove model extensions using the ModelUtil utility class methods addAnyAttribute() and addExtensionAttributeValue().


I have created a screencast that demonstrates the entire process, here:

http://eclipse.org/bpmn2-modeler/videos/CustomTask-Example-part1.htm

Have fun!
Bob
Re: Put a Flag in elements of the BPMN [message #1058755 is a reply to message #1058008] Tue, 14 May 2013 22:25 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Thank you! thank you very much!
I've been out a bit, but now I go flat in what is developing plug-in.
Your instructions are very clear, so I'll take them out immediately.

In realación to screncast accompanying me, I followed above, step by step and several times, and I can not see the activity that has been created, it is added to the model because the numbering of the tasks when I drag one CustomTask jumps, but I can not view it in the model.

I'll try again and I'll comment on my results.
Thank you very much again for the help Smile
Re: Put a Flag in elements of the BPMN [message #1058995 is a reply to message #1053858] Thu, 16 May 2013 07:31 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Hi Bob!
As I said before, try again with the screencast you recommended. I did, but I had problems, mainly I can not see the business that I created, that if the diagram recognizes that there is a task that has been added (I know the numbers that follow when dragging elements) but not shown. It's not the first time that happens to me, in fact I could never make it look the work of the many times I've tried from scratch. I think they'll at least seven attempts. The only difference between the screencast and I will not use the repositories that open at first because throw errors. Influences that???
Here you can see that the project starts
Here I create the diagram
The task is displayed in the palette
And dragging a CustomTask and after that, two Task happens
And again with one of each

I've done sooooo many times the project, I reinstalled BPMN2 and EMF and complements and no change.

Another thing that happens is that when I try to relaunch the project after closing it I get:

DocumentRoot id = "unknown": Feature 'definitions' not found. (Platform :/ resource/test-custom-task/tes/process_1.bpmn, 2, 394)

And on the screen shows me the following:
Failed to create the part's controls

org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
	at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1081)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:362)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:138)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:313)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:92)
	at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:422)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:389)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:606)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:332)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1029)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3047)
	at org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)
	at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2902)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
	at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Bpmn file generated is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL-XMI" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI-XMI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC-XMI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI-XMI" id="Definitions_1" targetNamespace="http://org.eclipse.bpmn2.modeler.examples.customtask">
  <bpmn2:process id="process_1" name="Default Process">
    <bpmn2:startEvent id="StartEvent_1">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="StartEvent_1" targetRef="EndEvent_1"/>
    <bpmn2:endEvent id="EndEvent_1">
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:task id="Task_2" name="Task 2"/>
    <bpmn2:task id="Task_3" name="Task 3"/>
    <bpmn2:task id="Task_5" name="Task 5"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
      <bpmndi:BPMNShape id="BPMNShape_1" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="100.0" y="100.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_2" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="500.0" y="100.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="BPMNShape_1" targetElement="BPMNShape_2">
        <di:waypoint xsi:type="dc:Point" x="136.0" y="118.0"/>
        <di:waypoint xsi:type="dc:Point" x="500.0" y="118.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="BPMNShape_Task_1" bpmnElement="Task_2">
        <dc:Bounds height="50.0" width="110.0" x="225.0" y="175.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_2" bpmnElement="Task_3">
        <dc:Bounds height="50.0" width="110.0" x="255.0" y="275.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_3" bpmnElement="Task_5">
        <dc:Bounds height="50.0" width="110.0" x="355.0" y="435.0"/>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>

I hope the enclosed text is not garbage and serve only to get a response to guide me a bit in identifying what I'm doing wrong. I could not move because of this ...

Sorry Bob ... take away so long
and thanks in advance!
PS: I mention again that translate through Google Translator: S
Re: Put a Flag in elements of the BPMN [message #1059050 is a reply to message #1058995] Thu, 16 May 2013 12:34 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

In order for the "Custom Task" extension to work, the code needs to be able to differentiate between it and a regular bpmn2 element of the same type, otherwise there is no reason for having a "custom task". This is accomplished by having some kind of extension attribute on the element. That's what the "type" attribute is used for in the example.

I don't see any extension attributes on the <task> elements in your generated bpmn file, so there's something missing there.

Also, you need to define your own EMF model because extension features are created dynamically by the editor within this model. They can NOT be created on the BPMN2 model because it is cached and the additional features would interfere with other editors that use the BPMN2 model.

I know this stuff is not easy! There are a lot of moving parts and it is difficult for me to figure out exactly where the problem is just from a description of the symptoms. If possible, can you push your project to a github repository so I can have a closer look?

Bob

P.S. What is your native language that you are translating with Google Translator? If I know the grammar rules for the origin language, reading these posts would make a lot more sense. For example, I'm sure the phrase "take away so long" makes a lot more sense in your language than it does in English Wink
Re: Put a Flag in elements of the BPMN [message #1059099 is a reply to message #1059050] Thu, 16 May 2013 17:04 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Thank you very much for the prompt reply.
At the end of the message I meant: "My apologies Bob, for take your time"
And again I apologize, I understand some English but I can't properly generate the messages, I had not noticed the bad translation of gtranslator. My native language is Spanish.

I've created the repository on GitHub.
I should mention that I have done is IDENTICAL to screencast posted, I think what I should prove that everything is working properly before starting the project mentioned in the topic. Perhaps I should have created a separate issue for not complicate the reading of this thread, my apologies again.
In summary:
Why my CustomTaskExample don't run? If I do the screencast step by step, this is kidding me? XD
This is the link for the project in GitHub
I use eclipse Juno, I install the last stable bpmn2 from the new url site and use Windows7.
Thanks a lot!
Re: Put a Flag in elements of the BPMN [message #1059124 is a reply to message #1059099] Thu, 16 May 2013 20:46 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

First and most importantly, don't apologize for anything! I know that this stuff is difficult, and I'm here to help Smile
I will take a look at the code you uploaded to github, and let you know what I find.

Regards,
Bob
Re: Put a Flag in elements of the BPMN [message #1059152 is a reply to message #1059124] Fri, 17 May 2013 02:33 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
I will look to the forum! Smile
Thank you!
Re: Put a Flag in elements of the BPMN [message #1059400 is a reply to message #1059152] Sat, 18 May 2013 00:24 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Add I've tried the screencast example in linux and I have the same problem, show the icon in the palette but do not drag the activity to the model.

[Updated on: Sat, 18 May 2013 00:24]

Report message to a moderator

Re: Put a Flag in elements of the BPMN [message #1060296 is a reply to message #1059400] Fri, 24 May 2013 01:37 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Bob! I have news!!!
I downloaded from github the source code of BPMN2. In the files I found the source code of the CustomTask example. I imported and run the code in eclipse... and guess?
The example work perfectly!
So... I suppose the problem is not from versions of eclipse I used.
Could be lack a step at the screencast? (I don't sure if this question is understood, GTranslate ¬¬)
Now I can help to find the error comparing the codes! And I can continue with my work... making a little bit more!
I await!
Thanks!

[Updated on: Fri, 24 May 2013 01:37]

Report message to a moderator

Re: Put a Flag in elements of the BPMN [message #1060393 is a reply to message #1060296] Fri, 24 May 2013 12:57 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 703
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hmm, it's possible that I left something out in the screencast. I'll take another look at it and see if there is a step missing.

Have fun! Smile
Bob
Re: Put a Flag in elements of the BPMN [message #1061238 is a reply to message #1060393] Thu, 30 May 2013 16:56 Go to previous messageGo to next message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Please skip this post
Quote:
I have requested that the project covers from the BPMN diagram to the web application. Then I searched and I found two options: Bonita Open Solution, and JBPM. Both work with eclipse to create the diagram, but BOS has little documentation, however jBPM has much more.
And I wanted to ask: If I create a plug-in for eclipse, could be included in jBPM? or should develop early on jBPM?
Maybe I'm out of focus ...

regards

[Updated on: Wed, 03 July 2013 05:25]

Report message to a moderator

Re: Put a Flag in elements of the BPMN [message #1066540 is a reply to message #1053858] Wed, 03 July 2013 05:24 Go to previous message
reg bas is currently offline reg basFriend
Messages: 19
Registered: May 2013
Junior Member
Bob, I apologize for any inconvenience, but i have a doubt...
I try modify the resize in the class MyTaskFeatureContainer but i cant. I can add the flag in the add method of the AddCustomTaskFeature class, but when i resize the element in the diagram the flag is out of the right upper corner, this appear in the midle of the elemento or it disappears.
I try to understand but the only thing what I find is the method getResizeFeature of MyTaskFeatureContainer, but this can't modify the flag position, because it not have the IAddContext than the others methods of the AddCustomTaskFeature class, for take the image y put it in the upper right corner.

Could you give me a clue?

I sorry, but I think I'm really lost.
Previous Topic:Lane dimensions
Next Topic:Subprocess reuse
Goto Forum:
  


Current Time: Thu Jul 30 06:11:55 GMT 2015

Powered by FUDForum. Page generated in 0.20030 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software