Changeset 59:6fb20f548c46

Show
Ignore:
Timestamp:
04/10/08 03:32:17 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix compile error

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dsss.conf

    r58 r59  
    4949[dwtsnippets/menu/Snippet152.d] 
    5050[dwtsnippets/menu/Snippet286.d] 
     51[dwtsnippets/program/Snippet32.d] 
    5152[dwtsnippets/sash/Snippet107.d] 
    5253[dwtsnippets/sashform/Snippet109.d] 
     
    7071[dwtsnippets/tree/Snippet8.d] 
    7172[dwtsnippets/tree/Snippet15.d] 
    72 [dwtsnippets/program/Snippet32.d] 
    7373 
    7474[user/dragdrop/texttolabel.d] 
     
    7979version(DwtAddons){ 
    8080    [dwtexamples/sleak/SleakExample.d] 
     81    [jface/ActionAndStatusbar.d] 
    8182} 
    8283 
     
    121122 
    122123 
    123 [jface/ActionAndStatusbar.d] 
    124  
    125  
  • dwtexamples/addressbook/DataEntryDialog.d

    r0 r59  
    2626 
    2727import dwt.dwthelper.ResourceBundle; 
    28 import dwt.dwthelper.Integer
     28import dwt.dwthelper.utils
    2929 
    3030/** 
  • dwtsnippets/tray/Snippet143.d

    r24 r59  
    1212 *******************************************************************************/ 
    1313module dwt.snippets.tray.Snippet143; 
    14    
     14 
    1515/* 
    1616 * Tray example snippet: place an icon with a popup menu on the system tray 
     
    1818 * For a list of all DWT example snippets see 
    1919 * http://www.eclipse.org/swt/snippets/ 
    20  *  
     20 * 
    2121 * @since 3.0 
    2222 */ 
     
    4242    Image image = new Image (display, 16, 16); 
    4343    final Tray tray = display.getSystemTray (); 
    44     if (tray == null) { 
     44    if (tray is null) { 
    4545        Stdout.formatln ("The system tray is not available"); 
    4646    } else { 
  • jface/ActionAndStatusbar.d

    r58 r59  
    1111    Frank Benoit <benoit@tionex.de> 
    1212*/ 
    13 module jfacestatusbar; 
     13module jface.ActionAndStatusbar; 
    1414 
    1515import dwtx.jface.action.Action; 
     
    3232 
    3333void main() { 
    34     Ch4_Contributions swin = new Ch4_Contributions(); 
     34    auto swin = new ActionAndStatusbar(); 
    3535    swin.setBlockOnOpen(true); 
    3636    swin.open(); 
     
    3838} 
    3939 
    40 public class Ch4_Contributions : ApplicationWindow { 
     40public class ActionAndStatusbar : ApplicationWindow { 
    4141    StatusLineManager slm; 
    4242 
    43     Ch4_StatusAction status_action; 
     43    StatusAction status_action; 
    4444 
    4545    ActionContributionItem aci; 
     
    4848        super(null); 
    4949        slm = new StatusLineManager(); 
    50         status_action = new Ch4_StatusAction(slm); 
     50        status_action = new StatusAction(slm); 
    5151        aci = new ActionContributionItem(status_action); 
    5252        addStatusLine(); 
     
    8181} 
    8282 
    83 class Ch4_StatusAction : Action { 
     83class StatusAction : Action { 
    8484    StatusLineManager statman; 
    8585 
     
    9292        setImageDescriptor(ImageDescriptor.createFromFile( 
    9393            getImportData!("eclipse-icon-red-16.png"))); 
    94             //getImportData!("cancel.gif"))); 
    9594    } 
    9695