X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.spreadsheet.ui%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fui%2FTrackedModifyEvent.java;h=2fafe9128e20de870d98075cbfb9dab84a4c3e11;hb=refs%2Fchanges%2F38%2F238%2F2;hp=c47ac88e481b0b6de70ad93ea49fb00a72b8bb87;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/TrackedModifyEvent.java b/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/TrackedModifyEvent.java index c47ac88e4..2fafe9128 100644 --- a/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/TrackedModifyEvent.java +++ b/bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/TrackedModifyEvent.java @@ -1,39 +1,39 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.spreadsheet.ui; - -import java.util.EventObject; - -import javax.swing.JComponent; - -/** - * @author Tuukka Lehtonen - */ -public class TrackedModifyEvent extends EventObject { - - private static final long serialVersionUID = -1645464572481514311L; - - private String text; - - public TrackedModifyEvent(JComponent source, String text) { - super(source); - this.text = text; - } - - public JComponent getWidget() { - return (JComponent) getSource(); - } - - public String getText() { - return text; - } -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.spreadsheet.ui; + +import java.util.EventObject; + +import javax.swing.JComponent; + +/** + * @author Tuukka Lehtonen + */ +public class TrackedModifyEvent extends EventObject { + + private static final long serialVersionUID = -1645464572481514311L; + + private String text; + + public TrackedModifyEvent(JComponent source, String text) { + super(source); + this.text = text; + } + + public JComponent getWidget() { + return (JComponent) getSource(); + } + + public String getText() { + return text; + } +}