Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » extension point to extend context menu in log interaction view?
extension point to extend context menu in log interaction view? [message #85027] Sun, 08 October 2006 16:56 Go to next message
No real name is currently offline No real nameFriend
Messages: 121
Registered: July 2009
Senior Member
Hi,
I would like to contribute an item the context menu appearing in "UML2
Log Interactions" view when an event is right-clicked.

Does an extension point exist for extending this context menu?

Thanks, chris
Re: extension point to extend context menu in log interaction view? [message #85256 is a reply to message #85027] Fri, 13 October 2006 14:21 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
You can add an object contribution for the events that appear in the log
interaction view:
For example:
<extension

point="org.eclipse.ui.popupMenus">


<!-- The analyze all action -->

<objectContribution

objectClass="org.eclipse.hyades.sd.logc.internal.uml2sd.LogGraphNode "

id=" org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnal yze.AnalyzeAll ">

<action

label="%interaction.action.analyzeAll"

class=" org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnal yze "

id=" org.eclipse.hyades.sd.logc.internal.actions.LogGraphNodeAnal yze.AnalyzeAll "

menubarPath="analyze.group"

icon="icons/full/elcl16/analyze_all.gif">

</action>

</objectContribution>

</extension>

"Chris Giblin" <cgi@zurich.ibm.com> wrote in message
news:egbajf$m0g$1@utils.eclipse.org...
> Hi,
> I would like to contribute an item the context menu appearing in "UML2 Log
> Interactions" view when an event is right-clicked.
>
> Does an extension point exist for extending this context menu?
>
> Thanks, chris
Previous Topic:HyadesRunner times out on isOKToStart
Next Topic:Custom Test Execution (perl) + RAC 4.2 Deployment problem ?
Goto Forum:
  


Current Time: Fri Apr 19 05:52:19 GMT 2024

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

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

Back to the top