Skip to main content
Jump to: navigation, search

Difference between revisions of "Tip of the Day/Extending/JSonTipProvider"

(Examples)
(Examples)
Line 5: Line 5:
  
 
=== Examples===
 
=== Examples===
* [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/json Example self contained TipProvider with all data in the Json file]
+
* [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/json Example of self contained TipProvider with all data in the Json file]
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/json/JsonTipProviderPhoton.java The JSON Tip Provider]  
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/json/JsonTipProviderPhoton.java The JSON Tip Provider]  
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/json/provider.json The JSon file with the information] [[Tip of the Day/Extending/JSonTipProvider/Schema|(Schema)]]
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/json/provider.json The JSon file with the information] [[Tip of the Day/Extending/JSonTipProvider/Schema|(Schema)]]

Revision as of 07:07, 3 June 2018

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

Back to the top