Community
Participate
Working Groups
According to the API specification (Javadoc comment) of method StructuredViewer.reveal(...), this method is supposed to ensure that the given element is visible, scrolling the viewer if necessary; the selection is unchanged. However, class AbstractStructuredGraphViewer seems to violate the API contract, as it implements the specified behavior incorrectly. Method AbstractStructuredGraphViewer.reveal(...) highlights the given node and connection, respectively, but does not scroll the viewer if necessary. If the given node / connection to be revealed is not visible, nothing happens. Thus, that object is still not visible after calling AbstractStructuredGraphViewer.reveal(...).
Created attachment 222092 [details] mylyn/context/zip Attached Mylyn context
Fixed for Zest 2.0 in master.