blob: f5ad27c02c94096904437f78c6d3e04d0cbb47cd [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2015 itemis 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:
* itemis - Initial API and implementation
*
* </copyright>
*/
package org.eclipse.sphinx.tests.emf.workspace.ui.scenarios;
import java.util.Collection;
import java.util.Collections;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.sphinx.platform.resources.IProblemMarkerFinder;
public abstract class AbstractHummingbird20ScenarioProblemMarkerFinder implements IProblemMarkerFinder {
protected Hummingbird20ScenarioTreeContentProvider hummingbird20ScenarioTreeContentProvider;
public AbstractHummingbird20ScenarioProblemMarkerFinder(Hummingbird20ScenarioTreeContentProvider hummingbird20ScenarioTreeContentProvider) {
Assert.isNotNull(hummingbird20ScenarioTreeContentProvider);
this.hummingbird20ScenarioTreeContentProvider = hummingbird20ScenarioTreeContentProvider;
}
@Override
public Collection<IMarker> getProblemMarkers(Object object) throws CoreException {
return Collections.emptyList();
}
@Override
public void reset() {
// Do nothing
}
}