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
by George » Thu May 26, 2011 2:41 am
Hello,
When we make right click in component in designer editor it appear an menu contextual it contains "Rename".I will develop some thing like Rename.so 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
-
George
-
- Posts: 29
- Joined: Wed Apr 06, 2011 4:25 am
by 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
org.eclipse.wb.core.rootProcessors
extension.
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.
-
Konstantin.Scheglov
- Moderator
-
- 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