Hi.

Given the common use case of interacting with a document’s script engine
from outside a JSVGCanvas, I think it would be useful to provide a
method on JSVGComponent to get the Interpreter object for a particular
scripting language.  This’d just be:

  public Interpreter getInterpreter(String type) {
      return bridgeContext.getInterpreter(type);
  }

or so.  It would avoid forcing people to subclass JSVGCanvas to get
access to the BridgeContext.

Thoughts?

Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

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

Reply via email to