Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] "MpartElement add" resets context

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



On Thu, Feb 6, 2020, 9:17 PM Sibgha Nazir <sibgha360@xxxxxxxxx> wrote:
Hi E4 Dev,

I am doing the following to attach my tab back to the window:


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
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top