Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Oriented Architecture Tools Platform (STP) » Re: About BPMN'layout
Re: About BPMN'layout [message #374791] Fri, 15 August 2008 06:21 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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: Wed Apr 24 19:36:39 GMT 2024

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

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

Back to the top