/** * Copyright (c) 2016 committers of YAKINDU 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: * committers of YAKINDU - initial API and implementation * */ package org.yakindu.sct.examples.wizard.service; import java.util.List; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; /** * * @author t00manysecretss * */ public interface IExampleService { public boolean exists(); public boolean isUpToDate(IProgressMonitor monitor); public IStatus fetchAllExamples(IProgressMonitor monitor); public List<ExampleData> getExamples(IProgressMonitor monitor); public void importExample(ExampleData selection, IProgressMonitor monitor); }