Mercurial > projects > dwt-linux
diff dwt/custom/MovementEvent.d @ 259:c0d810de7093
Update SWT 3.4M7 to 3.4
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 29 Jun 2008 14:33:38 +0200 |
parents | 380bad9f6852 |
children |
line wrap: on
line diff
--- a/dwt/custom/MovementEvent.d Tue Jun 24 22:12:18 2008 +0200 +++ b/dwt/custom/MovementEvent.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 @@ -21,6 +21,8 @@ * This event is sent when a new offset is required based on the current * offset and a movement type. * + * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> + * * @since 3.3 */ public class MovementEvent : TypedEvent { @@ -58,6 +60,12 @@ static final long serialVersionUID = 3978765487853324342L; +/** + * Constructs a new instance of this class based on the + * information in the given event. + * + * @param e the event containing the information + */ public this(StyledTextEvent e) { super(cast(Object)e); lineOffset = e.detail;