Hi Sighba,

I suggest that you debug the IDE to see how we handle it internally. It is
not very difficult (debugging I mean ;)

* Download the latest nightly sdk build
* Go to the plugins view and right-click the bundle that you want to debug
* Import source from repo
* Make a new run config with only this bundle from the workspace
* set breakpoints and run the ide in debug mode

Let me know if you have any questions

Cheers.

Wim

On Thu, Feb 6, 2020, 9:17 PM Sibgha Nazir <[email protected]> wrote:

> Hi E4 Dev,
>
> I am doing the following to attach my tab back to the window:
>
> mPartStack.getChildren().add(mStackElement);
>
>
> Where mStackElement is the detached tab. And mPartStack is the List of main 
> window tabs.
>
>
> It works fine except for one problem. After the line executes, the context 
> value of mStackElement is reset to Anonymous Context. I want to be able to 
> add the mStackElement to mPartStack children without any modification to its 
> context. (mStackElement.getContext()).
>
>
> I have been stuck on this problem for 2 days and havent figured out a way to 
> persist the context. A little hint would be very helpful.
>
>
> Thanks and Best Regards,
>
> Sibgha Nazir
>
> _______________________________________________
> e4-dev mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/e4-dev
_______________________________________________
e4-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/e4-dev

Reply via email to