summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2004-11-18 15:58:55 +0000
committerVeronika Irvine <veronika>2004-11-18 15:58:55 +0000
commit79189f485756508539a1e74d8f3bd3b4413b074f (patch)
tree7093b6a79d1bca576c6a2f42d213473e85420896
parentc3388f2dbc67c4b1f6404848f20c473d0d63972f (diff)
downloadeclipse.platform.swt-79189f485756508539a1e74d8f3bd3b4413b074f.tar.gz
eclipse.platform.swt-79189f485756508539a1e74d8f3bd3b4413b074f.tar.xz
eclipse.platform.swt-79189f485756508539a1e74d8f3bd3b4413b074f.zip
add serialVersionUID
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/LocationEvent.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/ProgressEvent.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/StatusTextEvent.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/TitleEvent.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WindowEvent.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentEvent.java4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderEvent.java2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ExtendedModifyEvent.java11
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineBackgroundEvent.java2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedEvent.java3
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangingEvent.java2
12 files changed, 32 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/LocationEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/LocationEvent.java
index e724b5b44a..5163657e74 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/LocationEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/LocationEvent.java
@@ -39,6 +39,8 @@ public class LocationEvent extends TypedEvent {
*/
public boolean doit;
+ static final long serialVersionUID = 3906644198244299574L;
+
LocationEvent(Widget w) {
super(w);
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/ProgressEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/ProgressEvent.java
index ff5ee41a17..eb6955ea01 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/ProgressEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/ProgressEvent.java
@@ -26,6 +26,8 @@ public class ProgressEvent extends TypedEvent {
public int current;
/** total value */
public int total;
+
+ static final long serialVersionUID = 3977018427045393972L;
ProgressEvent(Widget w) {
super(w);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/StatusTextEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/StatusTextEvent.java
index d92af6094f..f9be2bb783 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/StatusTextEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/StatusTextEvent.java
@@ -24,6 +24,8 @@ import org.eclipse.swt.events.*;
public class StatusTextEvent extends TypedEvent {
/** status text */
public String text;
+
+ static final long serialVersionUID = 3258407348371600439L;
StatusTextEvent(Widget w) {
super(w);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/TitleEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/TitleEvent.java
index 18c1c43891..d3e1e2c132 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/TitleEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/TitleEvent.java
@@ -23,6 +23,8 @@ import org.eclipse.swt.events.*;
public class TitleEvent extends TypedEvent {
/** the title of the current document */
public String title;
+
+ static final long serialVersionUID = 4121132532906340919L;
TitleEvent(Widget w) {
super(w);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WindowEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WindowEvent.java
index c4ff9e13af..aef7237745 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WindowEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WindowEvent.java
@@ -144,6 +144,8 @@ public class WindowEvent extends TypedEvent {
*/
public boolean toolBar;
+ static final long serialVersionUID = 3617851997387174969L;
+
WindowEvent(Widget w) {
super(w);
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentEvent.java
index 0d1b738723..4cf377afd5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentEvent.java
@@ -63,7 +63,9 @@ public class BidiSegmentEvent extends TypedEvent {
/** line text */
public String lineText;
/** bidi segments, see above */
- public int[] segments;
+ public int[] segments;
+
+ static final long serialVersionUID = 3257846571587547957L;
BidiSegmentEvent(StyledTextEvent e) {
super(e);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderEvent.java
index 6dfc00025c..5a1af365fc 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderEvent.java
@@ -59,6 +59,8 @@ public class CTabFolderEvent extends TypedEvent {
*/
public int height;
+ static final long serialVersionUID = 3760566386225066807L;
+
/**
* Constructs a new instance of this class.
*
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ExtendedModifyEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ExtendedModifyEvent.java
index de14f0219f..7ce2bb74ec 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ExtendedModifyEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ExtendedModifyEvent.java
@@ -16,9 +16,14 @@ import org.eclipse.swt.events.*;
* This event is sent after a text change occurs.
*/
public final class ExtendedModifyEvent extends TypedEvent {
- public int start; // start offset of the new text
- public int length; // length of the new text
- public String replacedText; // replaced text or empty string if no text was replaced
+ /** start offset of the new text */
+ public int start;
+ /** length of the new text */
+ public int length;
+ /** replaced text or empty string if no text was replaced */
+ public String replacedText;
+
+ static final long serialVersionUID = 3258696507027830832L;
public ExtendedModifyEvent(StyledTextEvent e) {
super(e);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineBackgroundEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineBackgroundEvent.java
index d89e6534cc..56756e0c98 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineBackgroundEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineBackgroundEvent.java
@@ -21,6 +21,8 @@ public class LineBackgroundEvent extends TypedEvent {
public String lineText; // line text
public Color lineBackground; // line background color
+ static final long serialVersionUID = 3978711687853324342L;
+
public LineBackgroundEvent(StyledTextEvent e) {
super(e);
lineOffset = e.detail;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java
index 401fdbcaf8..08b9eda09e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java
@@ -20,6 +20,8 @@ public class LineStyleEvent extends TypedEvent {
public String lineText; // line text
public StyleRange[] styles; // array of StyleRanges
+ static final long serialVersionUID = 3906081274027192884L;
+
public LineStyleEvent(StyledTextEvent e) {
super(e);
lineOffset = e.detail;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedEvent.java
index 2243ed39e6..58a24a15f7 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedEvent.java
@@ -17,6 +17,9 @@ import org.eclipse.swt.events.*;
* the text occurs.
*/
public class TextChangedEvent extends TypedEvent {
+
+ static final long serialVersionUID = 3258696524257835065L;
+
/**
* Create the TextChangedEvent to be used by the StyledTextContent implementor.
* <p>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangingEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangingEvent.java
index 2d4f5e2d7d..a40e57e570 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangingEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangingEvent.java
@@ -44,6 +44,8 @@ public class TextChangingEvent extends TypedEvent {
*/
public int newLineCount;
+ static final long serialVersionUID = 3257290210114352439L;
+
/**
* Create the TextChangedEvent to be used by the StyledTextContent implementor.
* <p>