blob: c818cdd157abab97e1a25108b7bdbafc736cefc2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Tasktop Technologies 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:
* Tasktop Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.internal.gerrit.ui.factories;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.mylyn.reviews.core.model.IUser;
import org.eclipse.mylyn.reviews.ui.spi.factories.AbstractUiFactory;
import org.eclipse.mylyn.reviews.ui.spi.factories.AbstractUiFactoryProvider;
import org.eclipse.mylyn.reviews.ui.spi.factories.IUiContext;
public class GerritReviewerUiFactoryProvider extends AbstractUiFactoryProvider<IUser> {
@Override
public List<AbstractUiFactory<IUser>> createFactories(IUiContext context, IUser type) {
List<AbstractUiFactory<IUser>> factories = new ArrayList<AbstractUiFactory<IUser>>();
factories.add(new RemoveReviewerUiFactory(context, type));
return factories;
}
}