Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » HELP! got lost! how to launch/refresh view after event
HELP! got lost! how to launch/refresh view after event [message #22311] Tue, 29 April 2003 10:21 Go to next message
Eclipse UserFriend
Originally posted by: anthony.saucet.freesbee.fr

I getting lost. I tried with a previous thread but it doesn't seem to be
clear, I try in other way.
In the perspective I built, I have views that I launch via the Windows >
Show View. I also have actions selected in the menuBar by choosing a
menuItem.
I would like one of the views to be launched after choosing an action in
the MenuBar.
How can I launch the view via this action (org.eclipse.ui.actionSets in
the manifest) ?
How can I refresh it with new info after having clicked on a button ?

Many thx for your help
anthony
Re: HELP! got lost! how to launch/refresh view after event [message #22505 is a reply to message #22311] Tue, 29 April 2003 11:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: simon.ibm.oti.lab

The action you provide using the extension point org.eclipse.ui.actionSets
needs to implement the IWorkbenchWindowActionDelegate (read the doc on this
extension point). Look at the API on this interface, and notice it has a
init method where an IWorkbenchWindow is given. From the workbench window,
you can get access to the active workbench page (can be null). There is a
showView method on the workbench page

Simon :-)

"anthony saucet" <anthony.saucet@freesbee.fr> wrote in message
news:b8m1q4$3jf$1@rogue.oti.com...
> I getting lost. I tried with a previous thread but it doesn't seem to be
> clear, I try in other way.
> In the perspective I built, I have views that I launch via the Windows >
> Show View. I also have actions selected in the menuBar by choosing a
> menuItem.
> I would like one of the views to be launched after choosing an action in
> the MenuBar.
> How can I launch the view via this action (org.eclipse.ui.actionSets in
> the manifest) ?
> How can I refresh it with new info after having clicked on a button ?
>
> Many thx for your help
> anthony
>
Re: HELP! got lost! how to launch/refresh view after event [message #23932 is a reply to message #22505] Wed, 30 April 2003 10:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: anthony.saucet.freesbee.fr

thanks, that works.
The second part of my question was, how to refresh the view after an event
(clicking on an 'enter button'. I think I have to add this method
'addPropertyListener(IPropertyListener listener)', and my view must
implement the IPropertyListener . But how to delete the old info and put
the new ones ?
anthony


Simon Arsenault wrote:

> The action you provide using the extension point org.eclipse.ui.actionSets
> needs to implement the IWorkbenchWindowActionDelegate (read the doc on this
> extension point). Look at the API on this interface, and notice it has a
> init method where an IWorkbenchWindow is given. From the workbench window,
> you can get access to the active workbench page (can be null). There is a
> showView method on the workbench page

> Simon :-)

> "anthony saucet" <anthony.saucet@freesbee.fr> wrote in message
> news:b8m1q4$3jf$1@rogue.oti.com...
> > I getting lost. I tried with a previous thread but it doesn't seem to be
> > clear, I try in other way.
> > In the perspective I built, I have views that I launch via the Windows >
> > Show View. I also have actions selected in the menuBar by choosing a
> > menuItem.
> > I would like one of the views to be launched after choosing an action in
> > the MenuBar.
> > How can I launch the view via this action (org.eclipse.ui.actionSets in
> > the manifest) ?
> > How can I refresh it with new info after having clicked on a button ?
> >
> > Many thx for your help
> > anthony
> >
Re: HELP! got lost! how to launch/refresh view after event [message #24092 is a reply to message #23932] Wed, 30 April 2003 11:28 Go to previous message
Eclipse UserFriend
Originally posted by: simon.ibm.oti.lab

Can you provide more information on what you want to do. What do you mean by
refresh the view? Is there another view in Eclipse that you could point to
that does the same thing (more or less) so we can better understand.

Simon :-)

"anthony saucet" <anthony.saucet@freesbee.fr> wrote in message
news:b8onka$4op$1@rogue.oti.com...
> thanks, that works.
> The second part of my question was, how to refresh the view after an event
> (clicking on an 'enter button'. I think I have to add this method
> 'addPropertyListener(IPropertyListener listener)', and my view must
> implement the IPropertyListener . But how to delete the old info and put
> the new ones ?
> anthony
Previous Topic:Composite feature problem
Next Topic:"Fast View" setting of the "TaskView" view in eclipse 2.1
Goto Forum:
  


Current Time: Fri May 09 14:09:49 EDT 2025

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

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

Back to the top