Hi Thomas,

thanks a lot for your answer!

[EMAIL PROTECTED] wrote:
Hi Daniel,

Daniel Meyer <[EMAIL PROTECTED]> wrote on 03/13/2007 05:12:52 AM:

I'm currently wondering what would be the best approach to the following

problem:

So precisely:
- Is there a way to "shut-down" / "resume" the built-in textselection interactor?

   Not really.
I did what you suggested below, so anyway, this becomes obsolete ;)


- I think I could subclass the built-in selection-manager/ConcreteTextSelector, to solve the problem, how do I register my own TextSelector with my SVGCanvas/JSVGComp?

   The 'textSelectionHandler' is protected access so you can simply
subclass the canvas and replace the default TextSelectionHandler
(there should be a createTextSelectionHandler method which would make
this cleaner but you can just replace it).
that's what I did. So there will be no side effects to this?


Yours,
Daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to