# HG changeset patch # User Frank Benoit # Date 1214742818 -7200 # Node ID c0d810de709313af51d4ae0b14721c4f1303da05 # Parent cc1d3de0e80bca92d90ab2517d57880806d9b16c Update SWT 3.4M7 to 3.4 diff -r cc1d3de0e80b -r c0d810de7093 dwt/DWT.d --- a/dwt/DWT.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/DWT.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -69,6 +69,8 @@ * HINT may change from release to release, although we typically * will not withdraw support for a HINT once it is made available. *

+ * + * @see Sample code and further information */ /* NOTE: @@ -443,7 +445,9 @@ * @see dwt.widgets.Display#addFilter * @see dwt.widgets.Event * + * @see dwt.custom.CCombo#addVerifyListener * @see dwt.widgets.Combo#addVerifyListener + * @see dwt.custom.StyledText#addVerifyListener * @see dwt.widgets.Text#addVerifyListener * @see dwt.events.VerifyListener#verifyText * @see dwt.events.VerifyEvent diff -r cc1d3de0e80b -r c0d810de7093 dwt/DWTError.d --- a/dwt/DWTError.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/DWTError.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -43,6 +43,7 @@ * * @see DWTException * @see DWT#error(int) + * @see Sample code and further information */ public class DWTError : PlatformException { diff -r cc1d3de0e80b -r c0d810de7093 dwt/DWTException.d --- a/dwt/DWTException.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/DWTException.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -34,6 +34,7 @@ *

* * @see DWTError + * @see Sample code and further information */ public class DWTException : Exception { diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/ACC.d --- a/dwt/accessibility/ACC.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/ACC.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -17,6 +17,8 @@ * Class ACC contains all the constants used in defining an * Accessible object. * + * @see Sample code and further information + * * @since 2.0 */ public class ACC { diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/Accessible.d --- a/dwt/accessibility/Accessible.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/Accessible.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -45,6 +45,8 @@ * @see AccessibleEvent * @see AccessibleControlListener * @see AccessibleControlEvent + * @see Accessibility snippets + * @see Sample code and further information * * @since 2.0 */ diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/AccessibleAdapter.d --- a/dwt/accessibility/AccessibleAdapter.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/AccessibleAdapter.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -31,6 +31,7 @@ * * @see AccessibleListener * @see AccessibleEvent + * @see Sample code and further information * * @since 2.0 */ diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/AccessibleControlAdapter.d --- a/dwt/accessibility/AccessibleControlAdapter.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/AccessibleControlAdapter.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2006 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -37,6 +37,7 @@ * * @see AccessibleControlListener * @see AccessibleControlEvent + * @see Sample code and further information * * @since 2.0 */ diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/AccessibleControlEvent.d --- a/dwt/accessibility/AccessibleControlEvent.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/AccessibleControlEvent.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -32,6 +32,7 @@ * * @see AccessibleControlListener * @see AccessibleControlAdapter + * @see Sample code and further information * * @since 2.0 */ diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/AccessibleEvent.d --- a/dwt/accessibility/AccessibleEvent.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/AccessibleEvent.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -29,6 +29,7 @@ * * @see AccessibleListener * @see AccessibleAdapter + * @see Sample code and further information * * @since 2.0 */ diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/AccessibleFactory.d --- a/dwt/accessibility/AccessibleFactory.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/AccessibleFactory.d Sun Jun 29 14:33:38 2008 +0200 @@ -167,7 +167,7 @@ listeners [i].getRole (event); } bool action = false, hypertext = false, selection = false, text = false; - if (event.detail !is 0) { /* a role was specified */ + if (event.detail !is 0) { /* a role was specified */ for (int i = 0; i < actionRoles.length; i++) { if (event.detail is actionRoles [i]) { action = true; diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/AccessibleTextAdapter.d --- a/dwt/accessibility/AccessibleTextAdapter.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/AccessibleTextAdapter.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -37,6 +37,7 @@ * * @see AccessibleTextListener * @see AccessibleTextEvent + * @see Sample code and further information * * @since 3.0 */ diff -r cc1d3de0e80b -r c0d810de7093 dwt/accessibility/AccessibleTextEvent.d --- a/dwt/accessibility/AccessibleTextEvent.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/accessibility/AccessibleTextEvent.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -31,6 +31,7 @@ * * @see AccessibleTextListener * @see AccessibleTextAdapter + * @see Sample code and further information * * @since 3.0 */ diff -r cc1d3de0e80b -r c0d810de7093 dwt/custom/AnimatedProgress.d --- a/dwt/custom/AnimatedProgress.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/custom/AnimatedProgress.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -38,6 +38,8 @@ *
*
Styles:
VERTICAL, HORIZONTAL, BORDER *
+ * + * @see Sample code and further information */ public class AnimatedProgress : Canvas { diff -r cc1d3de0e80b -r c0d810de7093 dwt/custom/BidiSegmentEvent.d --- a/dwt/custom/BidiSegmentEvent.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/custom/BidiSegmentEvent.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -61,6 +61,8 @@ * "R4R5R6". * visual line = "R3R2R1" + "R6R5R4" * + * + * @see Sample code and further information */ public class BidiSegmentEvent : TypedEvent { diff -r cc1d3de0e80b -r c0d810de7093 dwt/custom/Bullet.d --- a/dwt/custom/Bullet.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/custom/Bullet.d Sun Jun 29 14:33:38 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2006 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -34,18 +34,39 @@ *

* * @see StyledText#setLineBullet(int, int, Bullet) + * @see Sample code and further information * * @since 3.2 */ public class Bullet { + /** + * The bullet type. Possible values are: + * + */ public int type; + + /** + * The bullet style. + */ public StyleRange style; + + /** + * The bullet text. + */ public String text; + int[] linesIndices; int count; /** - * Create a new bullet the specified style, the type is set to ST.BULLET_DOT. + * Create a new bullet with the specified style, and type ST.BULLET_DOT. * The style must have a glyph metrics set. * * @param style the style @@ -61,6 +82,7 @@ * Create a new bullet the specified style and type. * The style must have a glyph metrics set. * + * @param type the bullet type * @param style the style * * @exception IllegalArgumentException