| /******************************************************************************* |
| * Copyright (c) 2008 IBM Corporation. |
| * 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: |
| * IBM Corporation - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.ptp.rm.mpi.openmpi.ui.launch; |
| |
| import org.eclipse.core.runtime.CoreException; |
| import org.eclipse.ptp.core.elements.IResourceManager; |
| import org.eclipse.ptp.launch.ui.extensions.AbstractRMLaunchConfigurationFactory; |
| import org.eclipse.ptp.launch.ui.extensions.IRMLaunchConfigurationDynamicTab; |
| import org.eclipse.ptp.rm.mpi.openmpi.core.rmsystem.OpenMPIResourceManager; |
| |
| /** |
| * |
| * @author Daniel Felix Ferber |
| * |
| */ |
| public class OpenMPIRMLaunchConfigurationFactory extends |
| AbstractRMLaunchConfigurationFactory { |
| |
| @Override |
| protected IRMLaunchConfigurationDynamicTab doCreate(IResourceManager rm) throws CoreException { |
| return new NewOpenMPIRMLaunchConfigurationDynamicTab(rm); |
| } |
| |
| @Override |
| public Class<? extends IResourceManager> getResourceManagerClass() { |
| return OpenMPIResourceManager.class; |
| } |
| |
| } |