Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1c4c042c9911263583b4bc3934162a3d0896ed37 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
/*******************************************************************************
 * Copyright (c) 2010 IBM Corporation 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:
 * IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.team.internal.ui.synchronize.patch;

import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.team.internal.ui.TeamUIMessages;

public class PatchParsedPage extends WizardPage {

	public final static String PATCH_PARSED_PAGE_NAME = "PatchParsedPage"; //$NON-NLS-1$
	private Label messageLabel;

	public PatchParsedPage() {
		super(PATCH_PARSED_PAGE_NAME, TeamUIMessages.PatchParsedPage_title,
				null);
		setDescription(TeamUIMessages.PatchParsedPage_description);
	}

	public void createControl(Composite parent) {
		Composite composite = new Composite(parent, SWT.NULL);
		composite.setLayout(new GridLayout());
		composite.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL
				| GridData.HORIZONTAL_ALIGN_FILL));
		setControl(composite);

		initializeDialogUnits(parent);

		messageLabel = new Label(composite, SWT.NONE);
		messageLabel
				.setText(TeamUIMessages.PatchParsedPage_clickFinishToGoToSynchronizeView);
		setPageComplete(true);
	}

}

Back to the top