The eclipse XML editor plugin has a button to "Reload dependencies". I am writing a Eclipse RCP and I would like to force this procedure to be called in certain cases.
Does anyone knows how to trigger it?
I found a possibly related class:
org.eclipse.wst.xml.ui.internal.handlers.ReloadDependenciesHandler.class
I am not sure to be in the good direction...
Looks good to me... You can try adding the handler ... in your plugin.xml:
to attach it your action bar / menu in your contribution :
Don' forget to add
org.eclipse.wst.xml.ui
as dependencies