Hi Dan, Thanks for the head's up.. I can see that you've been leveraging prior development.. so I should look for an existing Wicket component that does something similar to what I already want, then extend it..
Looking around, I can't immediately see anything specifically related to "load an image and let me draw on it", but I think RenderedDynamicImageResource might work for me.. Based on the assumption that "all" I want to do initially is load a floor plan image and then draw on it, I can start by hooking into the "render" method. I think I'll start with "and draw on it" first.. I just need to figure out how to add create a new Isis Wicket viewer panel.. Is it true that all I need to do is create a file in "META-INF/services" called: "org.apache.isis.viewer.wicket.ui.ComponentFactory" that lists the full class name of my "CollectionOfEntitiesAsLocatablesFactory" implementation? I'll have a go.. Thanks, Kevin PS: There is a typo in your isis-wicket-gmap3 page, "... entities that have date properties .." I'm sure should be "... have Locatable properties ..." On 20 Feb 2013 at 22:43, Dan Haywood wrote: > On 20 February 2013 19:52, Kevin Meyer wrote: > > > Sticking to the floor plan concept, only certain items are actually on a > > given floor, so the extension would need a way to specify "on map Z @ > > location X,Y" (where Z is approximately equivalent to a single floor in a > > multilevel building). Then have the entities available as interactive > > Pojo's, just as if they were rendered in a list.. > > > > In this case I think you ought to create your own equivalent of Locatable, > with that z axis. You'll then want to have your own implementation of > "appliesTo" in the ComponentFactory for your component (again, see [1], > [2], [3]). It's just a chain-of-responsibility pattern so all quite > straightforward. > > HTH > Dan > > [1] https://github.com/danhaywood/isis-wicket-gmap3 > [2] https://github.com/danhaywood/isis-wicket-wickedcharts > [3] https://github.com/danhaywood/isis-wicket-fullcalendar >
