blob: d5b31998ecbd8248aa1c57896e37687285f15fd1 [file] [log] [blame]
// autoexpFactory.java
package org.eclipse.stem.analysis.automaticexperiment.views;
/*******************************************************************************
* Copyright (c) 2007, 2008 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import org.eclipse.swt.widgets.Composite;
/**
* This class is a factory for creating {@link AnalysisControl} instances.
*/
public class AutoExpFactory implements AnalysisControlFactory {
/**
* public INSTANCE for this Factory
*/
public static AutoExpFactory INSTANCE = new AutoExpFactory();
/**
* Constants
*/
public static final String ANALYSIS_TYPE = "Automatic Experiment";
/**
*
* @param parent
* @return new AutoExpControl()
*/
public AnalysisControl create(final Composite parent) {
return new AutoExpControl(parent);
}
/**
* @return type of analysis
*
*/
public String getControlType() {
return ANALYSIS_TYPE;
}
} // autoexpFactory