return null;
}
// In certain cases, the activator would have stopped and the plugin may
// no longer be available. Usually onl happens on shutdown.
CloudFoundryPlugin plugin = CloudFoundryPlugin.getDefault();
if (plugin != null) {
IProxyService proxyService = plugin.getProxyService();
// Only set proxies IF proxies are enabled (i.e a user has selected
// MANUAL provider configuration in network preferences. If it is
// direct,
// then skip proxy settings.