google / depan

DepAn is a direct manipulation tool for visualization, analysis, and refactoring of dependencies in large applications.
http://google.github.io/depan
Apache License 2.0
89 stars 20 forks source link

Graph cache for .dpang files should reset if resource changes #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Graph cache (depan.model.ResourceCache) should monitor the resources
and reset its saved content when they change.

To reproduce:
1) Create a newfile.dpang from the Hello World sample
2) Open the newfile.dpang -> it get loaded into the ResourceCache.
3) close the GraphEditor (still in ResourceCache).
4) In the file system, delete newfile.dpang
5) Create another instance of newfile.dpang using a different sample
6) Open the newfile.dpang
   -> you get the cached version with the Hello World sample.
   == you should get the new graph from newfile.dpang

I suspect that ResourceCache should move into the App layer, and use
Eclipse resource changed listeners to implement this facility.

Original issue reported on code.google.com by le...@google.com on 9 Jun 2008 at 5:30

GoogleCodeExporter commented 9 years ago
Fixed in r19, merged into trunk in r22.

Fix baked into the 24-Sep-08 release.

Original comment by le...@google.com on 25 Sep 2008 at 5:50

GoogleCodeExporter commented 9 years ago

Original comment by le...@google.com on 25 Sep 2008 at 5:52