blob: 05578d9e8655a161eab47fd92bf43be0736e1803 [file] [log] [blame]
Xiaoying Gu07591712010-12-06 06:28:46 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4<html lang="en" xml:lang="en">
5<head>
6<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7<meta name="copyright" content="(C) Copyright 2005"/>
8<meta name="DC.rights.owner" content="(C) Copyright 2005"/>
9<meta name="DC.Type" content="concept"/>
10<meta name="DC.Title" content="Context-Sensitive Help UI Implementation"/>
11<meta name="abstract" content="Java code examples of dynamic help context implementation in a view and a dialog, with context abstraction, are from the Eclipse Data Tools Platform (DTP) 1.6 source code."/>
12<meta name="description" content="Java code examples of dynamic help context implementation in a view and a dialog, with context abstraction, are from the Eclipse Data Tools Platform (DTP) 1.6 source code."/>
13<meta name="DC.Relation" scheme="URI" content="../../../../../projects/dtp/dtp/en/source/c_view_implementation_example.html"/>
14<meta name="DC.Relation" scheme="URI" content="../../../../../projects/dtp/dtp/en/source/c_dialog_implementation_example.html"/>
15<meta name="DC.Relation" scheme="URI" content="../../../../../projects/dtp/dtp/en/source/c_helpkey_constants_interface_class.html"/>
16<meta name="DC.Creator" content="dresch"/>
17<meta name="DC.Format" content="XHTML"/>
18<meta name="DC.Identifier" content="concept_C89CFE21FCFF4115A5D04649D535CEAA"/>
19<meta name="DC.Language" content="en"/>
20<link rel="stylesheet" type="text/css" href="../../../../../styles/commonltr.css"/>
21<link rel="stylesheet" type="text/css" href="../../../../../styles/doc.css"/>
22<title>Context-Sensitive Help UI Implementation</title>
23<meta name="provider" content="Sybase, Inc."/></head>
24<body id="concept_C89CFE21FCFF4115A5D04649D535CEAA"><a name="concept_C89CFE21FCFF4115A5D04649D535CEAA"><!-- --></a>
25<br/>
26
27 <h1 class="topictitle1">Context-Sensitive Help UI Implementation</h1>
28
29
30 <div><p>Java code examples of dynamic help context implementation in a view and a dialog, with context abstraction, are from the Eclipse Data Tools Platform (DTP) 1.6
31 source code.
32 </p>
33
34
35
36 </div>
37
38<div>
39<ul class="ullinks">
40<li class="ulchildlink"><strong><a href="../../../../../projects/dtp/dtp/en/source/c_view_implementation_example.html">View Implementation Example</a></strong><br/>
41The DataSourceExplorerView (in org.eclipse.datatools.connectivity.ui.dse) first implements the org.eclipse.help.IContextProvider interface, and then it creates an instance of the org.eclipse.datatools.help.ContextProviderDelegate.</li>
42<li class="ulchildlink"><strong><a href="../../../../../projects/dtp/dtp/en/source/c_dialog_implementation_example.html">Dialog Implementation Example</a></strong><br/>
43Dialogs must set the help context in the createDialogArea method (to provide context-sensitive help for the dialog itself).</li>
44<li class="ulchildlink"><strong><a href="../../../../../projects/dtp/dtp/en/source/c_helpkey_constants_interface_class.html">helpKey Constants Interface Class</a></strong><br/>
45To reference the externalized help context IDs, which are defined in a ResourceBundle properties file, UI components must implement an interface class to declare the abstract helpKey constants.</li>
46</ul>
47</div>
48<div/>
49</body>
50</html>