Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How do I specify an Object Contribution to an Editor Ruler (2nd Post)
How do I specify an Object Contribution to an Editor Ruler (2nd Post) [message #61200] Tue, 03 June 2003 14:02 Go to next message
Eclipse UserFriend
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 #61273 is a reply to message #61200] Tue, 03 June 2003 15:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: simon.ibm.oti.lab

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 #61489 is a reply to message #61273] Tue, 03 June 2003 17:51 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:associate editor for all file extension
Next Topic:Problem with my first update site
Goto Forum:
  


Current Time: Sun May 04 10:24:53 EDT 2025

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

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

Back to the top