Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Retaining view across perspective(I would like to retain a View (IViewPart) created in one perspective to debug perspective)
Retaining view across perspective [message #1409480] Mon, 18 August 2014 03:57 Go to next message
Eclipse UserFriend
Hi,

I have created a perspective as ABC. One of the view in this perspective is a TELNET view. The TELNET view extends ViewPart. When the view is opened in ABC perspective and I switch to DEBUG perspective, I want the TELNET view to be retained.
Following is the entry in plugin.xml;

<extension
point="org.eclipse.ui.views">
<category
id="com.abc.tde.core.abcCategory"
name="ABC"/>
<view
allowMultiple="true"
category="com.abc.tde.core.abcCategory"
class="com.abc.telnet.client.ui.TelnetView"
icon="icons/telnet.gif"
restorable="false"
id="com.abc.telnet.client.ui.TelnetView"
name="TelnetView"/>
</extension>


On Indigo Eclipse, I added the STICKY VIEW and passed the view ID of the TELNET view, and the view was retained in DEBUG perspective. However, after migrating to KEPLER (Eclipse 4.3.2), the sticky view isn't working.

<extension
point="org.eclipse.ui.views">
<category id="com.abc.tde.core.abcCategory"
name="ABC"/>
<view
allowMultiple="true"
category="com.abc.tde.core.abcCategory"
class="com.abc.telnet.client.ui.TelnetView"
icon="icons/telnet.gif"
restorable="false"
id="com.abc.telnet.client.ui.TelnetView"
name="TelnetView"/>
<stickyView
closeable="true"
id="com.abc.telnet.client.ui.TelnetView"
location="BOTTOM"
moveable="true">
</stickyView>

</extension>

Appreciate, if someone helps me out with this issue.

Regards,
Mahesh Maney R

[Updated on: Tue, 19 August 2014 01:56] by Moderator

Re: Retaining view across perspective [message #1409483 is a reply to message #1409480] Mon, 18 August 2014 04:08 Go to previous message
Eclipse UserFriend
This obviously is no GEF problem, you better ask the Platform UI community.
Previous Topic:Always run a conditional state
Next Topic:why is the swt browser not a full browser, or how to enable stuff?
Goto Forum:
  


Current Time: Wed Jul 02 16:19:19 EDT 2025

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

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

Back to the top