java - Eclipse RCP 3.x plugin doesn't work correct with Eclipse 4.x -


i have eclipse plugin has been written under eclisep 3.7 rcp. eclipse 3.x works fine, when tried use plugin in eclipse 4.x (juno or kepler), noticed custom view extends org.eclipse.ui.part.viewpart beeing duplicated every switch of perspective (clarification: evry switch perspective wasn't opened yet)

consider if current perspective 'java', view opened once (what desired), switch workspace 'debug' - view beeing duplicated, annother perspective - view opened 3 times, etc...

eclipse console shows no errors or else. tried migrate plugin adding of plugins according http://www.vogella.com/articles/eclipse4migrationguide/article.html (chapter 1.3) seems still doesn't work correct.

could give me tip went wrong or problem in case?

if migrate kepler have add org.eclipse.e4.ui.model.workbench dependecies , add addon in application model (see table).

in eclipse e4, don't need extend viewpart anymore because of dependency injection. self tryed migration realised adaption better, importantly understand differences between e3 , e4. if tutorial understand , able change code work.


Comments