||Tue, 03 December 2019 11:20
| Yue Yang
Registered: December 2019
Hey guys, I've come across a very scratchy bug.|
The background is that I have developed an Eclipse plugin which listens to file change with org.eclipse.core.resources.IResourceChangeListener and refreshes the org.eclipse.swt.browser.Browser.
I have tried in vain several times googling and fixing the bug, utilizing every API I can think of to distinguish between these two events, including
- IResourceChangeEvent.getType() (their outputs are the same)
- IResourceChangeEvent.getDelta().getFlags() (outputs are the same, too)
- IResourceChangeEvent.getDelta().getMarkerDeltas() (delta length is always 0)
- IResourceChangeEvent.getResource() (get null)
They just can't be differentiated!
Any idea on tackling with the bug elegantly? Your solution is appreciated!
[Updated on: Tue, 03 December 2019 23:43]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02051 seconds