Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » ? Adding items to JST Server Module Context Menu?
? Adding items to JST Server Module Context Menu? [message #198089] Fri, 10 August 2007 15:56 Go to next message
Andrey Sadovykh (SOFTEAM) is currently offline Andrey Sadovykh (SOFTEAM)Friend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I'm implementing a new server type for a BPEL engine and would like to add
some new items to the context menu for the modules (BPEL processes).

Is there any way to add the items to the context menu? Where should I look
in the jst plugins source code for an example?

Many thanks in advance,

Andrey
Re: ? Adding items to JST Server Module Context Menu? [message #198297 is a reply to message #198089] Tue, 14 August 2007 17:05 Go to previous message
Eclipse UserFriend
Originally posted by: sebutkoleth.gmail.com

Andrey Sadovykh wrote:
> Hi,
>
> I'm implementing a new server type for a BPEL engine and would like to
> add some new items to the context menu for the modules (BPEL processes).
>
> Is there any way to add the items to the context menu? Where should I
> look in the jst plugins source code for an example?
>
> Many thanks in advance,
>
> Andrey
>
Andrey,
You can easily add menu items to any view using the existing
org.eclipse.ui.popupMenus extension point.

The only issue will bewhich objectClass to attach the selection to. The
servers in the Servers view are of type
org.eclipse.wst.server.core.IServer. The modules beneath each server are
an internal UI class since there is no module-on-a-server class exposed
in WTP API. You can use
org.eclipse.wst.server.ui.internal.view.servers.ModuleServer . This is
for WTP 1.5. Not sure if WTP 2.0 has made any changes in this.

Sebu
Previous Topic:Europa keeps stopping...
Next Topic:Best practices for "sharing" libs?
Goto Forum:
  


Current Time: Thu Apr 25 17:51:19 GMT 2024

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

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

Back to the top