Community
Participate
Working Groups
- import JUnit into project as jar file - open type hierarchy on TestCase - outside of Eclipse delete a subclass of TestCase from jar file - in type hierarchy view select TestCase (or the deleted class) and refresh with F5 Observe: for a brief moment the busy cursor appears. However the deleted class does not disappear. - Select the deleted class Observe: the missing icon (red square) appears for the input object of the other pane of the package viewer. BTW: there is no Refresh action in the package viewers context menu. However a busy cursor appears when pressing F5.
1) there should be a refresh action in the context menu when a JAR is selected. 2) when JAR has changed I'd expect that we get a type hierarchy delta. checking with Philippe. If this isn't the case then we have to refresh the hierarchy manually.
You don't get anything beyond a delta for the changed external JAR. Hierarchies should be refreshed then since we did not provide more information in the delta.
Shouldn't the ITypeHiearchyChangedListener be notified in this case? Then this would work for all type hierarchies and not only the ones shown in Views.
Hierarchies should be fine since they already listen for Java element changes. In this case, they will see the JAR delta and react accordingly. On a simple example, it did work fine when refreshing a JAR.
Needs to be tested again.
Adam pls verify
it's fine - but only after you manuall do 'refresh' on the jar back to inbox for closing if that's good enough
Refreshing the Jar is what the user has to do as long as we don't have file system listeners.