1 /*******************************************************************************
2  * Copyright (c) 2000, 2011 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.custom;
15 
16 import org.eclipse.swt.events.*;
17 
18 /**
19  * This event is sent by the StyledTextContent implementor when a change to
20  * the text occurs.
21  *
22  * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
23  */
24 public class TextChangedEvent extends TypedEvent {
25 
26 	static final long serialVersionUID = 3258696524257835065L;
27 
28 /**
29  * Create the TextChangedEvent to be used by the StyledTextContent implementor.
30  * <p>
31  *
32  * @param source the object that will be sending the TextChangedEvent,
33  * 	cannot be null
34  */
TextChangedEvent(StyledTextContent source)35 public TextChangedEvent(StyledTextContent source) {
36 	super(source);
37 }
38 }
39