blob: a279e45f5a319ace89925f267ca899cf10e64be4 (
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
|
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.ui.synchronize.content;
import org.eclipse.ui.views.navigator.ResourceSorter;
/**
* Implementations can be contributed via extension point and used by team participants.
*/
public abstract class LogicalViewProvider {
public abstract SyncInfoSetContentProvider getContentProvider();
public abstract SyncInfoLabelProvider getLabelProvider();
/**
* Return the sorter to be used to sort elements from the logical view's
* content provider.
* @return a <code>SyncViewerSorter</code>
*/
public SyncViewerSorter getSorter() {
return new SyncViewerSorter(ResourceSorter.NAME);
}
}
|