Skip to main content
Jump to: navigation, search

Tip of the Day/Extending/JSonTipProvider

< Tip of the Day‎ | Extending
Revision as of 10:29, 8 May 2018 by Wim.jongman.remainsoftware.com (Talk | contribs) (Created page with "== JSon Tip Provider == A JSon Tip provider requires a JSon file with information. The TipProvider implementation can be very simple. An accompanying JSon file is dynamically...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JSon Tip Provider

A JSon Tip provider requires a JSon file with information. The TipProvider implementation can be very simple. An accompanying JSon file is dynamically fetched from the internet or it is statically included with your bundle.

In case you pull it from the internet, make sure that you do not waste bandwidth by pulling a file that you already have (use the HTTP HEAD function).

Examples

JSon Schema

Tips can be retrieved from the Eclipse Wiki. The TipProvider may read tip URLs from a page and create Tip objects from a link. Examples in the framework provide tips from the following page:

Back to the top