Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumshow to use IViewActionDelegate?
https://www.eclipse.org/forums/index.php/mv/msg/441073/989068/#msg_989068
i have added a menu item to the variablesview menu by extending the org.eclipse.ui.popupMenus extension point and what im trying to do is that when someone right clicks a variable and clicks my menu item i would parse the variable's value to an Ip format.
i succeded in adding the menu item and responding to a click with the IViewActionDelegate interface, but when someone clicks on my menu item the information given by IAction event is'nt helping with knowing which Object occoured the event or what is the value of the variable.
my question is, if there is a way to locate the variable's value after clicking my menu item? or is there another way of using the interface IViewActionDelegate that i dont know of, or i dont use it correctly?.
but it does'nt solve my problem, i really need help on this subject.
thanks.
]]>ben agai2012-12-04T13:59:56-00:00Re: how to use IViewActionDelegate?
https://www.eclipse.org/forums/index.php/mv/msg/441073/989608/#msg_989608
Hopefully an existing action like org.eclipse.debug.internal.ui.actions.variables.ChangeVariableValueAction will give you an idea to to implement your action.
HTH,
Stephan
]]>Stephan Herrmann2012-12-06T22:45:48-00:00Re: how to use IViewActionDelegate?
https://www.eclipse.org/forums/index.php/mv/msg/441073/994803/#msg_994803
ben agai2012-12-28T10:11:46-00:00