Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 184684 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/team/internal/ccvs/ui/wizards/CheckoutAsLocationSelectionPage.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2006 IBM Corporation and others.
2
 * Copyright (c) 2000, 2009 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 155-161 Link Here
155
	private Composite createUserSpecifiedProjectLocationGroup(Composite parent, boolean enabled) {
155
	private Composite createUserSpecifiedProjectLocationGroup(Composite parent, boolean enabled) {
156
	
156
	
157
		// This group needs 3 columns
157
		// This group needs 3 columns
158
		Composite projectGroup = createComposite(parent, 3, false);
158
		Composite projectGroup = createComposite(parent, 3, true, false);
159
		
159
		
160
		// location label
160
		// location label
161
		locationLabel = new Label(projectGroup, SWT.NONE);
161
		locationLabel = new Label(projectGroup, SWT.NONE);
(-)src/org/eclipse/team/internal/ccvs/ui/wizards/CVSWizardPage.java (-3 / +16 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2006 IBM Corporation and others.
2
 * Copyright (c) 2000, 2009 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 105-118 Link Here
105
	 * Creates composite control and sets the default layout data.
105
	 * Creates composite control and sets the default layout data.
106
	 * @param parent  the parent of the new composite
106
	 * @param parent  the parent of the new composite
107
	 * @param numColumns  the number of columns for the new composite
107
	 * @param numColumns  the number of columns for the new composite
108
	 * @param grabExcess TODO
108
	 * @param grabExcess <code>true</code> if the composite should take up the remaining horizontal and vertical space
109
	 *
109
	 *
110
	 * @return the newly-created coposite
110
	 * @return the newly-created coposite
111
	 */
111
	 */
112
	protected Composite createComposite(Composite parent, int numColumns, boolean grabExcess) {
112
	protected Composite createComposite(Composite parent, int numColumns, boolean grabExcess) {
113
		return createComposite(parent, numColumns, grabExcess, grabExcess);
114
	}
115
	
116
	/**
117
	 * Creates composite control and sets the default layout data.
118
	 * @param parent  the parent of the new composite
119
	 * @param numColumns  the number of columns for the new composite
120
	 * @param grabExcessHorizontalSpace <code>true</code> if the composite should take up the remaining horizontal space
121
	 * @param grabExcessVerticalSpace <code>true</code> if the composite should take up the remaining vertical space
122
	 *
123
	 * @return the newly-created coposite
124
	 */
125
	protected Composite createComposite(Composite parent, int numColumns, boolean grabExcessHorizontalSpace, boolean grabExcessVerticalSpace) {
113
		final Composite composite = new Composite(parent, SWT.NULL);
126
		final Composite composite = new Composite(parent, SWT.NULL);
114
		composite.setLayout(new GridLayout(numColumns, false));
127
		composite.setLayout(new GridLayout(numColumns, false));
115
		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, grabExcess, grabExcess));
128
		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, grabExcessHorizontalSpace, grabExcessHorizontalSpace));
116
		return composite;
129
		return composite;
117
	}
130
	}
118
	
131
	

Return to bug 184684