How do I specify an Object Contribution to an Editor Ruler (2nd Post) [message #61200] |
Tue, 03 June 2003 14:02  |
Eclipse User |
|
|
|
I think I may have worded the subject line of my earlier
request for help poorly. Please see original post 'HELP:
trouble getting overrideActionId to work', posted
6/2/2003 for context.
Also, if this belongs elsewhere, my apologies, please let
me know.
I want to override the standard task and bookmark actions
for two specific editors I am contributing. I want to use
the overrideActionId attribute to do that, but I can't see
how to specify an Object Contribution to a ruler and also
how to make it active in my editors only.
thanks,
Campbell
|
|
|
|
Re: How do I specify an Object Contribution to an Editor Ruler (2nd Post) [message #61489 is a reply to message #61273] |
Tue, 03 June 2003 17:51   |
Eclipse User |
|
|
|
Simon,
I'm contributing two new editors that extend TextEditor
(in Java, not using the plugin mechanism). I'm doing more
than just adding actions.
The storage model is very different for example.
Everything else is working well, I need to override the
Add Task and Add Bookmark actions for those editors
because I need to specify the location of the source
text other than by a regular IResource reference.
thanks in advance,
Campbell
"Simon Arsenault" <simon@ibm.oti.lab> wrote in message
news:bbir7l$7b2$1@rogue.oti.com...
> Are you contributing these two editors or are you trying to extend them by
> adding actions?
>
> Simon :-)
>
> "Campbell McCausland" <campbell@projtech.com> wrote in message
> news:bbinlf$3k0$1@rogue.oti.com...
> > I think I may have worded the subject line of my earlier
> > request for help poorly. Please see original post 'HELP:
> > trouble getting overrideActionId to work', posted
> > 6/2/2003 for context.
> >
> > Also, if this belongs elsewhere, my apologies, please let
> > me know.
> >
> > I want to override the standard task and bookmark actions
> > for two specific editors I am contributing. I want to use
> > the overrideActionId attribute to do that, but I can't see
> > how to specify an Object Contribution to a ruler and also
> > how to make it active in my editors only.
> >
> > thanks,
> >
> > Campbell
> >
> >
>
>
|
|
|
Re: How do I specify an Object Contribution to an Editor Ruler (2nd Post) [message #62507 is a reply to message #61489] |
Wed, 04 June 2003 11:43   |
Eclipse User |
|
|
|
Originally posted by: simon.ibm.oti.lab
I'm not too familiar with the TextEditor code, but I'm pretty sure these two
actions are contributed by code by the editor. If you can't find it, open a
problem report against Platform - Text
Simon :-)
"Campbell McCausland" <campbell@projtech.com> wrote in message
news:bbj530$fnr$1@rogue.oti.com...
> Simon,
>
> I'm contributing two new editors that extend TextEditor
> (in Java, not using the plugin mechanism). I'm doing more
> than just adding actions.
>
> The storage model is very different for example.
> Everything else is working well, I need to override the
> Add Task and Add Bookmark actions for those editors
> because I need to specify the location of the source
> text other than by a regular IResource reference.
>
> thanks in advance,
>
> Campbell
>
>
> "Simon Arsenault" <simon@ibm.oti.lab> wrote in message
> news:bbir7l$7b2$1@rogue.oti.com...
> > Are you contributing these two editors or are you trying to extend them
by
> > adding actions?
> >
> > Simon :-)
> >
> > "Campbell McCausland" <campbell@projtech.com> wrote in message
> > news:bbinlf$3k0$1@rogue.oti.com...
> > > I think I may have worded the subject line of my earlier
> > > request for help poorly. Please see original post 'HELP:
> > > trouble getting overrideActionId to work', posted
> > > 6/2/2003 for context.
> > >
> > > Also, if this belongs elsewhere, my apologies, please let
> > > me know.
> > >
> > > I want to override the standard task and bookmark actions
> > > for two specific editors I am contributing. I want to use
> > > the overrideActionId attribute to do that, but I can't see
> > > how to specify an Object Contribution to a ruler and also
> > > how to make it active in my editors only.
> > >
> > > thanks,
> > >
> > > Campbell
> > >
> > >
> >
> >
>
>
|
|
|
Re: How do I specify an Object Contribution to an Editor Ruler (2nd Post) [message #63770 is a reply to message #61200] |
Thu, 05 June 2003 09:09  |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Campbell McCausland wrote:
>I think I may have worded the subject line of my earlier
>request for help poorly. Please see original post 'HELP:
>trouble getting overrideActionId to work', posted
>6/2/2003 for context.
>
>Also, if this belongs elsewhere, my apologies, please let
>me know.
>
>I want to override the standard task and bookmark actions
>for two specific editors I am contributing. I want to use
>the overrideActionId attribute to do that, but I can't see
>how to specify an Object Contribution to a ruler and also
>how to make it active in my editors only.
>
>thanks,
>
>Campbell
>
See AbstractTextEditor.createActions
HTH
Dani
|
|
|
Powered by
FUDForum. Page generated in 0.04506 seconds