Hi,
in my own plugin I open a web services explorer window via the
WSExplorerLauncherCommand class.
Therefore I added the org.eclipse.wst.ws.internal.explorer package to my
plugin dependencies.
My code looks as follows:
WSExplorerLauncherCommand wsec = new WSExplorerLauncherCommand();
LaunchOption lo = new LaunchOption(LaunchOptions.WSDL_URL,location);
wsec.setLaunchOptions(new LaunchOption[]{lo});
wsec.execute();
Now the surprising fact: Everything works fine, so the reason why I'm
bugging you is, that eclipse shows up warnings like "Discouraged access:
The type WSExplorerLauncherCommand is not accessible due to restriction
on required library..."
Since the org.eclipse.wst.ws.internal.explorer package exports those
classes to ohter plugins, I don't understand these warnings.
Is there any better, any correct way to access the mentioned classes? (I
dislike the solution with @SuppressWarnings("restriction"))
Thanks,
Bernd