Changeset 310:d650eede28b3

Show
Ignore:
Timestamp:
09/14/08 21:41:14 (2 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix remaining porting type

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/internal/DWTEventListener.d

    r2 r310  
    1313module dwt.internal.DWTEventListener; 
    1414 
    15  
    16 //import java.util.EventListener; 
    17  
    18 ///PORTING_TYPE 
    19 interface EventListener{ 
    20 
     15import dwt.dwthelper.utils; 
    2116 
    2217/** 
  • dwt/internal/DWTEventObject.d

    r212 r310  
    1717import tango.core.Exception; 
    1818import dwt.dwthelper.utils; 
    19  
    20 /+ 
    21 ///PORTING_TYPE 
    22 class EventObject : EventObject { 
    23   protected Object source; 
    24  
    25   public this(Object source) { 
    26     if (source is null) 
    27       throw new IllegalArgumentException( "null arg" ); 
    28     this.source = source; 
    29   } 
    30  
    31   public Object getSource() { 
    32     return source; 
    33   } 
    34  
    35   public override String toString() { 
    36     return this.classinfo.name ~ "[source=" ~ source.toString() ~ "]"; 
    37   } 
    38 } 
    39  
    40 +/ 
    41  
    4219 
    4320/**