blob: 75eed4d7d14140b0c68dce2380b07d38491a1a31 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*******************************************************************************
* Copyright (c) 2013 Ericsson, Tasktop Technologies and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* 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.IReview;
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;
/**
* @author Miles Parker
*/
public class ReviewUiFactoryProvider extends AbstractUiFactoryProvider<IReview> {
@Override
public List<AbstractUiFactory<IReview>> createFactories(IUiContext context, IReview set) {
List<AbstractUiFactory<IReview>> factories = new ArrayList<AbstractUiFactory<IReview>>();
factories.add(new AddReviewersUiFactory(context, set));
return factories;
}
}
|