blob: 2d82815a63c6b6e016943847047bdbc8bc3b39b5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 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.generic.ui.launch;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
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.generic.core.rmsystem.GenericResourceManager;
public class GenericRMLaunchConfigurationFactory extends AbstractRMLaunchConfigurationFactory {
@Override
protected IRMLaunchConfigurationDynamicTab doCreate(IResourceManager rm, ILaunchConfigurationDialog dialog)
throws CoreException {
return new GenericRMLaunchConfigurationDynamicTab(rm, dialog);
}
@Override
public Class<? extends IResourceManager> getResourceManagerClass() {
return GenericResourceManager.class;
}
}