Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia | EOL] new grid layout alignment assignment
[EuGENia | EOL] new grid layout alignment assignment [message #483255] Mon, 31 August 2009 18:25 Go to next message
Mihir is currently offline MihirFriend
Messages: 83
Registered: July 2009
Member
Hello,

I'm using grid layout. I want to set horizontal alignment to FILL. how
can I do that in ECore2GMF.eol

I tried doing this but, no luck

CompartmentFigure.layoutData = new GmfGraph!GridLayoutData;
CompartmentFigure.layoutData.horizontalSpan = 2;
CompartmentFigure.layoutData.horizontalAlignment = 'FILL';
--CompartmentFigure.layoutData.horizontalAlignment = GmfGraph!GridData.FILL;
--CompartmentFigure.layoutData.horizontalAlignment =
GmfGraph!Alignment.FILL;

Please help me with this.

Many thanks,
Mihir
Re: [EuGENia | EOL] new grid layout alignment assignment [message #483287 is a reply to message #483255] Mon, 31 August 2009 21:15 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Mihir,

It should be GmfGraph!Alignment#FILL if you're using 0.8.7 (or
GmfGraph!Alignment#FILL.instance if you use 0.8.6 or lower).

Cheers,
Dimitris

Mihir wrote:
>
> Hello,
>
> I'm using grid layout. I want to set horizontal alignment to FILL. how
> can I do that in ECore2GMF.eol
>
> I tried doing this but, no luck
>
> CompartmentFigure.layoutData = new GmfGraph!GridLayoutData;
> CompartmentFigure.layoutData.horizontalSpan = 2;
> CompartmentFigure.layoutData.horizontalAlignment = 'FILL';
> --CompartmentFigure.layoutData.horizontalAlignment =
> GmfGraph!GridData.FILL;
> --CompartmentFigure.layoutData.horizontalAlignment =
> GmfGraph!Alignment.FILL;
>
> Please help me with this.
>
> Many thanks,
> Mihir
{solved} [EuGENia | EOL] new grid layout alignment assignment [message #483519 is a reply to message #483287] Tue, 01 September 2009 20:29 Go to previous message
Mihir is currently offline MihirFriend
Messages: 83
Registered: July 2009
Member
Thanks Dimitris.. it worked.. :)

Mihir



Dimitris Kolovos wrote:
> Hi Mihir,
>
> It should be GmfGraph!Alignment#FILL if you're using 0.8.7 (or
> GmfGraph!Alignment#FILL.instance if you use 0.8.6 or lower).
>
> Cheers,
> Dimitris
>
> Mihir wrote:
>>
>> Hello,
>>
>> I'm using grid layout. I want to set horizontal alignment to FILL. how
>> can I do that in ECore2GMF.eol
>>
>> I tried doing this but, no luck
>>
>> CompartmentFigure.layoutData = new GmfGraph!GridLayoutData;
>> CompartmentFigure.layoutData.horizontalSpan = 2;
>> CompartmentFigure.layoutData.horizontalAlignment = 'FILL';
>> --CompartmentFigure.layoutData.horizontalAlignment =
>> GmfGraph!GridData.FILL;
>> --CompartmentFigure.layoutData.horizontalAlignment =
>> GmfGraph!Alignment.FILL;
>>
>> Please help me with this.
>>
>> Many thanks,
>> Mihir
Re: [EuGENia | EOL] new grid layout alignment assignment [message #579986 is a reply to message #483255] Mon, 31 August 2009 21:15 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Mihir,

It should be GmfGraph!Alignment#FILL if you're using 0.8.7 (or
GmfGraph!Alignment#FILL.instance if you use 0.8.6 or lower).

Cheers,
Dimitris

Mihir wrote:
>
> Hello,
>
> I'm using grid layout. I want to set horizontal alignment to FILL. how
> can I do that in ECore2GMF.eol
>
> I tried doing this but, no luck
>
> CompartmentFigure.layoutData = new GmfGraph!GridLayoutData;
> CompartmentFigure.layoutData.horizontalSpan = 2;
> CompartmentFigure.layoutData.horizontalAlignment = 'FILL';
> --CompartmentFigure.layoutData.horizontalAlignment =
> GmfGraph!GridData.FILL;
> --CompartmentFigure.layoutData.horizontalAlignment =
> GmfGraph!Alignment.FILL;
>
> Please help me with this.
>
> Many thanks,
> Mihir
{solved} [EuGENia | EOL] new grid layout alignment assignment [message #580002 is a reply to message #483287] Tue, 01 September 2009 20:29 Go to previous message
Mihir is currently offline MihirFriend
Messages: 83
Registered: July 2009
Member
Thanks Dimitris.. it worked.. :)

Mihir



Dimitris Kolovos wrote:
> Hi Mihir,
>
> It should be GmfGraph!Alignment#FILL if you're using 0.8.7 (or
> GmfGraph!Alignment#FILL.instance if you use 0.8.6 or lower).
>
> Cheers,
> Dimitris
>
> Mihir wrote:
>>
>> Hello,
>>
>> I'm using grid layout. I want to set horizontal alignment to FILL. how
>> can I do that in ECore2GMF.eol
>>
>> I tried doing this but, no luck
>>
>> CompartmentFigure.layoutData = new GmfGraph!GridLayoutData;
>> CompartmentFigure.layoutData.horizontalSpan = 2;
>> CompartmentFigure.layoutData.horizontalAlignment = 'FILL';
>> --CompartmentFigure.layoutData.horizontalAlignment =
>> GmfGraph!GridData.FILL;
>> --CompartmentFigure.layoutData.horizontalAlignment =
>> GmfGraph!Alignment.FILL;
>>
>> Please help me with this.
>>
>> Many thanks,
>> Mihir
Previous Topic:[EuGENia | EOL] new grid layout alignment assignment
Next Topic:ETL Performance?
Goto Forum:
  


Current Time: Sat Dec 20 11:46:59 GMT 2014

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

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