Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Gheorghe2013-10-16 20:51:36 +0000
committerBogdan Gheorghe2013-10-16 20:51:36 +0000
commit8e011a56db502581ae25e9c22022ffd19685b660 (patch)
tree6a65be445d18f0ba2316a2f30d08d5e29a534f3b /bundles
parentc3c1c71633337f11f2ce18174ca386da541dca64 (diff)
downloadeclipse.platform.swt-8e011a56db502581ae25e9c22022ffd19685b660.tar.gz
eclipse.platform.swt-8e011a56db502581ae25e9c22022ffd19685b660.tar.xz
eclipse.platform.swt-8e011a56db502581ae25e9c22022ffd19685b660.zip
Update Javadoc comments
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DropTarget.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java1
5 files changed, 8 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DropTarget.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DropTarget.java
index bb03707333..29be359346 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DropTarget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DropTarget.java
@@ -604,7 +604,7 @@ int getOperationFromKeyState() {
* Returns a list of the data types that can be transferred to this DropTarget.
*
* @return a list of the data types that can be transferred to this DropTarget
- */
+ */
public Transfer[] getTransfer() {
return transferAgents;
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
index a4270d2bb2..f4c52733b7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
@@ -2111,11 +2111,11 @@ public void setText (String string) {
* has style <code>SWT.SINGLE</code> and the argument contains multiple lines of text
* then the result of this operation is undefined and may vary between platforms.
* <p>
- * Note: Use the API to protect the text, for example, when widget is used as
+ * Note: Use the API to protect the text, for example, when the widget is used as
* a password field. However, the text can't be protected if Verify or
* Segment listener is added to the widget.
* </p>
- *
+ *
* @param text a character array that contains the new text
*
* @exception IllegalArgumentException <ul>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
index c5513fb7a2..2bbdf17d4c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
@@ -1397,6 +1397,7 @@ public void removeListener (int eventType, Listener listener) {
* @see #addListener
*
* @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
*/
protected void removeListener (int eventType, SWTEventListener handler) {
checkWidget();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
index 8f2995e200..87183c256c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
@@ -1267,7 +1267,7 @@ public String getText (int start, int end) {
* a password field. However, the text can't be protected if Segment listener
* is added to the widget.
* </p>
- *
+ *
* @return a character array that contains the widget's text
*
* @exception SWTException <ul>
@@ -2435,11 +2435,11 @@ public void setText (String string) {
* has style <code>SWT.SINGLE</code> and the argument contains multiple lines of text
* then the result of this operation is undefined and may vary between platforms.
* <p>
- * Note: Use the API to protect the text, for example, when widget is used as
+ * Note: Use the API to protect the text, for example, when the widget is used as
* a password field. However, the text can't be protected if Verify or
* Segment listener is added to the widget.
* </p>
- *
+ *
* @param text a character array that contains the new text
*
* @exception IllegalArgumentException <ul>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
index 8b16a21efb..e01a4ffb49 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
@@ -1289,6 +1289,7 @@ public void removeListener (int eventType, Listener listener) {
* @see #addListener
*
* @noreference This method is not intended to be referenced by clients.
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
*/
protected void removeListener (int eventType, SWTEventListener handler) {
checkWidget ();

Back to the top