It's all about the answers!

Ask a question

Domain object context menus

alan kemp (6185) | asked Mar 17 '11, 4:55 p.m.
is it possible to add a popup context menu to an expandableSection? using the code example for a Mew Jazz Artifact Type .. how can I add a popup context menu item to Tasks where I could create a new Task? if it is an objectContribution then what is the objectClass? thanks.

2 answers

permanent link
alan kemp (6185) | answered Mar 22 '11, 9:08 a.m.
reiterating the problem: i want to add a context menu to a Domain object in the Team Artifacts view which is using the documented teamArtifactsNavigatorDomain extension point. obviously it is possible and probably simple to do.

permanent link
alan kemp (6185) | answered Mar 24 '11, 3:25 p.m.
ok this can be done by extending the Domain object and returning true for supportsCategory() named "Project Areas Category" .. then it will appear under the project menu. not quite what I intended but good enough.

Your answer

Register or to post your answer.