Problem with Show_View action

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Problem with Show_View action

Postby avier5 » Wed Jun 08, 2005 11:35 pm

Hi all,
I am tring to use the Show_View built-in action in my workbenchAdvisor.
I have added the this action into my main menu and have added the viewes to the view s' list in the pageLayout. The problem is that all the time this action is disabled and when I close a view I can't get it up.

Did I forget something? Example can be very useful...

Thanks to all :D

Avier.
avier5
 
Posts: 41
Joined: Thu Jul 22, 2004 12:12 am

Re: Problem with Show_View action

Postby Eric Clayberg » Thu Jun 09, 2005 3:13 pm

avier5 wrote: I am tring to use the Show_View built-in action in my workbenchAdvisor. I have added the this action into my main menu and have added the viewes to the view s' list in the pageLayout. The problem is that all the time this action is disabled and when I close a view I can't get it up.

Do you mean the org.eclipse.ui.internal.ShowViewAction class? I don't know anything about that class. The fact that it is internal means that you probably shouldn't be using it.

For help with reusing parts of Eclipse, I would suggest posting questions on the Eclipse Platform newsgroup.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest