From: Lane S. <la...@op...> - 2003-07-23 17:10:16
|
Marc Palmer wrote: > On Wed, 23 Jul 2003 10:34:21 -0400, Keats <ke...@ea...> wrote: > > Yes! That's exactly what I'm after. Any objections to me doing this? Go ahead. You can expose the new functionality as a context tool wrapper :). -Lane > > >> Then you could write a context-aware function, like: >> >> static public java.util.List listTools(org.webmacro.Context context){ >> return new >> java.util.ArrayList(context.getBroker().getFunctions().keySet()); >> } > > > Well actually I just think we need access to this from Java code. If > we want to wrap it in tools we can - but there is so much more to > providing help (like introspecting beans etc) that I do it all in Java > and expose wrappers. > > Marc |