[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 Artur,
thank you very much again. Now also the readling of the attributes works. I used the getModel() & getElement() methods to get the data. Only the casts had first to (NodeImpl) and later to (XXXImpl) - but was no problem and now it works very well.


With the selection it worked perfect, but I wanted a method to highlight elements without selection. The aim was to develop a search function to finds all elements, that fullfill a certain condition. The highlighting of all found Elements should stay even if I move one Element. Now I could also manage that, I got the Feedbacklayer directly from the LayerManager of the Rooteditor. The addFeedback-method I can than use on the Feebacklayer to draw the highlighting.

Thanks again.

Tobias