[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: To highlight an element on editor

Hi Tobias,

have a look at the implementations of addFeedback, getFeedbackLayer and getLayer in GraphicalEditPolicy.

I don't really know what you mean by "finding the addFeedBack() method". I think you want to set them highlighted. The appendSelection() on your viewer might also solve this problem for you. If not maybe you can describe that a little bit more and I will try explaining it if I can.
Also I was trying to highlight only specific elements of XXXEditPart, depending on their name. The name (type String) is a label in the element (node) which is refering to an attribute of the class of the element. Do you know how I can access this name?