|
|
Re: Adding Custom Action to generated DiagramActionBarContributor..? [message #158319 is a reply to message #158274] |
Mon, 05 November 2007 08:50  |
Eclipse User |
|
|
|
Originally posted by: biju_gopinathan.rediffmail.com
Hi Ed Merks,
Thanks for your reply,
I was looking on how to add , context specific custom
actions to generated editors, I got the solution , which is to use the
following extension point.
Thanks, Biju
____________________________________________________________ ____________
<extension
point = "org.eclipse.ui.editorActions">
<editorContribution
id="org.eclipse.ui.examples.readmetool.ec1"
targetID="PlanningEditor">
<action id="com.ints.scopeye.client.actions.RunAction"
label="Run"
toolbarPath="ReadmeEditor"
icon="icons/alt_window_16.gif"
tooltip="run"
class="com.ints.scopeye.client.actions.PlanningEditorRunAction "
definitionId="com.ints.scopeye.client.actions.RunAction"
/>
</editorContribution>
</extension>
Ed Merks wrote:
> Biju,
>
> Is your question a general one about how best to hand modify generated
> code so that it can still be generated without losing the changes you
> have added or is there something more specific you are trying to figure
> out?
>
>
> biju wrote:
>> Hi All,
>>
>>
>> How can we add custom actions to the generated
>> XXXDiagramActionBarContributor class.
>>
>>
>> Thanks for any Ideas, Biju
|
|
|
Powered by
FUDForum. Page generated in 0.03081 seconds