How is it possible to clone the first window of a pure e4 rcp application?
it is possible to open a new Window easily and define it in the model. But we would like to have a similar action like in Eclipse IDE open new Window. Where you have again all perspectives and Menues available.
MWindow newwindow = (MWindow) modelService.find(ContextConstants.NEW_WINDOW_ID, application);
We tried as well with the clone method but we get a NPE there.
MWindow cloneswindow = (MWindow) modelService.cloneElement(window, application);
Caused by: java.lang.NullPointerException