I found a few examples on the web but all of them are using a shell and a
display. Within my code Im calling:
'*

final* GridLayout layout = *new* GridLayout(2, *false*);

parent.setLayout(layout);'

Should I change my code to a shell and a display?

Thanks,

Ann.


On Sun, Jun 12, 2011 at 5:37 PM, Ann Smith <[email protected]>wrote:

> yes some thing like multiple child composites. What I want to achieve is to
> show one page at a time, it is a hotel application and when I press the
> 'restaurant' button I want the restaurant page to appear but also I want the
> user to be able to go back to the home page using the 'home' button. So
> multiple child composites would be perfect. Do you know of any examples that
> use this that I could take a look at? or any snippets of code?
>
> Thanks for your help,
> Ann.
>
>   On Sun, Jun 12, 2011 at 12:38 AM, Paul Webster <
> [email protected]> wrote:
>
>>   On Sat, Jun 11, 2011 at 1:00 PM, Ann Smith 
>> <[email protected]>wrote:
>>
>>>
>>> Hi all,
>>>
>>> I am working with eclipse 4.1 and I am trying to make a GUI of multiple
>>> pages. I am using swt and in my code I am using the 'Composite parent'
>>> and it does not have code for a shell or display it just uses:
>>>
>>>
>>
>> Is it that you want a wizard dialog?  Or do you just want something like a
>> org.eclipse.swt.custom.StackLayout.  It allows you to add multiple child
>> composites, but only show one at a time.
>>
>> PW
>>
>>
>> --
>> Paul Webster
>> Hi floor.  Make me a sammich! - GIR
>>
>> _______________________________________________
>> e4-dev mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>
>>
>
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to