This is interesting, if the Google Wave Client has been using this same API for managing the blips. Either Google has not published the full API, or Google has not bothered and keep using this "deficient" API??
On Jan 6, 1:57 am, Ian Gough <[email protected]> wrote: > On Sun, Jan 3, 2010 at 7:52 PM, Artiom <[email protected]> wrote: > > Hey guys! > > I'm developing a robot in Java and I can't find a way how can find out > > is blip a reply for another blip or not. > > > I mean if u enumerate children of the root blip like this > > �...@override > > public void processEvents(RobotMessageBundle bundle) { > > Wavelet wavelet = bundle.getWavelet(); > > Blip root= wavelet.getRootBlip(); > > for (Blip blip: root.getChildren()) > > { > > } > > u get all the blips from wavelet. I thought blips which are replies > > (created by reply button) should have that blip as a parent, not root > > one... But it seems like I was wrong > > > Does anyone know a way how can I get the position of blip (which blip > > is above or below the blip)? > > > And I need need to buid a "chains" of replies... Any ideas? > > Its an odd thing. The Google Wave Client shows the blips arranged in a > particular structure and yet the API does not return the same > structure. Instead it flattens the structure of all of the blips > within a wavelet to be children of the root blip. There does not seem > to be any way to extract the anchorBlip for a reply. At first I > thought the API was just returning bad information, but after thinking > about it, it would seem that the API is also deficient. For example, > if you add a reply to the middle of a blip (text above and below the > reply), there is nothing in the API that I can find that tells you > *where* the reply is within that blip.
-- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
