protected void launch(IType type, String mode) { ILaunchConfiguration config = findLaunchConfiguration(type, mode); if (config != null) { DebugUITools.launch(config, mode); }
public void launch(IEditorPart editor, String mode) { IResource resource = getResource(editor); if (resource == null) MessageDialog.openError(getShell(), LauncherMessages.getString("JavaApplicationAction.Launch_failed_7"), LauncherMessages.getString("JavaApplicationAction.Launch_failed_7"));  launch(resource, mode);
	protected void launch(IType type, String mode) {		ILaunchConfiguration config = findLaunchConfiguration(type, mode);		if (config != null) {			DebugUITools.launch(config, mode);		}				}