Hijacking Tip of the Day window for site-specific news

Are you missing a feature? Request its implementation here.
dcramer
Posts: 163
Joined: Sat Aug 28, 2010 1:23 am

Hijacking Tip of the Day window for site-specific news

Post 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
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply