MUIElement from wrong Context passed to control [message #1698416] |
Mon, 15 June 2015 12:31  |
Eclipse User |
|
|
|
I have MToolControl and add it using EModelService to specific Toolbar. I use contributionUri to provide presentation class. In this class I expect to be able to obtain MUIElement specific to the place where I put presentation.
Using below code as a MUIElement I receive TrimmedWindowImpl but I should receive MToolControl.
@PostConstruct
public void createGui( Group group, MUIElement el )
Why I receive class which is 2 levels up the hierarchy (trimmed window -> toolbar -> toolbarControl)?
|
|
|
Re: MUIElement from wrong Context passed to control [message #1698462 is a reply to message #1698416] |
Mon, 15 June 2015 19:16   |
Eclipse User |
|
|
|
Hi,
Fixed with the next nightly build should have the fix
https://bugs.eclipse.org/bugs/show_bug.cgi?id=470216.
Tom
On 15.06.15 20:02, Krzysztof Szymanek wrote:
> I have MToolControl and add it using EModelService to specific Toolbar.
> I use contributionUri to provide presentation class. In this class I
> expect to be able to obtain MUIElement specific to the place where I put
> presentation.
>
> Using below code as a MUIElement I receive TrimmedWindowImpl but I
> should receive MToolControl.
>
>
> @PostConstruct
> public void createGui( Group group, MUIElement el )
>
>
> Why I receive class which is 2 levels up the hierarchy (trimmed window
> -> toolbar -> toolbarControl)?
|
|
|
|
Powered by
FUDForum. Page generated in 0.02684 seconds