Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Multiple instances of the same view is saved?
icon5.gif  Multiple instances of the same view is saved? [message #1403618] Thu, 24 July 2014 15:34
i AqD is currently offline i AqDFriend
Messages: 8
Registered: July 2014
Location: Taipei
Junior Member

I have a view which doesn't allow multiple instance and it's opened into the editorss area by default in my perspective. Sometimes when I close/reopen/saveas the perspective (with no code in createInitialLayout, just the config from plugin.xml), the view is saved multiple times in e4xmi file, and after loading the perspective Eclipse shows multiple tabs of the view, but actually there is only one instance and ViewPart.createPartControl is only invoked once - if I close any of the tabs, ViewPart.dispose is triggered and the area insides tab becomes empty.

Is this a bug or is there some special rule about putting view into editor area? Other views in non-editor area never have the problem.
Previous Topic:IResource.getPersistentProperties() returns empty
Next Topic:Eclipse rcp view toolbar buttons shifting lines
Goto Forum:

Current Time: Sat Apr 21 12:00:53 GMT 2018

Powered by FUDForum. Page generated in 0.02005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software