Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Style |
|
| 0.0;0 |
1 | /******************************************************************************* | |
2 | * Copyright (c) 2008 Ketan Padegaonkar and others. | |
3 | * All rights reserved. This program and the accompanying materials | |
4 | * are made available under the terms of the Eclipse Public License v1.0 | |
5 | * which accompanies this distribution, and is available at | |
6 | * http://www.eclipse.org/legal/epl-v10.html | |
7 | * | |
8 | * Contributors: | |
9 | * Ketan Padegaonkar - initial API and implementation | |
10 | *******************************************************************************/ | |
11 | package org.eclipse.swtbot.swt.finder; | |
12 | ||
13 | import static java.lang.annotation.ElementType.TYPE; | |
14 | ||
15 | import java.lang.annotation.Retention; | |
16 | import java.lang.annotation.RetentionPolicy; | |
17 | import java.lang.annotation.Target; | |
18 | ||
19 | import org.eclipse.swt.SWT; | |
20 | ||
21 | /** | |
22 | * @author Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com> | |
23 | * @version $Id$ | |
24 | */ | |
25 | @Retention(RetentionPolicy.RUNTIME) | |
26 | @Target( { TYPE }) | |
27 | public @interface Style { | |
28 | ||
29 | /** One of the style constants in {@link SWT}. */ | |
30 | int value() default SWT.NONE; | |
31 | ||
32 | /** The human readable name of the style constant variable. */ | |
33 | String name() default "SWT.NONE"; | |
34 | } |