blob: e86dc9eb05f6e647d85019f43cf7882a3d27e2df [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency
* 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:
* Pierre Allard,
* Regent L'Archeveque,
* Olivier L. Larouche - initial API and implementation
*
* SPDX-License-Identifier: EPL-1.0
*
*******************************************************************************/
package org.eclipse.apogy.core.invocator.impl;
import org.eclipse.apogy.core.invocator.AbstractProgramRuntime;
import org.eclipse.apogy.core.invocator.ApogyCoreInvocatorFactory;
import org.eclipse.apogy.core.invocator.OperationCallsListProgramRuntime;
import org.eclipse.apogy.core.invocator.Program;
import org.eclipse.apogy.core.invocator.ProgramSettings;
public class OperationCallsListFactoryCustomImpl extends OperationCallsListFactoryImpl {
@Override
public Program createProgram() {
return ApogyCoreInvocatorFactory.eINSTANCE.createOperationCallsList();
}
@Override
public AbstractProgramRuntime createProgramRuntime(Program program, ProgramSettings settings) {
OperationCallsListProgramRuntime runtime = ApogyCoreInvocatorFactory.eINSTANCE
.createOperationCallsListProgramRuntime();
runtime.setProgram(program);
return runtime;
}
@Override
public void applySettings(Program program, ProgramSettings settings) {
// Nothing to do for now.
}
} // OperationCallsListFactoryImpl