[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [bpel-dev] How to change the default behavior of LeafBorder.paint()
|
Hello, Michael,
thank you for your answer.
I still have a question about creating an extension point in bpel.ui.
I have defined an extension point with name "customvisual" in plugin.xml of bpel.ui
I have added following codes in org.eclipse.bpel.ui.editpart.border.LeafBorder to create an instance of the extension.
protected void getExtensionLeafBorder() {
instance = null;
instance = (LeafBorder) BPELUIRegistry.readCustomvisual("extension.leafborder");
if (instance == null) {
return ;
}
}
This instance is used in paint(IFigure figure, Graphics graphics, Insets insets)
to adjust the visualization of the activity nodes.
My question is: is there a way to avoid modifying the source code of org.eclipse.bpel.ui.editpart.border.LeafBorder? Because the hardcoding is always bad.
thanks!
Zhen and Ting
2009/10/12 Michael Illiger2
<MILLIGER@xxxxxxxxxx>
Hello Ting,
as of today we don't have the possibility
to adjust the visualization of the activity nodes using extension points.
So the answer is, yes - you would have
to define an extension point in bpel.ui.
Mit freundlichen Grüßen / Kind regards
Michael Illiger
Software Developer - BPEL Editor
/ WID
IBM Software Group, Application
and Integration Middleware Software
WSS Business Process Solutions
Development 1
|
|
Phone:
| +49-7031-16-1273
| IBM Deutschland
|
|
E-Mail:
| milliger@xxxxxxxxxx
| Schoenaicher Str. 220
|
|
| 71032 Boeblingen
|
|
| Germany
|
|
|
IBM Deutschland Research
& Development GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Erich Baier
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart,
HRB 243294 |
Hallo,
I am trying to wirte an extension to change the default behavior of org.eclipse.bpel.ui.editparts.borders.LeafBorder,
for example, the shape of the elements border. By default it is Rectangle
and I want to change it into circle.
Is there an extension point, which i can use to implement it?
Or I have to define an extension point in org.eclipse.bpel.ui?
any answer is appreciate
--
Best Regards
Mit Freundlichen Grüßen
祝
商祺
Ting Wang
"The bane of my existence is doing things
that I know the computer could do for me"
-- Dan Connolly_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev