Contextual menu in designer editor

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

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

Contextual menu in designer editor

Postby George » Thu May 26, 2011 2:41 am


When we make right click in component in designer editor it appear an menu contextual it contains "Rename".I will develop some thing like i should create the my class that extends Action.Now I don't have an idea to invoke this new action.what extension point i should to add my action?

Thinks for your help
Posts: 29
Joined: Wed Apr 06, 2011 4:25 am

Re: Contextual menu in designer editor

Postby Konstantin.Scheglov » Thu May 26, 2011 9:12 am

You will need to use broadcast
Code: Select all
org.eclipse.wb.core.model.broadcast.ObjectEventListener.addContextMenu(List<? extends ObjectInfo>, ObjectInfo, IMenuManager)

for this.

You can install broadcast using
Code: Select all

Please note that this forum is shutting down on May 27th. Please post all WB-framework related questions (extension APIs, wbp-compoennt.xml, etc.) to the Eclipse WindowBuilder forum. Bugs or questions about using GWT Designer itself should be posted to the Google GWT group.
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests