Hello, i programmed some Objects which can be related to any page. Then i
draw a graph (see an example at
http://jsfiddle.net/7aMBr/3/). I programmed
it as a service which creates a html5-canvas and the javascript for the
drawing (Here a screen
http://s1.directupload.net/file/d/3421/3a4twrov_jpg.htm). Is is done with
{{velocity}}
$services.graph.calculate(640, 320, "Hierarchic")
{{/velocity}}
I defined some type-classes which can predefine the node or edge style, for
example the icon or the arrow layout (here a preview
http://s14.directupload.net/file/d/3421/hxkwe5bs_jpg.htm).
Here now my questions:
1. I use a defined id which uses Space.PageName.NodeLabel (ObjectUUID). This
references the Graph-Elements to others or the types. Everything works fine,
but now i realised that the change of the label in the object forces an
error in the ClassBuilder because all depended elements did't realize the
change. Is there a objectchange listener i can use for every change?
2. I programmed also a remove- and create-method in the ScriptService. As
you can see in one picture i defined a custom menubar. So i want to create a
link which can start a service. Is that possible?
{{velocity}}
$services.graph.removeNode("Main.Test.N2
(94c5fe2d-a92f-413e-ba1d-efc35bb7f84f)")
{{/velocity}}
Regards,
Matthias
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Object-Handling-tp7587724.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.