01: /*******************************************************************************
02: * Copyright (c) 2004, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.examples.components.views.comparisons;
11:
12: import org.eclipse.swt.SWT;
13: import org.eclipse.swt.widgets.Composite;
14: import org.eclipse.swt.widgets.Label;
15:
16: /**
17: * Tests a "hello world" view using the new API
18: *
19: * @since 3.1
20: */
21: public class HelloWorldViewNew {
22: public HelloWorldViewNew(Composite parent) {
23: Label helloWorld = new Label(parent, SWT.NONE);
24:
25: helloWorld.setText("Hello world");
26: }
27: }
|