|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2000, 2006 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2008 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 34-39
Link Here
|
| 34 |
import org.eclipse.team.internal.ccvs.core.*; |
34 |
import org.eclipse.team.internal.ccvs.core.*; |
| 35 |
import org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot; |
35 |
import org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot; |
| 36 |
import org.eclipse.team.internal.ccvs.core.syncinfo.FolderSyncInfo; |
36 |
import org.eclipse.team.internal.ccvs.core.syncinfo.FolderSyncInfo; |
|
|
37 |
import org.eclipse.team.internal.ccvs.ui.repo.RepositoryComparator; |
| 37 |
import org.eclipse.ui.PlatformUI; |
38 |
import org.eclipse.ui.PlatformUI; |
| 38 |
import org.eclipse.ui.model.WorkbenchContentProvider; |
39 |
import org.eclipse.ui.model.WorkbenchContentProvider; |
| 39 |
import org.eclipse.ui.model.WorkbenchLabelProvider; |
40 |
import org.eclipse.ui.model.WorkbenchLabelProvider; |
|
Lines 109-114
Link Here
|
| 109 |
table.setLayoutData(data); |
110 |
table.setLayoutData(data); |
| 110 |
viewer = new TableViewer(table); |
111 |
viewer = new TableViewer(table); |
| 111 |
viewer.setLabelProvider(new WorkbenchLabelProvider()); |
112 |
viewer.setLabelProvider(new WorkbenchLabelProvider()); |
|
|
113 |
viewer.setComparator(new RepositoryComparator()); |
| 112 |
viewer.setContentProvider(new WorkbenchContentProvider() { |
114 |
viewer.setContentProvider(new WorkbenchContentProvider() { |
| 113 |
public Object[] getElements(Object inputElement) { |
115 |
public Object[] getElements(Object inputElement) { |
| 114 |
if (showCompatible) { |
116 |
if (showCompatible) { |