blob: ee99fa9be3ecd4287978dcb93f23c426feb4594e [file] [log] [blame]
/*
* Copyright (c) 2014 Eike Stepper (Berlin, Germany) 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:
* Eike Stepper - initial API and implementation
*/
package org.eclipse.oomph.resources.backend;
import org.eclipse.emf.common.util.URI;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
/**
* @author Eike Stepper
*/
public final class BackendFolder extends BackendContainer
{
BackendFolder(BackendSystem system, URI systemRelativeURI)
{
super(system, systemRelativeURI);
}
@Override
public Type getType()
{
return Type.FOLDER;
}
@Override
protected boolean doVisit(BackendContainer backendContainer, Visitor visitor, IProgressMonitor monitor) throws BackendException, OperationCanceledException
{
return visitor.visit(this, monitor);
}
}