Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

(Examples)
(Examples)
Line 9: Line 9:
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/eclipsetips/TwitterTip.java Example of a Tip embedding a tweet (ugly, but does not require a lot of code)]
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/eclipsetips/TwitterTip.java Example of a Tip embedding a tweet (ugly, but does not require a lot of code)]
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/tipsframework/Navigate1Tip.java Example of a Tip with Actions]
 
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/tipsframework/Navigate1Tip.java Example of a Tip with Actions]
 +
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/swttip/SwtTipImpl.java and implementation of an SWT tip]
 +
** [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/eclipsetips/EclipseTipsProvider.java#n46 Declaration of a Wiki tip]
 +
*** [https://wiki.eclipse.org/Tip_of_the_Day/Eclipse_Tips/Now_where_was_I the page that contains that tip]
 +
*** [https://wiki.eclipse.org/Tip_of_the_Day/Eclipse_Tips/Now_where_was_I?action=render ?action=render only shows the html]
 +
 +
* [https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.examples/src/org/eclipse/tips/examples/swttip/SwtTipsProvider.java a provider that never runs out of tips]

Revision as of 08:37, 3 June 2018

Java Tip Provider

A Java Tip provider will provide all information about the provider and Tips from normal java classes. Tip objects may be declared statically or be created dynamically.

Examples

This provider is the "Tips about Tips" provider.

Back to the top