{"id":999,"date":"2011-01-07T14:42:56","date_gmt":"2011-01-07T13:42:56","guid":{"rendered":"http:\/\/sahits.ch\/blog\/?p=999"},"modified":"2011-01-07T15:28:04","modified_gmt":"2011-01-07T14:28:04","slug":"eclipse-context-help-through-eclipses-help-button","status":"publish","type":"post","link":"http:\/\/sahits.ch\/blog\/blog\/2011\/01\/07\/eclipse-context-help-through-eclipses-help-button\/","title":{"rendered":"Eclipse context help through Eclipse&#8217;s help button"},"content":{"rendered":"<p>As mentioned in my<a href=\"http:\/\/sahits.ch\/blog\/?p=995\"> previous article<\/a> there is a third alternative for providing context help. This is also the most simple of all. On your wizard page class all you have to do is overriding the method <code>performHelp<\/code>:<\/p>\n<pre class=\"brush:java\">public void performHelp(){\r\n\tString contextHelpID = \"ch.sahits.phpclassgenerator.filename\";\r\n\tgetShell().setData(ECLIPSE_HELP,contextHelpID);\r\n\tPlatformUI.getWorkbench().getHelpSystem().displayHelp(contextHelpID);\r\n}<\/pre>\n<p>You will notice that this is the same code as in the <code>widgetSelected<\/code> method.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As mentioned in my previous article there is a third alternative for providing context help. This is also the most simple of all. On your wizard page class all you have to do is overriding the method performHelp: public void performHelp(){ String contextHelpID = &#8222;ch.sahits.phpclassgenerator.filename&#8220;; getShell().setData(ECLIPSE_HELP,contextHelpID); PlatformUI.getWorkbench().getHelpSystem().displayHelp(contextHelpID); } You will notice that this is the &hellip; <a href=\"http:\/\/sahits.ch\/blog\/blog\/2011\/01\/07\/eclipse-context-help-through-eclipses-help-button\/\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eEclipse context help through Eclipse&#8217;s help button\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,138,7,6],"tags":[178,304,177],"class_list":["post-999","post","type-post","status-publish","format-standard","hentry","category-eclipse","category-it","category-java","category-programmieren","tag-context","tag-eclipse","tag-help"],"_links":{"self":[{"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/posts\/999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/comments?post=999"}],"version-history":[{"count":4,"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1003,"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions\/1003"}],"wp:attachment":[{"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/media?parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/categories?post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sahits.ch\/blog\/wp-json\/wp\/v2\/tags?post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}