| How to add a new view with a fragment [message #1005156] |
Thu, 24 January 2013 10:08  |
|
I cannot find a tutorial on how to add a new view with a fragment. Is it
right to select org.eclipse.e4.legacy.ide.application as Element Id for
the fragment and children as feature name? What to do next? I get an
exception if I then just want to add a Part ass a child for this fragment.
best regards,
Gilbert
|
|
|
|
|
|
| Re: How to add a new view with a fragment [message #1005395 is a reply to message #1005371] |
Fri, 25 January 2013 03:57   |
|
Ok, it didn't work. I get the exception that a PartStack cannot be added
to a MWindow. In my fragment I used the feature "children" of the
application and added a PartStack and a Part into it. No success
Other ideas?
best regards,
Gilbert
Jan Weidauer wrote:
> Sorry, problems with my mailing program.
>
> What I wanted to say was that in my RCP application I added a part stack
> and took the id of this part stack as element id of the fragment in my
> contribution fragment. There I defined a part and that worked well.
> I think you have to define a container where to put parts in.
>
> Greets,
>
> Jan
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04742 seconds