Re: About BPMN'layout [message #374791] |
Fri, 15 August 2008 06:21 |
Eclipse User |
|
|
|
Originally posted by: stephenbyc.gmail.com
Antoine Toulme wrote:
> Take a look at PoolPoolCompartmentFigure.
>
> Let me know how it goes!
>
> Thanks,
>
> Antoine
Hi Antoine,
I am so sorry to bother you again. I have looked at
PoolPoolCompartmentFigure and found that its primary responsibility
is not to draw itself but to the lane figure in it. Then, I focus on its
editpart PoolPoolCompartmentEditPart and I find the code below:
FixedOneLineBorder border = new FixedOneLineBorder(
POOLCOMPARTMENTFIGURE_BORDER, 1, PositionConstants.TOP);
I modify orientation of the line to horizontal. But I can't make the
pool name above the line yet. Could you give me more hint.
Thanks,
Stephen
|
|
|
Re: About BPMN'layout [message #374792 is a reply to message #374791] |
Fri, 15 August 2008 14:40 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Stephen wrote:
> Antoine Toulme wrote:
>> Take a look at PoolPoolCompartmentFigure.
>>
>> Let me know how it goes!
>>
>> Thanks,
>>
>> Antoine
>
> Hi Antoine,
> I am so sorry to bother you again. I have looked at
> PoolPoolCompartmentFigure and found that its primary responsibility
> is not to draw itself but to the lane figure in it. Then, I focus on its
> editpart PoolPoolCompartmentEditPart and I find the code below:
>
> FixedOneLineBorder border = new FixedOneLineBorder(
> POOLCOMPARTMENTFIGURE_BORDER, 1, PositionConstants.TOP);
>
> I modify orientation of the line to horizontal. But I can't make the
> pool name above the line yet. Could you give me more hint.
>
> Thanks,
>
> Stephen
Stephen, I guess you should force the pool compartment figure to show
below the name of the pool. That is what we did.
I'm sorry I have no exact idea of where we added code to make that work,
it's been some time I haven't touched that part of the code.
I think an important place to look at it the setupContentPane method of
the PoolEditPart class. If you modify that you should be fine I think.
|
|
|
Re: About BPMN'layout [message #618464 is a reply to message #374791] |
Fri, 15 August 2008 14:40 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Stephen wrote:
> Antoine Toulme wrote:
>> Take a look at PoolPoolCompartmentFigure.
>>
>> Let me know how it goes!
>>
>> Thanks,
>>
>> Antoine
>
> Hi Antoine,
> I am so sorry to bother you again. I have looked at
> PoolPoolCompartmentFigure and found that its primary responsibility
> is not to draw itself but to the lane figure in it. Then, I focus on its
> editpart PoolPoolCompartmentEditPart and I find the code below:
>
> FixedOneLineBorder border = new FixedOneLineBorder(
> POOLCOMPARTMENTFIGURE_BORDER, 1, PositionConstants.TOP);
>
> I modify orientation of the line to horizontal. But I can't make the
> pool name above the line yet. Could you give me more hint.
>
> Thanks,
>
> Stephen
Stephen, I guess you should force the pool compartment figure to show
below the name of the pool. That is what we did.
I'm sorry I have no exact idea of where we added code to make that work,
it's been some time I haven't touched that part of the code.
I think an important place to look at it the setupContentPane method of
the PoolEditPart class. If you modify that you should be fine I think.
|
|
|
Powered by
FUDForum. Page generated in 0.03176 seconds