Try the approaches described in How do I configure proxy settings for Java? and How I can configure proxy for Yed. The former explains how to configure proxies for Java applications in general, the latter requires editing the Info.plist file in the yEd.app directory.