Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsmodifying the look of an activity
https://www.eclipse.org/forums/index.php/mv/msg/462/1142/#msg_1142
i'm creating a diagram using the bpmn modeler.
Because of my domain specific usage i need to decorate the bpmn object
before displaying them.
how can i do that before the generateView() call.
Best Regards ,
Dali.]]>faroun2008-09-30T09:38:59-00:00Re: modifying the look of an activity
https://www.eclipse.org/forums/index.php/mv/msg/462/1169/#msg_1169
> Hi Everybody ,
>
> i'm creating a diagram using the bpmn modeler.
> Because of my domain specific usage i need to decorate the bpmn object
> before displaying them.
> how can i do that before the generateView() call.
>
> Best Regards ,
>
> Dali.
>
>
Hi
in my case i need just to make some basic decoration (background color,..)
before displaying my object.
Best Regards ,
Dali]]>faroun2008-09-30T10:17:45-00:00Re: modifying the look of an activity
https://www.eclipse.org/forums/index.php/mv/msg/462/1220/#msg_1220
Originally posted by: atoulme.intalio.com
Dali, if you "just" need to do that, then you can go and provide your
own edit parts:
The sample provides a different background color for text annotations.
You can do the same thing for an activity.
Thanks,
Antoine
Dali wrote:
> Hi till ,
>
> the problem with this issue is that i need to create an annotation
> before i can decorate my bpmn object.
>
> in my case i need just to make some basic decoration (background
> color,..) before displaying my object.
>
> Best Regards ,
>
> Dali]]>2008-09-30T11:05:39-00:00Re: modifying the look of an activity
https://www.eclipse.org/forums/index.php/mv/msg/462/1270/#msg_1270
The issue seems good but is it possible to apply decoration for specific
type of activity not for all the activity .
Best Regards ,
Dali.]]>faroun2008-10-01T09:03:05-00:00Re: modifying the look of an activity
https://www.eclipse.org/forums/index.php/mv/msg/462/1292/#msg_1292
Originally posted by: atoulme.intalio.com
Why, yes, of course, you just need to do something like:
graphics.fillGradient(toFill, false);
}
/** END OF CODE THAT CUSTOMIZES THE LOOK AND FEEL **/
}
Once you have the edit part you can do whatever you want with it.
Thanks,
Antoine
Dali wrote:
> Hi Antoine ,
>
> The issue seems good but is it possible to apply decoration for specific
> type of activity not for all the activity .
>
> Best Regards ,
>
> Dali.
>]]>2008-10-01T10:14:25-00:00Re: modifying the look of an activity
https://www.eclipse.org/forums/index.php/mv/msg/462/1312/#msg_1312
can u tell me please when is performed the call to the
BpmnEditPartProvider (is it on the generateView() call ?) .
i'm getting no modification on the look and feel of my objects.
Best Regards ,
Dali]]>faroun2008-10-02T14:26:30-00:00Re: modifying the look of an activity
https://www.eclipse.org/forums/index.php/mv/msg/462/1845/#msg_1845
Originally posted by: atoulme.intalio.com
Dali, please look in the plugin.xml file of the example.
faroun wrote:
> Hi Antoine ,
>
> can u tell me please when is performed the call to the
> BpmnEditPartProvider (is it on the generateView() call ?) .
> i'm getting no modification on the look and feel of my objects.
>
> Best Regards ,
>
> Dali
>]]>2008-10-02T15:26:28-00:00