diff options
author | Bogdan Gheorghe | 2013-10-16 20:51:36 +0000 |
---|---|---|
committer | Bogdan Gheorghe | 2013-10-16 20:51:36 +0000 |
commit | 8e011a56db502581ae25e9c22022ffd19685b660 (patch) | |
tree | 6a65be445d18f0ba2316a2f30d08d5e29a534f3b | |
parent | c3c1c71633337f11f2ce18174ca386da541dca64 (diff) | |
download | eclipse.platform.swt-8e011a56db502581ae25e9c22022ffd19685b660.tar.gz eclipse.platform.swt-8e011a56db502581ae25e9c22022ffd19685b660.tar.xz eclipse.platform.swt-8e011a56db502581ae25e9c22022ffd19685b660.zip |
Update Javadoc comments
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 (); |