[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Problem with EditPart and Impl

Hi, I have to hide a node B when I click on oneother node A. In my meta-model A has a reference to B. I install an OpenEditPolicy in A so when I double-click on A I can hide B. From the EditPart A I call "aview = (View)A.getModel()" to obtain the model of A. Now I can get B calling "b = aview.getB()".. The class of b is "BImpl". Now, how can I hide B using this BImpl class? I try to cast as View but I get an error. There is a way to get the EditPart of B starting from the BImpl class?
Thanks