Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Tip of the Day/Extending"
(→Extending the Tips Framework) |
(→Extending the Tips Framework) |
||
Line 3: | Line 3: | ||
* Create one or more tip providers that extend TipProvider | * Create one or more tip providers that extend TipProvider | ||
− | * In the | + | * In the ''load'' method, pass a list of Tip objects to the setTips(List<Tip>) method |
* [[Tip of the Day/Extending/JSonTipProvider|a JSon Tip Provider]] | * [[Tip of the Day/Extending/JSonTipProvider|a JSon Tip Provider]] | ||
* [[Tip of the Day/Extending/JavaTipProvider|a Java Tip Provider]] | * [[Tip of the Day/Extending/JavaTipProvider|a Java Tip Provider]] |
Revision as of 03:30, 28 May 2018
Extending the Tips Framework
You can add your own tips to the framework by implementing the TipProvider class
- Create one or more tip providers that extend TipProvider
- In the load method, pass a list of Tip objects to the setTips(List<Tip>) method