problems view in gef [message #723122] |
Wed, 07 September 2011 17:29 |
karthick9686@gmail.com Missing name Messages: 41 Registered: July 2011 |
Member |
|
|
I want to display any problems in the model in the problem view. Also when the user clicks on the problem view, it should select the particular EditPart (whose model caused the problem ) example => there should be no nodes in gef editor without any outgoing connnection then if u have an node which does not have any outgoing connections and u perform save action . the editor should display that there is no outgoing connection from the node and when clicked on the error in problems view then it should select the particular EditPart (whose model caused the problem )
|
|
|
|
Re: problems view in gef [message #723880 is a reply to message #723733] |
Fri, 09 September 2011 18:49 |
karthick9686@gmail.com Missing name Messages: 41 Registered: July 2011 |
Member |
|
|
i am able to display the errors in the problems view . but my problem now is when i click the particular error i have to get the model for that particular error . i think i must implement the igotomarker interface. if u have the coding could you please post it . i am writing all my code in the save method of the editor .
your coding can be used only after i get the particular model that caused the errors and passing model as argument to
modelAndEditPartsMap.get(model);
thanks
[Updated on: Fri, 09 September 2011 18:55] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02874 seconds