| /******************************************************************************* |
| * Copyright (c) 2011, 2013 RĂ¼diger Herrmann and others. |
| * 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: |
| * RĂ¼diger Herrmann - initial API and implementation |
| * EclipseSource - ongoing development |
| ******************************************************************************/ |
| package org.eclipse.rap.tools.launch.rwt.internal.tab; |
| |
| import org.eclipse.rap.tools.launch.rwt.internal.RWTLaunchActivator; |
| import org.eclipse.swt.widgets.Control; |
| import org.eclipse.ui.PlatformUI; |
| import org.eclipse.ui.help.IWorkbenchHelpSystem; |
| |
| |
| class HelpContextIds { |
| |
| private static final String PREFIX = RWTLaunchActivator.getPluginId() + "."; |
| |
| static final String MAIN_TAB = PREFIX + "launch_configuration_dialog_main_tab"; |
| |
| static void assign( Control control, String contextId ) { |
| IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem(); |
| helpSystem.setHelp( control, contextId ); |
| } |
| |
| private HelpContextIds() { |
| // prevent instantiation |
| } |
| |
| } |