Changeset 259:c0d810de7093

Show
Ignore:
Timestamp:
06/29/08 08:33:38 (2 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Update SWT 3.4M7 to 3.4

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/DWT.d

    r240 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2007 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    7070 * will not withdraw support for a <em>HINT</em> once it is made available. 
    7171 * </p> 
     72 * 
     73 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    7274 */ 
    7375 
     
    444446     * @see dwt.widgets.Event 
    445447     * 
     448     * @see dwt.custom.CCombo#addVerifyListener 
    446449     * @see dwt.widgets.Combo#addVerifyListener 
     450     * @see dwt.custom.StyledText#addVerifyListener 
    447451     * @see dwt.widgets.Text#addVerifyListener 
    448452     * @see dwt.events.VerifyListener#verifyText 
  • dwt/DWTError.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2005 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    4444 * @see DWTException 
    4545 * @see DWT#error(int) 
     46 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    4647 */ 
    4748 
  • dwt/DWTException.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2005 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3535 * 
    3636 * @see DWTError 
     37 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    3738 */ 
    3839 
  • dwt/accessibility/ACC.d

    r72 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2004 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    1818 * Accessible object. 
    1919 * 
     20 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
     21 *  
    2022 * @since 2.0 
    2123 */ 
  • dwt/accessibility/Accessible.d

    r72 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2005 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    4646 * @see AccessibleControlListener 
    4747 * @see AccessibleControlEvent 
     48 * @see <a href="http://www.eclipse.org/swt/snippets/#accessibility">Accessibility snippets</a> 
     49 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    4850 * 
    4951 * @since 2.0 
  • dwt/accessibility/AccessibleAdapter.d

    r72 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2003 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3232 * @see AccessibleListener 
    3333 * @see AccessibleEvent 
     34 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    3435 * 
    3536 * @since 2.0 
  • dwt/accessibility/AccessibleControlAdapter.d

    r72 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2006 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3838 * @see AccessibleControlListener 
    3939 * @see AccessibleControlEvent 
     40 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    4041 * 
    4142 * @since 2.0 
  • dwt/accessibility/AccessibleControlEvent.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2004 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3333 * @see AccessibleControlListener 
    3434 * @see AccessibleControlAdapter 
     35 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    3536 * 
    3637 * @since 2.0 
  • dwt/accessibility/AccessibleEvent.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2004 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3030 * @see AccessibleListener 
    3131 * @see AccessibleAdapter 
     32 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    3233 * 
    3334 * @since 2.0 
  • dwt/accessibility/AccessibleFactory.d

    r255 r259  
    168168        } 
    169169        bool action = false, hypertext = false, selection = false, text = false; 
    170         if (event.detail !is 0) {   /* a role was specified */ 
     170        if (event.detail !is 0) {    /* a role was specified */ 
    171171            for (int i = 0; i < actionRoles.length; i++) { 
    172172                if (event.detail is actionRoles [i]) { 
  • dwt/accessibility/AccessibleTextAdapter.d

    r72 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2003 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3838 * @see AccessibleTextListener 
    3939 * @see AccessibleTextEvent 
     40 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    4041 * 
    4142 * @since 3.0 
  • dwt/accessibility/AccessibleTextEvent.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2004 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3232 * @see AccessibleTextListener 
    3333 * @see AccessibleTextAdapter 
     34 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    3435 * 
    3536 * @since 3.0 
  • dwt/custom/AnimatedProgress.d

    r150 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2004 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3939 * <dt><b>Styles:</b><dd>VERTICAL, HORIZONTAL, BORDER 
    4040 * </dl> 
     41 * 
     42 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    4143 */ 
    4244public class AnimatedProgress : Canvas { 
  • dwt/custom/BidiSegmentEvent.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2005 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    6262 *      visual line = "R3R2R1" + "R6R5R4" 
    6363 * </pre> 
     64 * 
     65 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    6466 */ 
    6567public class BidiSegmentEvent : TypedEvent { 
  • dwt/custom/Bullet.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2006 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3535 * 
    3636 * @see StyledText#setLineBullet(int, int, Bullet) 
     37 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    3738 * 
    3839 * @since 3.2 
    3940 */ 
    4041public class Bullet { 
     42    /** 
     43    * The bullet type.  Possible values are: 
     44    * <ul> 
     45    * <li><code>ST.BULLET_DOT</code></li> 
     46    * <li><code>ST.BULLET_NUMBER</code></li> 
     47    * <li><code>ST.BULLET_LETTER_LOWER</code></li> 
     48    * <li><code>ST.BULLET_LETTER_UPPER</code></li> 
     49    * <li><code>ST.BULLET_TEXT</code></li> 
     50    * <li><code>ST.BULLET_CUSTOM</code></li> 
     51    * </ul> 
     52    */ 
    4153    public int type; 
     54 
     55    /** 
     56    * The bullet style. 
     57    */ 
    4258    public StyleRange style; 
     59 
     60    /** 
     61    * The bullet text. 
     62    */ 
    4363    public String text; 
     64 
    4465    int[] linesIndices; 
    4566    int count; 
    4667 
    4768/** 
    48  * Create a new bullet the specified style, the type is set to ST.BULLET_DOT. 
     69 * Create a new bullet with the specified style, and type <code>ST.BULLET_DOT</code>.  
    4970 * The style must have a glyph metrics set. 
    5071 * 
     
    6283 * The style must have a glyph metrics set. 
    6384 * 
     85 * @param type the bullet type 
    6486 * @param style the style 
    6587 * 
  • dwt/custom/BusyIndicator.d

    r238 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2006 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    2424/** 
    2525 * Support for showing a Busy Cursor during a long running process. 
     26 * 
     27 * @see <a href="http://www.eclipse.org/swt/snippets/#busyindicator">BusyIndicator snippets</a> 
     28 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    2629 */ 
    2730public class BusyIndicator { 
  • dwt/custom/CBanner.d

    r150 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2007 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    5353 * IMPORTANT: This class is <em>not</em> intended to be subclassed. 
    5454 * </p> 
     55 * 
     56 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    5557 * 
    5658 * @since 3.0 
  • dwt/custom/CCombo.d

    r255 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2007 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    7777 * <dd>DefaultSelection, Modify, Selection, Verify</dd> 
    7878 * </dl> 
     79 * 
     80 * @see <a href="http://www.eclipse.org/swt/snippets/#ccombo">CCombo snippets</a> 
     81 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: CustomControlExample</a> 
     82 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    7983 */ 
    8084public final class CCombo : Composite { 
     
    529533} 
    530534void dropDown (bool drop) { 
    531     if (drop is isDropped ()) return; 
     535    if (drop is isDropped () || !isVisible()) return; 
    532536    if (!drop) { 
    533537        popup.setVisible (false); 
     
    15761580     */ 
    15771581    if (isDisposed ()) return; 
    1578     if (!visible) popup.setVisible(false); 
     1582    // TEMPORARY CODE 
     1583    if (popup is null || popup.isDisposed ()) return; 
     1584    if (!visible) popup.setVisible (false); 
    15791585} 
    15801586/** 
  • dwt/custom/CLabel.d

    r240 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2006 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    6666 * IMPORTANT: This class is <em>not</em> intended to be subclassed. 
    6767 * </p> 
     68 * 
     69 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: CustomControlExample</a> 
     70 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    6871 */ 
    6972public class CLabel : Canvas { 
  • dwt/custom/CTabFolder.d

    </
    r253 r259  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2007 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    7979 * IMPORTANT: This class is <em>not</em> intended to be subclassed. 
    8080 * </p> 
     81 * 
     82 * @see <a href="http://www.eclipse.org/swt/snippets/#ctabfolder">CTabFolder, CTabItem snippets</a> 
     83 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: CustomControlExample</a> 
     84 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    8185 */ 
    8286