Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » which method is called when select "START" from server's context menu?
which method is called when select "START" from server's context menu? [message #228757] Tue, 10 March 2009 21:22 Go to next message
Eclipse UserFriend
Hello all,
I'm trying to fix a WTP's bug and is trying to identify the method that is
triggered when we select "START" from Tomcat server's context menu. If
anyone knows what is the name of that method, please let me know. Thanks
in advance!


Kevin
Re: which method is called when select "START" from server's context menu? [message #228803 is a reply to message #228757] Wed, 11 March 2009 10:52 Go to previous messageGo to next message
Eclipse UserFriend
Kevin Vu wrote:
> Hello all,
> I'm trying to fix a WTP's bug and is trying to identify the method that
> is triggered when we select "START" from Tomcat server's context menu.
> If anyone knows what is the name of that method, please let me know.
> Thanks in advance!
>
>
> Kevin
>

From the "org.eclipse.wst.server.ui.internal.view.servers" package, the
context menu is built by ServersView.initializeActions() using
StartAction objects. I believe StartAction.start() would be appropriate
for "the method that is triggered".

Cheers,
Larry
Re: which method is called when select "START" from server's context menu? [message #228857 is a reply to message #228803] Thu, 12 March 2009 12:37 Go to previous messageGo to next message
Eclipse UserFriend
Larry Isaacs <Larry.Isaacs@sas.com> wrote in news:gp8j7f$lai$1
@build.eclipse.org:

> w

What Larry described is correct as long as you are looking at the 3_0
_maintenance stream (our 3.0.5 stream)

If you are looking at what is in HEAD (our 3.1 stream) then the actions get
build during
org.eclipse.wst.server.ui.internal.cnf.ServersView2.createCo mmonActionGroup
(), and the menu is built by
org.eclipse.wst.server.ui.internal.cnf.ServersView2.fillCont extMenu(Shell,
IMenuManager).

But as Larry mentioned. You probably want to stay within
org.eclipse.wst.server.ui.internal.view.servers.StartAction, the method
that will be triggered at the time of the click is the StartAction.perform
(IServer)
Re: which method is called when select "START" from server's context menu? [message #228873 is a reply to message #228857] Thu, 12 March 2009 23:25 Go to previous message
Eclipse UserFriend
Thanks Larry and Angel for your quick replies :). Your answers are very
helpful.
Previous Topic:Programmatically launching web service explorer
Next Topic:Can't start jboss from Eclipse Ganymede
Goto Forum:
  


Current Time: Wed Jul 23 19:19:54 EDT 2025

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

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

Back to the top