1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 07:35:24 +02:00

Add context help for remotecdt launch

This commit is contained in:
Martin Oberhuber 2006-11-10 22:31:17 +00:00
parent 4f225ed01c
commit a111191e75
6 changed files with 50 additions and 4 deletions

View file

@ -23,7 +23,7 @@ plugin@org.eclipse.rse.examples.tutorial=v20061109,:pserver:anonymous:none@dev.e
plugin@org.eclipse.rse.files.ui=v20061110,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/plugins/org.eclipse.rse.files.ui
plugin@org.eclipse.rse.logging=v20061031,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/plugins/org.eclipse.rse.logging
plugin@org.eclipse.rse.processes.ui=v20061110b,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/plugins/org.eclipse.rse.processes.ui
plugin@org.eclipse.rse.remotecdt=v20061110b,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/examples/org.eclipse.rse.remotecdt
plugin@org.eclipse.rse.remotecdt=v20061110c,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/examples/org.eclipse.rse.remotecdt
plugin@org.eclipse.rse.sdk=v20061031,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/plugins/org.eclipse.rse.sdk
plugin@org.eclipse.rse.services.dstore=v20061110,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/plugins/org.eclipse.rse.services.dstore
plugin@org.eclipse.rse.services.files.ftp=v20061108,:pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp,,org.eclipse.tm.rse/plugins/org.eclipse.rse.services.files.ftp

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.contexts"?>
<!--
Copyright (c) 2006 Wind River Systems, Inc.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Martin Oberhuber (Wind River) - initial API and implementation
-->
<contexts>
<context id="launchgroup">
<description>The Remote CDT Launch Tab Group allows you to specify the connection, program and properties of a program to launch and debug on a remote system.
</description>
<topic href="remotecdt.html" label="Launching Remote C/C++ Applications"/>
</context>
</contexts>

View file

@ -8,6 +8,7 @@
# Contributors:
# Ewa Matejska (PalmSource)
# Martin Oberhuber (Wind River) - fix 158529: Migrate docs to HTML / TOC format
# Martin Oberhuber (Wind River) - add help contexts
#####################################################################################
source.. = src/
@ -22,6 +23,7 @@ bin.includes = META-INF/,\
plugin.xml,\
remotecdt.html,\
toc.xml,\
HelpContexts.xml,\
icons/,\
.
src.includes = META-INF/,\

View file

@ -35,11 +35,19 @@ Martin Oberhuber (Wind River) - fix 158529: Migrate docs to HTML / TOC format
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
type="org.eclipse.rse.remotecdt.RemoteApplicationLaunch"
class="org.eclipse.rse.remotecdt.RemoteLaunchConfigurationTabGroup"
id="org.eclipse.rse.remotecdt.RemoteLaunchTabGroup">
helpContextId="org.eclipse.rse.remotecdt.launchgroup"
id="org.eclipse.rse.remotecdt.RemoteLaunchTabGroup"
type="org.eclipse.rse.remotecdt.RemoteApplicationLaunch">
</launchConfigurationTabGroup>
</extension>
<!-- ============================================ -->
<!-- Define Help Context -->
<!-- ============================================ -->
<extension point="org.eclipse.help.contexts">
<contexts file="HelpContexts.xml"/>
</extension>
<extension point="org.eclipse.help.toc">
<toc file="toc.xml"/>
</extension>

View file

@ -16,11 +16,24 @@ import java.util.List;
import org.eclipse.cdt.debug.core.CDebugCorePlugin;
import org.eclipse.cdt.debug.core.ICDebugConfiguration;
import org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin;
import org.eclipse.cdt.launch.ui.CDebuggerTab;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.swt.widgets.Composite;
public class RemoteCDebuggerTab extends CDebuggerTab {
public void createControl(Composite parent) {
super.createControl(parent);
LaunchUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(getControl(),
"org.eclipse.rse.remotecdt.launchgroup"); //$NON-NLS-1$
}
public String getName() {
// TODO Auto-generated method stub
return null;
}
static final private String GDBSERVER_DEBUGGER_NAME = "gdb/mi"; //$NON-NLS-1$
public RemoteCDebuggerTab(boolean attachMode) {

View file

@ -93,7 +93,10 @@ public class RemoteCMainTab extends CMainTab {
setLocalPathForRemotePath();
}
});
LaunchUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(getControl(),
"org.eclipse.rse.remotecdt.launchgroup"); //$NON-NLS-1$
LaunchUIPlugin.setDialogShell(parent.getShell());
}