Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » Re: About BPMN'layout
Re: About BPMN'layout [message #374791] Fri, 15 August 2008 02:21 Go to next message
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 10:40 Go to previous message
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 10:40 Go to previous message
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.
Previous Topic:About BPMN'layout
Next Topic:Re: ganymede with webtools
Goto Forum:
  


Current Time: Fri Aug 29 08:22:36 EDT 2014

Powered by FUDForum. Page generated in 0.01554 seconds