Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Adding context menu items to a module in the server view


Hi Philip, Arthur,

This is regular Eclipse behaviour; no new extension point is required. You can easily add menu items to any view using the existing org.eclipse.ui.popupMenus extension point.

The only issue is what objectClass to hang the selection on. The servers in the Servers view are the expected class: 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 core API. You can use org.eclipse.wst.server.ui.internal.view.servers.ModuleServer for now and we can expose this in 2.0 if there is sufficient demand.

Thanks,
Tim deBoer
WebSphere Tools - IBM Canada Ltd.
(905) 413-3503  (tieline 969)
deboer@xxxxxxxxxx



Arthur Ryman/Toronto/IBM@IBMCA
Sent by: wtp-dev-bounces@xxxxxxxxxxx

01/06/2006 02:06 PM

Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>

To
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
cc
wtp-dev@xxxxxxxxxxx, wtp-dev-bounces@xxxxxxxxxxx
Subject
Re: [wtp-dev] Adding context menu items to a module in the server view






Philip,


Please open a bugzilla enhancement request for this extension point. WTP 1.5 is in shutdown mode now.


Arthur Ryman,
IBM Software Group, Rational Division

blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@xxxxxxx


"Philip Dodds" <philip.dodds@xxxxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

05/31/2006 10:55 AM

Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>

To
wtp-dev@xxxxxxxxxxx
cc
Subject
[wtp-dev] Adding context menu items to a module in the server view







I was wondering if there is anyway in the upcoming WTP 1.5 that would allow adding new right click menu options to the modules appearing under a server?  

Thanks in advance for any help

Philip
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top