Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:57 Go to next message
Mahesh Maney is currently offline Mahesh ManeyFriend
Messages: 28
Registered: July 2009
Junior Member
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 05:56]

Report message to a moderator

Re: Retaining view across perspective [message #1409483 is a reply to message #1409480] Mon, 18 August 2014 08:08 Go to previous message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 244
Registered: July 2009
Location: Lünen
Senior Member
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: Thu Apr 25 13:12:18 GMT 2024

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

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

Back to the top