Page 1 of 1

Hijacking Tip of the Day window for site-specific news

Posted: Thu Sep 21, 2017 11:25 pm
by dcramer
Hi there,

I've got a request to notify users about updates to our framework and tools when they start Oxygen. I was thinking there might be a way to hijack the Tip of the Day box and load it with our own content. I'm not seeing anything in the docs or finding a tell-tale xml file loaded with the tips. Perhaps its loading the tips from a url? Is there something buried in the sdk that would let me take control of that window?

Thanks,
David

Re: Hijacking Tip of the Day window for site-specific news

Posted: Fri Sep 22, 2017 8:47 am
by Radu
Hi David,

If your Oxygen plugins or frameworks are packed and installed by users as add-ons:

http://blog.oxygenxml.com/2017/01/your- ... dd-on.html

In the Oxygen Preferences->"Add-ons" page users can check a checkbox to be notified for add-on updates.
Once you change in the addon XML stored on your internal web site description the add-on version, when Oxygen is started people will start receiving notifications that new updates are available.

About your current idea:
The tip of the day is loaded from an XML document located in the Oxygen main JAR library.
What you could do with a plugin would be to contribute a custom view which might show up when certain updates are checked out by your plugin's code from your server. But I think in this way you would just work a lot to duplicate our add-ons functionality which already works.

Regards,
Radu