|Re: connection edit part not hiding [message #244122 is a reply to message #244010]
||Sun, 06 July 2008 11:44
Originally posted by: shady_86.sify.com|
well in the end at last i managed to solve the problem... :)
1. never remove or change the layer or order of the layer from your root edit part or else the gray temporary figures will throw exception.
2. you will have to override the getLayer methods of the AbstractGraphicalEditPart in your connection edit part and your container edit part
3. add a new ConnectionLayer in your container edit part figure and let it be passed by the getLayer, so that the connection edit part will be added to the custom connection layer.
this will solve the problem, similar practice can be done for other layers also.
i feel that <b>GEF should provide some mechanism</b> for the above type of problem..,
Powered by FUDForum
. Page generated in 0.07089 seconds