Changeset 310:d650eede28b3
- 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
| r2 |
r310 |
|
| 13 | 13 | module dwt.internal.DWTEventListener; |
|---|
| 14 | 14 | |
|---|
| 15 | | |
|---|
| 16 | | //import java.util.EventListener; |
|---|
| 17 | | |
|---|
| 18 | | ///PORTING_TYPE |
|---|
| 19 | | interface EventListener{ |
|---|
| 20 | | } |
|---|
| | 15 | import dwt.dwthelper.utils; |
|---|
| 21 | 16 | |
|---|
| 22 | 17 | /** |
|---|
| r212 |
r310 |
|
| 17 | 17 | import tango.core.Exception; |
|---|
| 18 | 18 | import 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 | | |
|---|
| 42 | 19 | |
|---|
| 43 | 20 | /** |
|---|