Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2013-03-12 14:28:58 +0000
committerMarkus Keller2013-03-12 14:28:58 +0000
commitc9fb1d33fdc90ff526b6516fee7d95cb9bedb0c1 (patch)
tree2b4562a85d5ccb2b9589e88521665b1153276fd0
parent4de3fbda087a82ce139bb3c3c3c0422b6dc3d1b8 (diff)
downloadeclipse.platform.swt-c9fb1d33fdc90ff526b6516fee7d95cb9bedb0c1.tar.gz
eclipse.platform.swt-c9fb1d33fdc90ff526b6516fee7d95cb9bedb0c1.tar.xz
eclipse.platform.swt-c9fb1d33fdc90ff526b6516fee7d95cb9bedb0c1.zip
Javadoc
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentListener.java7
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SegmentListener.java8
2 files changed, 7 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentListener.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentListener.java
index 11bd99e82a..02ed1c01a7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentListener.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
+ * Copyright (c) 2000, 2013 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
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.custom;
-import org.eclipse.swt.internal.SWTEventListener;
+import org.eclipse.swt.internal.*;
/**
* This listener interface may be implemented in order to receive
@@ -27,11 +27,10 @@ public interface BidiSegmentListener extends SWTEventListener {
* <li>event.lineOffset line start offset (input)</li>
* <li>event.lineText line text (input)</li>
* <li>event.segments text segments that should be reordered separately (output)</li>
- * <li>event.segmentsChars characters that should be inserted (output)</li>
+ * <li>event.segmentsChars characters that should be inserted (output, optional)</li>
* </ul>
*
* @param event the given event
- * separately. (output)
* @see BidiSegmentEvent
*/
public void lineGetSegments(BidiSegmentEvent event);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SegmentListener.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SegmentListener.java
index dfcc2fcbf9..d9c27a84c3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SegmentListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SegmentListener.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
+ * Copyright (c) 2000, 2013 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
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.swt.events;
-import org.eclipse.swt.internal.SWTEventListener;
+import org.eclipse.swt.internal.*;
/**
* This listener interface may be implemented in order to receive
@@ -25,9 +25,9 @@ public interface SegmentListener extends SWTEventListener {
* This method is called when text content is being modified.
* <p>
* The following event fields are used:<ul>
- * <li>event.text text content (input)</li>
- * <li>event.segmentsChars characters that should be inserted (output)</li>
+ * <li>event.lineText text content (input)</li>
* <li>event.segments text offsets for segment characters (output)</li>
+ * <li>event.segmentsChars characters that should be inserted (output, optional)</li>
* </ul>
*
* @param event the given event

Back to the top