Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Dont show a view under Windows->Show View
Dont show a view under Windows->Show View [message #483312] Tue, 01 September 2009 00:30 Go to next message
Praveen K Subramanian is currently offline Praveen K SubramanianFriend
Messages: 11
Registered: July 2009
Junior Member
Hi all,

I created a custom eclipse view by contributing to the extension point
"org.eclipse.ui.views". But I dont want the view to appear under
"Windows->Show View->Other". I have a custom perspective and want the view
to appear only when I open that perspective.

Any ideas?
Re: Dont show a view under Windows->Show View [message #483376 is a reply to message #483312] Tue, 01 September 2009 12:08 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If it's your perspective, you use view shortcuts to add the ID of the view to use in your perspective factory (IPageLayout)

PW


Re: Dont show a view under Windows->Show View [message #483492 is a reply to message #483376] Tue, 01 September 2009 17:45 Go to previous messageGo to next message
Praveen K Subramanian is currently offline Praveen K SubramanianFriend
Messages: 11
Registered: July 2009
Junior Member
Let me rephrase my question.

I dont want the View to be listed at all under Window->Show or
Window->Show View->Other.

Can I define a view without the view being listed there?
Re: Dont show a view under Windows->Show View [message #483523 is a reply to message #483492] Tue, 01 September 2009 20:34 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

No, not really. That's just a list as returned by the view registry (which contains the info to open the view at all).

Activities can sometimes hide the view in the Other... dialog, but there's a checkbox then to "show all views".


PW


Re: Dont show a view under Windows->Show View [message #484040 is a reply to message #483523] Fri, 04 September 2009 03:05 Go to previous message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
On Tue, 01 Sep 2009 16:34:29 -0400, Paul Webster wrote:
> Activities can sometimes hide the view in the Other... dialog, but
> there's a checkbox then to "show all views".

Think that only applies to the perspective dialog, no?

Praveen, you can take a look at bug 249451.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249451

Regards,
Remy
Previous Topic:[resources] thread safety - project occassionally programmatically invisible
Next Topic:My own Compare Editor...
Goto Forum:
  


Current Time: Fri Apr 19 16:25:10 GMT 2024

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

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

Back to the top