|[wtp-dev] Listening for changes in IVirtualComponent|
I am trying to find a way to add a listener to a IVirtualComponent, so I can catch events when the “context-root” property is changed. Is there any such listener available?
Currently, I am trying to implement this using a IResourceChangeListener that watches for events for the .settings/org.eclipse.wst.common.component file, but I face lots of problems using this technique. So, working directly with the model should be the better approach.
Kaloyan Raev | T +359 2 9157-416
green belt on JavaBlackBelt
Back to the top