[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

sowmya wrote:




Hi


After the element is selected and highlighted ,it requires to scroll on the editor to see the highlighted element.On selection and highlighting of the element how could i get the element into the editor display area. Is there any way this could be achieved ?


Hi When an element at bottom of the page is selected by using the XXX.setSelection(XXXEditPart), the element is higlighted but it is somewhere in the bottom of the page and is not in the region of the editor that is shown in front.In this case will have to scroll down to see the higlighted element. Would there be a way by which the element is brought to the display area of the editor.