Bug 382887 CustomControlExample CTabFolder should have setTopRight
CTabFolder tab in CustomControlExample should have a means of testing setTopRight (to a toolbar, for example). Also, allow the top right style (SWT.RIGHT, SWT.FILL, and SWT.RIGHT | SWT.WRAP) to be selected when calling setTopRight().
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java
/*******************************************************************************
 * Copyright (c) 2000, 2007 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.swt.examples.controlexample;
import org.eclipse.swt.*;
import org.eclipse.swt.custom.*;
import org.eclipse.swt.events.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.widgets.*;
class CTabFolderTab extends Tab {