View | Details | Raw Unified | Return to bug 191745
Collapse All | Expand All

(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 1-7 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %pluginName
3
Bundle-Name: %pluginName
4
Bundle-SymbolicName: org.eclipse.tm.discovery.wizard
4
Bundle-SymbolicName: org.eclipse.tm.discovery.wizard;singleton:=true
5
Bundle-Version: 2.0.0.qualifier
5
Bundle-Version: 2.0.0.qualifier
6
Bundle-Activator: org.eclipse.tm.internal.discovery.wizard.Activator
6
Bundle-Activator: org.eclipse.tm.internal.discovery.wizard.Activator
7
Bundle-Localization: plugin
7
Bundle-Localization: plugin
(-)src/org/eclipse/tm/internal/discovery/wizard/ServiceDiscoveryWizardMainPage.java (-1 / +9 lines)
Lines 26-31 Link Here
26
import org.eclipse.swt.widgets.Text;
26
import org.eclipse.swt.widgets.Text;
27
import org.eclipse.tm.discovery.protocol.ProtocolFactory;
27
import org.eclipse.tm.discovery.protocol.ProtocolFactory;
28
import org.eclipse.tm.discovery.transport.TransportFactory;
28
import org.eclipse.tm.discovery.transport.TransportFactory;
29
import org.eclipse.ui.PlatformUI;
29
30
30
/**
31
/**
31
 * Main wizard page for the service discovery process.</br>
32
 * Main wizard page for the service discovery process.</br>
Lines 104-110 Link Here
104
		});
105
		});
105
		
106
		
106
		addressText.setLayoutData(data);
107
		addressText.setLayoutData(data);
107
		
108
		PlatformUI.getWorkbench().getHelpSystem().setHelp(addressText,"org.eclipse.tm.discovery.wizard.address"); //$NON-NLS-1$
108
		
109
		
109
		Composite comp2 = new Composite(comp,SWT.NULL);
110
		Composite comp2 = new Composite(comp,SWT.NULL);
110
		GridLayout layout2 = new GridLayout();
111
		GridLayout layout2 = new GridLayout();
Lines 180-185 Link Here
180
		});
181
		});
181
		
182
		
182
		transportCombo.setLayoutData(data);
183
		transportCombo.setLayoutData(data);
184
		PlatformUI.getWorkbench().getHelpSystem().setHelp(transportCombo,"org.eclipse.tm.discovery.wizard.transport"); //$NON-NLS-1$
183
		
185
		
184
		new Label(comp,SWT.NULL).setText(Messages.getString("ServiceDiscoveryWizardMainPage.ProtocolLabel")); //$NON-NLS-1$
186
		new Label(comp,SWT.NULL).setText(Messages.getString("ServiceDiscoveryWizardMainPage.ProtocolLabel")); //$NON-NLS-1$
185
		
187
		
Lines 221-226 Link Here
221
		});
223
		});
222
		
224
		
223
		protocolCombo.setLayoutData(data);
225
		protocolCombo.setLayoutData(data);
226
		PlatformUI.getWorkbench().getHelpSystem().setHelp(protocolCombo,"org.eclipse.tm.discovery.wizard.protocol"); //$NON-NLS-1$
224
		
227
		
225
		new Label(comp,SWT.NULL).setText(Messages.getString("ServiceDiscoveryWizardMainPage.DiscoveryQueryLabel")); //$NON-NLS-1$
228
		new Label(comp,SWT.NULL).setText(Messages.getString("ServiceDiscoveryWizardMainPage.DiscoveryQueryLabel")); //$NON-NLS-1$
226
		
229
		
Lines 235-240 Link Here
235
		queryCombo.select(0);
238
		queryCombo.select(0);
236
		
239
		
237
		queryCombo.setLayoutData(data);
240
		queryCombo.setLayoutData(data);
241
		PlatformUI.getWorkbench().getHelpSystem().setHelp(queryCombo,"org.eclipse.tm.discovery.wizard.query"); //$NON-NLS-1$
238
		
242
		
239
		new Label(comp,SWT.NULL).setText(Messages.getString("ServiceDiscoveryWizardMainPage.TimeOutLabel")); //$NON-NLS-1$
243
		new Label(comp,SWT.NULL).setText(Messages.getString("ServiceDiscoveryWizardMainPage.TimeOutLabel")); //$NON-NLS-1$
240
		
244
		
Lines 243-253 Link Here
243
		timeOutText.redraw();
247
		timeOutText.redraw();
244
		
248
		
245
		timeOutText.setLayoutData(data);
249
		timeOutText.setLayoutData(data);
250
		PlatformUI.getWorkbench().getHelpSystem().setHelp(timeOutText,"org.eclipse.tm.discovery.wizard.timeout"); //$NON-NLS-1$
246
		
251
		
247
		setPageComplete(false);
252
		setPageComplete(false);
248
		
253
		
249
		setControl(comp);
254
		setControl(comp);
250
		
255
		
256
		PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(),	"org.eclipse.tm.discovery.wizard.general"); //$NON-NLS-1$
257
		
258
		
251
	}
259
	}
252
	
260
	
253
	/**
261
	/**
(-)plugin.xml (+22 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<!--
4
Copyright (c) 2007 Symbian Software Ltd. and others. All rights reserved.
5
This program and the accompanying materials are made available under the terms
6
of the Eclipse Public License v1.0 which accompanies this distribution, and is 
7
available at http://www.eclipse.org/legal/epl-v10.html
8
  
9
Contributors:
10
   Javier Montalvo Orus (Symbian) - initial API and implementation
11
-->
12
13
<plugin>
14
15
    <extension point="org.eclipse.help.contexts">
16
  		<contexts file="HelpContexts.xml"/>
17
	</extension>
18
    
19
</plugin>
20
21
22
(-)HelpContexts.xml (+39 lines)
Added Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?NLS TYPE="org.eclipse.help.contexts"?>
3
<!--
4
Copyright (c) 2007 Symbian Software Ltd
5
All rights reserved. This program and the accompanying materials 
6
are made available under the terms of the Eclipse Public License v1.0 
7
which accompanies this distribution, and is available at 
8
http://www.eclipse.org/legal/epl-v10.html 
9
10
Contributors: 
11
Javier Montalvo Orus (Symbian) - initial API and implementation
12
-->
13
<contexts>
14
  <context id="general">
15
    <description> Service Discovery allows detecting remote servers using different protocol and transports.</description>
16
    <topic href="HelpContexts.html" label="Service Discovery Wizard"/>
17
  </context>
18
	
19
  <context id="address">
20
    <description>The address can be a multicast address or a multicast address can be suggested by checking the "multicast" checkbox.</description>
21
  </context>
22
23
  <context id="transport">
24
    <description>Transport to be used to query the remote device.</description>
25
  </context>
26
27
  <context id="protocol">
28
    <description>Discovery protocol to be used to query the remote device.</description>
29
  </context>
30
31
  <context id="query">
32
    <description>Message to be sent to the remote device to start the discovery process. It can be empty in some protocols.</description>
33
  </context>
34
35
  <context id="timeout">
36
    <description>Maximum amount of time (in ms) between replies before ending the discovery session.</description>
37
  </context>
38
	
39
</contexts>
(-)HelpContexts.html (+38 lines)
Added Link Here
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2
<html>
3
<head>
4
<meta name="copyright" content="Copyright (c) Symbian Software Ltd 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6
<meta http-equiv="Content-Style-Type" content="text/css">
7
<title>Service Discovery Wizard</title>
8
</head>
9
<body>
10
<h1>Service Discovery Wizard</h1>
11
12
<p>
13
<h3>Address</h3>
14
Address of the device to be queried. 
15
The address can be a multicast address or a multicast address can be suggested by checking the "multicast" checkbox.
16
</p>
17
<p>
18
<h3>Transport</h3>
19
Transport to be used to query the remote device.
20
</p>
21
<p>
22
<h3>Protocol</h3>
23
Discovery protocol to be used to query the remote device.
24
</p>
25
<p>
26
<h3>Discovery Query</h3>
27
Message to be sent to the remote device to start the discovery process. It can be empty in some protocols.
28
</p>
29
<p>
30
<h3>Timeout</h3>
31
Maximum amount of time (in ms) between replies before ending the discovery session.
32
</p>
33
<br/> 
34
35
When clicking the <strong>"Next"</strong> button, the discovery process will start, and the discovered services and their attributes will be shown in a tree.
36
37
</body>
38
</html>

Return to bug 191745