diff options
author | Veronika Irvine <veronika> | 2003-03-27 16:06:57 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2003-03-27 16:06:57 +0000 |
commit | 08fd21538c9afd865a25b71bc27832ab8c6fc951 (patch) | |
tree | d326412cc27111d2fafaa98cb5645be520c7a642 | |
parent | 2f90c6a221df308d42656b5d54b5f900c3b8bdf1 (diff) | |
download | eclipse.platform.swt-08fd21538c9afd865a25b71bc27832ab8c6fc951.tar.gz eclipse.platform.swt-08fd21538c9afd865a25b71bc27832ab8c6fc951.tar.xz eclipse.platform.swt-08fd21538c9afd865a25b71bc27832ab8c6fc951.zip |
javadoc corrections
39 files changed, 44 insertions, 92 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/emulated/org/eclipse/swt/accessibility/Accessible.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/emulated/org/eclipse/swt/accessibility/Accessible.java index 00ebaea05e..bc6b590ab7 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/emulated/org/eclipse/swt/accessibility/Accessible.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/emulated/org/eclipse/swt/accessibility/Accessible.java @@ -51,8 +51,6 @@ public class Accessible { * * @param control the control to get the accessible object for * @return the platform specific accessible object - * - * @private */ public static Accessible internal_new_Accessible(Control control) { return new Accessible(control); @@ -99,7 +97,7 @@ public class Accessible { * </ul> * * @see AccessibleListener - * @see #addDisposeListener + * @see #addAccessibleListener */ public void removeAccessibleListener(AccessibleListener listener) { } @@ -173,8 +171,6 @@ public class Accessible { * available on all platforms, and should never be called from * application code. * </p> - * - * @private */ public void internal_dispose_Accessible() { } @@ -188,8 +184,6 @@ public class Accessible { * available on all platforms, and should never be called from * application code. * </p> - * - * @private */ public int internal_WM_GETOBJECT (int wParam, int lParam) { return 0; diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/Clipboard.java index ecb63b4ea6..986e2c2614 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/Clipboard.java @@ -222,7 +222,7 @@ public void setContents(Object[] data, Transfer[] dataTypes) { * sub-class. It should NOT be used within an application because it provides * platform specific information.</p> * - * @returns a platform specific list of the data types currently available on the + * @return a platform specific list of the data types currently available on the * system clipboard */ public String[] getAvailableTypeNames() { diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DragSource.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DragSource.java index 5770defa01..a3a1cb2ada 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DragSource.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DragSource.java @@ -112,7 +112,9 @@ public class DragSource extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source</li> + * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source; this will occur if more than one + * drag source is created for a control or if the operating system will not allow the creation + * of the drag source</li> * </ul> * * @see DragSource#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java index f801884e52..31e5630d39 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java @@ -90,7 +90,9 @@ public class DropTarget extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target</li> + * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target; this will occur if more than one + * drop target is created for a control or if the operating system will not allow the creation + * of the drop target</li> * </ul> * * @see DropTarget#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java index a50a76b12e..229d62bfba 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java @@ -191,7 +191,7 @@ public void setContents(Object[] data, Transfer[] dataTypes) { * sub-class. It should NOT be used within an application because it provides * platform specific information.</p> * - * @returns a platform specific list of the data types currently available on the + * @return a platform specific list of the data types currently available on the * system clipboard */ public String[] getAvailableTypeNames() { diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DragSource.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DragSource.java index 5770defa01..a3a1cb2ada 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DragSource.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DragSource.java @@ -112,7 +112,9 @@ public class DragSource extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source</li> + * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source; this will occur if more than one + * drag source is created for a control or if the operating system will not allow the creation + * of the drag source</li> * </ul> * * @see DragSource#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DropTarget.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DropTarget.java index 37a5145848..5e72869f65 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DropTarget.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/DropTarget.java @@ -90,7 +90,9 @@ public class DropTarget extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target</li> + * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target; this will occur if more than one + * drop target is created for a control or if the operating system will not allow the creation + * of the drop target</li> * </ul> * * @see DropTarget#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java index d5d1830e7d..465ae91cc5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java @@ -227,7 +227,7 @@ public void setContents(Object[] data, Transfer[] dataTypes) { * sub-class. It should NOT be used within an application because it provides * platform specific information.</p> * - * @returns a platform specific list of the data types currently available on the + * @return a platform specific list of the data types currently available on the * system clipboard */ public String[] getAvailableTypeNames() { diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java index 9ed1f76c7e..42c492fc99 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java @@ -125,7 +125,9 @@ public class DragSource extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source</li> + * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source; this will occur if more than one + * drag source is created for a control or if the operating system will not allow the creation + * of the drag source</li> * </ul> * * @see DragSource#dispose 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 b17bdf9d4e..677ff5c7f7 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 @@ -114,7 +114,9 @@ public class DropTarget extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target</li> + * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target; this will occur if more than one + * drop target is created for a control or if the operating system will not allow the creation + * of the drop target</li> * </ul> * * @see DropTarget#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/Clipboard.java index d3a546c6fa..4f0e35f515 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/Clipboard.java @@ -298,7 +298,7 @@ public void setContents(Object[] data, Transfer[] dataTypes) { * sub-class. It should NOT be used within an application because it provides * platform specific information.</p> * - * @returns a platform specific list of the data types currently available on the + * @return a platform specific list of the data types currently available on the * system clipboard */ public String[] getAvailableTypeNames() { diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DragSource.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DragSource.java index 4f1b1b2be3..86554f6f3c 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DragSource.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DragSource.java @@ -126,7 +126,9 @@ public class DragSource extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source</li> + * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source; this will occur if more than one + * drag source is created for a control or if the operating system will not allow the creation + * of the drag source</li> * </ul> * * @see DragSource#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java index 7990ad009e..1c15570376 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java @@ -119,7 +119,9 @@ public class DropTarget extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target</li> + * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target; this will occur if more than one + * drop target is created for a control or if the operating system will not allow the creation + * of the drop target</li> * </ul> * * @see DropTarget#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/Clipboard.java index 6ee02bb757..7cd0c92b0d 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/Clipboard.java @@ -260,7 +260,7 @@ public void setContents(Object[] data, Transfer[] dataTypes) { * sub-class. It should NOT be used within an application because it provides * platform specific information.</p> * - * @returns a platform specific list of the data types currently available on the + * @return a platform specific list of the data types currently available on the * system clipboard */ public String[] getAvailableTypeNames() { diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DragSource.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DragSource.java index 5770defa01..a3a1cb2ada 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DragSource.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DragSource.java @@ -112,7 +112,9 @@ public class DragSource extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source</li> + * <li>ERROR_CANNOT_INIT_DRAG - unable to initiate drag source; this will occur if more than one + * drag source is created for a control or if the operating system will not allow the creation + * of the drag source</li> * </ul> * * @see DragSource#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DropTarget.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DropTarget.java index 37a5145848..5e72869f65 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DropTarget.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DropTarget.java @@ -90,7 +90,9 @@ public class DropTarget extends Widget { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> * <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li> * @exception SWTError <ul> - * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target</li> + * <li>ERROR_CANNOT_INIT_DROP - unable to initiate drop target; this will occur if more than one + * drop target is created for a control or if the operating system will not allow the creation + * of the drop target</li> * </ul> * * @see DropTarget#dispose diff --git a/bundles/org.eclipse.swt/Eclipse SWT Printing/carbon/org/eclipse/swt/printing/Printer.java b/bundles/org.eclipse.swt/Eclipse SWT Printing/carbon/org/eclipse/swt/printing/Printer.java index 79d0b82758..e70d1eaf8d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Printing/carbon/org/eclipse/swt/printing/Printer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Printing/carbon/org/eclipse/swt/printing/Printer.java @@ -109,8 +109,6 @@ public Printer(PrinterData data) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC(GCData data) { return 0; @@ -128,8 +126,6 @@ public int internal_new_GC(GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC(int xGC, GCData data) { } diff --git a/bundles/org.eclipse.swt/Eclipse SWT Printing/gtk/org/eclipse/swt/printing/Printer.java b/bundles/org.eclipse.swt/Eclipse SWT Printing/gtk/org/eclipse/swt/printing/Printer.java index 79d0b82758..e70d1eaf8d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Printing/gtk/org/eclipse/swt/printing/Printer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Printing/gtk/org/eclipse/swt/printing/Printer.java @@ -109,8 +109,6 @@ public Printer(PrinterData data) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC(GCData data) { return 0; @@ -128,8 +126,6 @@ public int internal_new_GC(GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC(int xGC, GCData data) { } diff --git a/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java b/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java index d6ba2e2db6..c5c894141d 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java @@ -360,8 +360,6 @@ protected void destroy() { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC(GCData data) { int xGC = OS.XCreateGC(xDisplay, xDrawable, 0, null); @@ -396,8 +394,6 @@ public int internal_new_GC(GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC(int xGC, GCData data) { OS.XFreeGC(xDisplay, xGC); diff --git a/bundles/org.eclipse.swt/Eclipse SWT Printing/photon/org/eclipse/swt/printing/Printer.java b/bundles/org.eclipse.swt/Eclipse SWT Printing/photon/org/eclipse/swt/printing/Printer.java index fda5f0503d..7c524a199a 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Printing/photon/org/eclipse/swt/printing/Printer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Printing/photon/org/eclipse/swt/printing/Printer.java @@ -110,8 +110,6 @@ public Printer(PrinterData data) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC(GCData data) { return 0; @@ -129,8 +127,6 @@ public int internal_new_GC(GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC(int xGC, GCData data) { } diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/internal/Converter.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/internal/Converter.java index f3a34e919e..c0be2e8484 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/internal/Converter.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/internal/Converter.java @@ -18,6 +18,8 @@ package org.eclipse.swt.internal; * Note that, unicode characters which can not be found in the platform * encoding will be converted to an arbitrary platform specific character. * </p> + * + * @deprecated */ public final class Converter { diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java index e11a53084d..85d50bcb87 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java @@ -502,8 +502,6 @@ protected void init () { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public abstract int internal_new_GC (GCData data); @@ -519,8 +517,6 @@ public abstract int internal_new_GC (GCData data); * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public abstract void internal_dispose_GC (int handle, GCData data); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GCData.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GCData.java index 6ad4df4201..b062e97b16 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GCData.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GCData.java @@ -23,8 +23,6 @@ import org.eclipse.swt.*; * within the packages provided by SWT. It is not available on all * platforms, and should never be called from application code. * </p> - * - * @private */ public final class GCData { public Device device; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java index 77fe41b6c7..8e7dc955a0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java @@ -854,8 +854,6 @@ void init(Device device, ImageData image) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC (GCData data) { if (pixmap == 0) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); @@ -884,8 +882,6 @@ public int internal_new_GC (GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int gdkGC, GCData data) { OS.g_object_unref(gdkGC); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/internal/Converter.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/internal/Converter.java index ca98ad3480..c27bc99322 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/internal/Converter.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/internal/Converter.java @@ -20,6 +20,8 @@ import org.eclipse.swt.internal.gtk.OS; * Note that, unicode characters which can not be found in the platform * encoding will be converted to an arbitrary platform specific character. * </p> + * + * @deprecated */ public final class Converter { public static final byte [] NullByteArray = new byte [1]; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java index 04cc5f8cf2..c77b091913 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java @@ -1836,8 +1836,6 @@ int gtk_show_help (int widget, int helpType) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC (GCData data) { checkWidget (); @@ -1884,8 +1882,6 @@ int imHandle () { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int gdkGC, GCData data) { checkWidget (); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java index c87522d8da..c24fc6d0af 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java @@ -1328,8 +1328,6 @@ void initializeCallbacks () { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int gdkGC, GCData data) { OS.g_object_unref (gdkGC); @@ -1347,8 +1345,6 @@ public void internal_dispose_GC (int gdkGC, GCData data) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private * * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java index 20c6914732..206eb0822c 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java @@ -582,8 +582,6 @@ protected void init () { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public abstract int internal_new_GC (GCData data); @@ -599,8 +597,6 @@ public abstract int internal_new_GC (GCData data); * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public abstract void internal_dispose_GC (int handle, GCData data); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GCData.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GCData.java index 9dc5620bc0..08a2b3e969 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GCData.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GCData.java @@ -22,8 +22,6 @@ import org.eclipse.swt.*; * within the packages provided by SWT. It is not available on all * platforms, and should never be called from application code. * </p> - * - * @private */ public final class GCData { public Device device; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java index e744abe936..916eb85d1b 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java @@ -1040,8 +1040,6 @@ void init(Device device, ImageData image) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC (GCData data) { if (pixmap == 0) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); @@ -1074,8 +1072,6 @@ public int internal_new_GC (GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int gc, GCData data) { int xDisplay = 0; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java index 219b3b8d73..a44e223d4d 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java @@ -20,6 +20,8 @@ import org.eclipse.swt.internal.motif.*; * Note that, unicode characters which can not be found in the platform * encoding will be converted to an arbitrary platform specific character. * </p> + * + * @deprecated */ public final class Converter { diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java index 6a8e2b7e90..74812cfea8 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java @@ -1019,8 +1019,6 @@ int hoverProc (int id, boolean showTip) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC (GCData data) { checkWidget(); @@ -1061,8 +1059,6 @@ public int internal_new_GC (GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int xGC, GCData data) { checkWidget (); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java index 1d393e8f5c..d4890b73aa 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java @@ -1603,8 +1603,6 @@ void initializeTranslations () { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private * * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> @@ -1641,8 +1639,6 @@ public int internal_new_GC (GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int gc, GCData data) { OS.XFreeGC(xDisplay, gc); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java index b42466f214..a652fa94aa 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java @@ -475,8 +475,6 @@ protected void init () { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public abstract int internal_new_GC (GCData data); @@ -492,8 +490,6 @@ public abstract int internal_new_GC (GCData data); * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public abstract void internal_dispose_GC (int handle, GCData data); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GCData.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GCData.java index 651ec10dfa..c35f694a66 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GCData.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GCData.java @@ -22,8 +22,6 @@ import org.eclipse.swt.*; * within the packages provided by SWT. It is not available on all * platforms, and should never be called from application code. * </p> - * - * @private */ public final class GCData { public Device device; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Image.java index 75c009add6..710017cf01 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Image.java @@ -891,8 +891,6 @@ void init(Device device, ImageData i) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC (GCData data) { if (handle == 0) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); @@ -930,8 +928,6 @@ public int internal_new_GC (GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int pmMC, GCData data) { OS.PmMemReleaseMC(pmMC); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/Converter.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/Converter.java index a41c082bcf..a516d8f0be 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/Converter.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/Converter.java @@ -20,6 +20,8 @@ import java.io.UnsupportedEncodingException; * Note that, unicode characters which can not be found in the platform * encoding will be converted to an arbitrary platform specific character. * </p> + * + * @deprecated */ public final class Converter { diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java index bb4187d17c..a37a23ae3c 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java @@ -933,8 +933,6 @@ int focusHandle () { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private */ public int internal_new_GC (GCData data) { checkWidget(); @@ -964,8 +962,6 @@ public int internal_new_GC (GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int phGC, GCData data) { checkWidget (); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java index c3db9d12a9..a1b4c2c06b 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java @@ -1255,8 +1255,6 @@ int inputProc (int data, int rcvid, int message, int size) { * * @param data the platform specific GC data * @return the platform specific GC handle - * - * @private * * @exception SWTError <ul> * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> @@ -1287,8 +1285,6 @@ public int internal_new_GC (GCData data) { * * @param handle the platform specific GC handle * @param data the platform specific GC data - * - * @private */ public void internal_dispose_GC (int phGC, GCData data) { OS.PgDestroyGC(phGC); |