Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Layout: How to modify TopDownProvider?
Layout: How to modify TopDownProvider? [message #200239] Mon, 04 August 2008 22:40 Go to next message
Eclipse UserFriend
Originally posted by: rolfes.daniel.web.de

Hi,

i am trying to change the Layout of my diagram.
I want to achieve the following result:

--------- ---------
- ----------->- -
--------- ---------
.
.
.
---------
- -
---------

I have two different connection types. If two nodes are connected with
the first type, there should be a top-down behavior. If they are
connected with the second type, there should be a left-right or
right-left behavior.
I tried to modify the TopDownProvider (DefaultProvider) but there is
some fancy stuff going on, involving the GMFDirectedGraphLayout.
Is this the right way to do this? Or does anyone know a better approach?

Thanks,
Daniel
Re: Layout: How to modify TopDownProvider? [message #200788 is a reply to message #200239] Wed, 06 August 2008 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rolfes.daniel.web.de

Hi,
i would be really glad, if you could give me some hints on this one. How
do i start?

D. Rolfes schrieb:
> Hi,
>
> i am trying to change the Layout of my diagram.
> I want to achieve the following result:
>
> --------- ---------
> - ----------->- -
> --------- ---------
> .
> .
> .
> ---------
> - -
> ---------
>
> I have two different connection types. If two nodes are connected with
> the first type, there should be a top-down behavior. If they are
> connected with the second type, there should be a left-right or
> right-left behavior.
> I tried to modify the TopDownProvider (DefaultProvider) but there is
> some fancy stuff going on, involving the GMFDirectedGraphLayout.
> Is this the right way to do this? Or does anyone know a better approach?
>
> Thanks,
> Daniel
Re: Layout: How to modify TopDownProvider? [message #200805 is a reply to message #200788] Wed, 06 August 2008 12:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rolfes.daniel.web.de

Hi,
i should probably add that the user should be able to layout the
diagramm manually. The described behavior should be invoked by the
Arrange-all-button.

Thanks,
Daniel

D. Rolfes schrieb:
> Hi,
> i would be really glad, if you could give me some hints on this one. How
> do i start?
>
> D. Rolfes schrieb:
>> Hi,
>>
>> i am trying to change the Layout of my diagram.
>> I want to achieve the following result:
>>
>> --------- ---------
>> - ----------->- -
>> --------- ---------
>> .
>> .
>> .
>> ---------
>> - -
>> ---------
>>
>> I have two different connection types. If two nodes are connected with
>> the first type, there should be a top-down behavior. If they are
>> connected with the second type, there should be a left-right or
>> right-left behavior.
>> I tried to modify the TopDownProvider (DefaultProvider) but there is
>> some fancy stuff going on, involving the GMFDirectedGraphLayout.
>> Is this the right way to do this? Or does anyone know a better approach?
>>
>> Thanks,
>> Daniel
Re: Layout: How to modify TopDownProvider? [message #201259 is a reply to message #200805] Fri, 08 August 2008 17:38 Go to previous message
Eclipse UserFriend
Originally posted by: rolfes.daniel.web.de

Hi,

any help would be greatly appreciated!

Thanks,
Daniel


D. Rolfes schrieb:
> Hi,
> i should probably add that the user should be able to layout the
> diagramm manually. The described behavior should be invoked by the
> Arrange-all-button.
>
> Thanks,
> Daniel
>
> D. Rolfes schrieb:
>> Hi,
>> i would be really glad, if you could give me some hints on this one.
>> How do i start?
>>
>> D. Rolfes schrieb:
>>> Hi,
>>>
>>> i am trying to change the Layout of my diagram.
>>> I want to achieve the following result:
>>>
>>> --------- ---------
>>> - ----------->- -
>>> --------- ---------
>>> .
>>> .
>>> .
>>> ---------
>>> - -
>>> ---------
>>>
>>> I have two different connection types. If two nodes are connected
>>> with the first type, there should be a top-down behavior. If they are
>>> connected with the second type, there should be a left-right or
>>> right-left behavior.
>>> I tried to modify the TopDownProvider (DefaultProvider) but there is
>>> some fancy stuff going on, involving the GMFDirectedGraphLayout.
>>> Is this the right way to do this? Or does anyone know a better approach?
>>>
>>> Thanks,
>>> Daniel
Previous Topic:how to swap positions of two nodes handled by XYLayout?
Next Topic:Translate Text's of the menus/tooltips etc
Goto Forum:
  


Current Time: Thu Apr 25 23:25:24 GMT 2024

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

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

Back to the top