开发者

How can I remember editors when Perspective change

I have two Perspectives and two editor part each.

When preperspective changed to postperspective , the editor opend is closed . then changed again to preperspective , no editor can be recovered.

How can I rememver the Editor Opend , even when changing perspective occured. and 开发者_如何学编程can I recover it again?


This behavior actually contradicts to the Eclipse UI metaphor where editors are shared between perspectives.

So you have to implement your own persistent storage for perpective:editors map. Also look at http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/debug/ui/sourcelookup/CommonSourceNotFoundEditorInput.html#getPersistable()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜