Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Pazderski2019-05-18 13:05:03 -0400
committerPaul Pazderski2019-06-14 18:34:53 -0400
commit7051049221c9d3b99ff179f167fa09a6e02138ee (patch)
tree21704e08b4c470f16f4fece637154f86fce96cc8 /bundles/org.eclipse.swt/Eclipse SWT PI
parenta1b9b9e1accf9dfece07675d7919a6f4e6561891 (diff)
downloadeclipse.platform.swt-7051049221c9d3b99ff179f167fa09a6e02138ee.tar.gz
eclipse.platform.swt-7051049221c9d3b99ff179f167fa09a6e02138ee.tar.xz
eclipse.platform.swt-7051049221c9d3b99ff179f167fa09a6e02138ee.zip
Bug 547304 - [cleanup] Fix wrong space/tab indentation
This change fixes space or mixed tab/space indentations in all Java files. This also includes two or three space indentations and even fix most stray single spaces in indentations. The change includes only whitespace formatting and no code changes. Change-Id: Ib7b260691acee06845cc580dd8cb859de0da8bf1
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java30
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java10
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java34
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java226
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java26
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/FileDialogVtbl.java54
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/ShellItemVtbl.java16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/GUID.java8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleInPlaceActiveObject.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IStorage.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CERT_PUBLIC_KEY_INFO.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTURECONFIG.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTUREINFO.java30
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java68
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java6
21 files changed, 280 insertions, 280 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
index 86a280dfaa..c656c6d69c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/org/eclipse/swt/internal/cairo/Cairo.java
@@ -66,18 +66,18 @@ public class Cairo extends Platform {
public static final int CAIRO_STATUS_NULL_POINTER =7;
public static final int CAIRO_SURFACE_TYPE_IMAGE = 0;
public static final int CAIRO_SURFACE_TYPE_PDF = 1;
- public static final int CAIRO_SURFACE_TYPE_PS = 2;
- public static final int CAIRO_SURFACE_TYPE_XLIB = 3;
- public static final int CAIRO_SURFACE_TYPE_XCB = 4;
- public static final int CAIRO_SURFACE_TYPE_GLITZ = 5;
- public static final int CAIRO_SURFACE_TYPE_QUARTZ = 6;
- public static final int CAIRO_SURFACE_TYPE_WIN32 = 7;
- public static final int CAIRO_SURFACE_TYPE_BEOS = 8;
- public static final int CAIRO_SURFACE_TYPE_DIRECTFB = 9;
- public static final int CAIRO_SURFACE_TYPE_SVG = 10;
- public static final int CAIRO_REGION_OVERLAP_IN = 0;
- public static final int CAIRO_REGION_OVERLAP_OUT = 1;
- public static final int CAIRO_REGION_OVERLAP_PART = 2;
+ public static final int CAIRO_SURFACE_TYPE_PS = 2;
+ public static final int CAIRO_SURFACE_TYPE_XLIB = 3;
+ public static final int CAIRO_SURFACE_TYPE_XCB = 4;
+ public static final int CAIRO_SURFACE_TYPE_GLITZ = 5;
+ public static final int CAIRO_SURFACE_TYPE_QUARTZ = 6;
+ public static final int CAIRO_SURFACE_TYPE_WIN32 = 7;
+ public static final int CAIRO_SURFACE_TYPE_BEOS = 8;
+ public static final int CAIRO_SURFACE_TYPE_DIRECTFB = 9;
+ public static final int CAIRO_SURFACE_TYPE_SVG = 10;
+ public static final int CAIRO_REGION_OVERLAP_IN = 0;
+ public static final int CAIRO_REGION_OVERLAP_OUT = 1;
+ public static final int CAIRO_REGION_OVERLAP_PART = 2;
public static final int CAIRO_FILTER_FAST = 0;
public static final int CAIRO_FILTER_GOOD = 1;
public static final int CAIRO_FILTER_BEST = 2;
@@ -1285,7 +1285,7 @@ public static final native long _cairo_region_copy(long region);
public static final long cairo_region_copy(long region) {
lock.lock();
try {
- return _cairo_region_copy(region);
+ return _cairo_region_copy(region);
} finally {
lock.unlock();
}
@@ -1356,7 +1356,7 @@ public static final native void _cairo_region_get_rectangle(long region, int nth
public static final void cairo_region_get_rectangle(long region, int nth, long rectangle) {
lock.lock();
try {
- _cairo_region_get_rectangle(region, nth, rectangle);
+ _cairo_region_get_rectangle(region, nth, rectangle);
} finally {
lock.unlock();
}
@@ -1406,7 +1406,7 @@ public static final native void _cairo_region_translate(long region, int dx, int
public static final void cairo_region_translate(long region, int dx, int dy) {
lock.lock();
try {
- _cairo_region_translate(region,dx,dy);
+ _cairo_region_translate(region,dx,dy);
} finally {
lock.unlock();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
index e053462734..ef08209ae4 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
@@ -256,13 +256,13 @@ public static final native int GetDblTime();
@param outIconRef cast=(IconRef *) */
public static final native int GetIconRefFromTypeInfo(int inCreator, int inType, long inExtension, long inMIMEType, int inUsageFlags, long outIconRef[]);
/** @method flags=dynamic
- @param context cast=(CGContextRef) */
+ @param context cast=(CGContextRef) */
public static final native long CGContextCopyPath(long context);
/** @method flags=dynamic */
public static final native long TISCopyCurrentKeyboardInputSource();
/** @method flags=dynamic
- @param inputSource cast=(TISInputSourceRef)
- @param propertyKey cast=(CFStringRef) */
+ @param inputSource cast=(TISInputSourceRef)
+ @param propertyKey cast=(CFStringRef) */
public static final native long TISGetInputSourceProperty (long inputSource, long propertyKey);
/** @method flags=no_gen */
public static final native long kTISPropertyUnicodeKeyLayoutData();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java b/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java
index b09de9a528..50e91651eb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java
@@ -27,12 +27,12 @@ public class Library {
/**
* SWT Major version number (must be >= 0)
*/
- static int MAJOR_VERSION = 4;
+ static int MAJOR_VERSION = 4;
/**
* SWT Minor version number (must be in the range 0..999)
*/
- static int MINOR_VERSION = 928;
+ static int MINOR_VERSION = 928;
/**
* SWT revision number (must be >= 0)
@@ -168,14 +168,14 @@ static boolean extract (String extractToFilePath, String mappedName) {
tempFile = File.createTempFile (file.getName(), ".tmp", file.getParentFile()); //$NON-NLS-1$
} catch (Throwable e) {
return false;
- }
+ }
// Extract resource
String resourceName = "/" + mappedName; //$NON-NLS-1$
if (!extractResource (resourceName, tempFile)) {
tempFile.delete();
return false;
- }
+ }
// Make it executable
chmod ("755", tempFile.getPath()); //$NON-NLS-1$
@@ -459,7 +459,7 @@ public static File findResource(String subDir, String resourceName, boolean mapR
// Create temp directory if it doesn't exist
File tempDir = new File (USER_HOME, SWT_LIB_DIR + maybeSubDirPathWithPrefix);
if ((!tempDir.exists () || tempDir.isDirectory ())) {
- tempDir.mkdirs ();
+ tempDir.mkdirs ();
}
if (extract(file.getPath(), maybeSubDirPath + finalResourceName)) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java
index e8072b71f8..16e7f629f0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java
@@ -649,13 +649,13 @@ public class GDK extends OS {
*/
public static final native void _gdk_cairo_set_source_pixbuf(long cairo, long pixbuf, double pixbuf_x, double pixbuf_y);
public static final void gdk_cairo_set_source_pixbuf(long cairo, long pixbuf, double pixbuf_x, double pixbuf_y) {
- lock.lock();
- try {
- _gdk_cairo_set_source_pixbuf(cairo,pixbuf,pixbuf_x,pixbuf_y);
- }
- finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gdk_cairo_set_source_pixbuf(cairo,pixbuf,pixbuf_x,pixbuf_y);
+ }
+ finally {
+ lock.unlock();
+ }
}
/**
* @param cairo cast=(cairo_t *)
@@ -666,13 +666,13 @@ public class GDK extends OS {
public static final native void _gdk_cairo_set_source_window(long cairo, long window, int x, int y);
/** [GTK3 only, if-def'd in os.h] */
public static final void gdk_cairo_set_source_window(long cairo, long window, int x, int y) {
- lock.lock();
- try {
- _gdk_cairo_set_source_window(cairo, window, x, y);
- }
- finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gdk_cairo_set_source_window(cairo, window, x, y);
+ }
+ finally {
+ lock.unlock();
+ }
}
/** @param display cast=(GdkDisplay *)
* @param cursor_type cast=(GdkCursorType)
@@ -1411,9 +1411,9 @@ public class GDK extends OS {
lock.lock();
try {
return _gdk_keymap_get_entries_for_keyval(keymap, keyval, keys, n_keys);
- } finally {
- lock.unlock();
- }
+ } finally {
+ lock.unlock();
+ }
}
public static final native long _gdk_keyval_to_lower(long keyval);
public static final long gdk_keyval_to_lower(long keyval) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
index fc15134ac6..179be70ba4 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
@@ -1350,7 +1350,7 @@ public class GTK extends OS {
public static final void gtk_color_chooser_set_use_alpha (long chooser, boolean use_alpha) {
lock.lock();
try {
- _gtk_color_chooser_set_use_alpha (chooser, use_alpha);
+ _gtk_color_chooser_set_use_alpha (chooser, use_alpha);
} finally {
lock.unlock();
}
@@ -1362,7 +1362,7 @@ public class GTK extends OS {
public static final boolean gtk_color_chooser_get_use_alpha (long chooser) {
lock.lock();
try {
- return _gtk_color_chooser_get_use_alpha (chooser);
+ return _gtk_color_chooser_get_use_alpha (chooser);
} finally {
lock.unlock();
}
@@ -1375,7 +1375,7 @@ public class GTK extends OS {
public static final void gtk_color_chooser_get_rgba(long chooser, GdkRGBA color) {
lock.lock();
try {
- _gtk_color_chooser_get_rgba(chooser, color);
+ _gtk_color_chooser_get_rgba(chooser, color);
} finally {
lock.unlock();
}
@@ -1388,7 +1388,7 @@ public class GTK extends OS {
public static final void gtk_color_chooser_set_rgba(long chooser, GdkRGBA color) {
lock.lock();
try {
- _gtk_color_chooser_set_rgba(chooser, color);
+ _gtk_color_chooser_set_rgba(chooser, color);
} finally {
lock.unlock();
}
@@ -2505,42 +2505,42 @@ public class GTK extends OS {
public static final native long _gtk_gesture_multi_press_new();
/** [GTK4 only, if-def'd in os.h] */
public static final long gtk_gesture_multi_press_new() {
- lock.lock();
- try {
- return _gtk_gesture_multi_press_new();
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_gesture_multi_press_new();
+ } finally {
+ lock.unlock();
+ }
}
public static final native long _gtk_event_controller_key_new();
/** [GTK4 only, if-def'd in os.h] */
public static final long gtk_event_controller_key_new() {
- lock.lock();
- try {
- return _gtk_event_controller_key_new();
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_event_controller_key_new();
+ } finally {
+ lock.unlock();
+ }
}
public static final native long _gtk_event_controller_motion_new();
/** [GTK4 only, if-def'd in os.h] */
public static final long gtk_event_controller_motion_new() {
- lock.lock();
- try {
- return _gtk_event_controller_motion_new();
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_event_controller_motion_new();
+ } finally {
+ lock.unlock();
+ }
}
public static final native long _gtk_event_controller_scroll_new(int flag);
/** [GTK4 only, if-def'd in os.h] */
public static final long gtk_event_controller_scroll_new(int flag) {
- lock.lock();
- try {
- return _gtk_event_controller_scroll_new(flag);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_event_controller_scroll_new(flag);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @param widget cast=(GtkWidget *)
@@ -2549,24 +2549,24 @@ public class GTK extends OS {
public static final native void _gtk_widget_add_controller(long widget, long controller);
/** [GTK4 only, if-def'd in os.h] */
public static final void gtk_widget_add_controller(long widget, long controller) {
- lock.lock();
- try {
- _gtk_widget_add_controller(widget, controller);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gtk_widget_add_controller(widget, controller);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
*/
public static final native void _gtk_event_controller_set_propagation_phase(long controller, int phase);
public static final void gtk_event_controller_set_propagation_phase(long controller, int phase) {
- lock.lock();
- try {
- _gtk_event_controller_set_propagation_phase(controller, phase);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gtk_event_controller_set_propagation_phase(controller, phase);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
@@ -2589,24 +2589,24 @@ public class GTK extends OS {
*/
public static final native void _gtk_event_controller_handle_event(long gesture, long event);
public static final void gtk_event_controller_handle_event(long gesture, long event) {
- lock.lock();
- try {
- _gtk_event_controller_handle_event(gesture, event);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gtk_event_controller_handle_event(gesture, event);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
*/
public static final native long _gtk_event_controller_get_widget(long controller);
public static final long gtk_event_controller_get_widget(long controller) {
- lock.lock();
- try {
- return _gtk_event_controller_get_widget(controller);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_event_controller_get_widget(controller);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @param filter cast=(GtkFileFilter *)
@@ -2683,12 +2683,12 @@ public class GTK extends OS {
*/
public static final native long _gtk_gesture_drag_new(long widget);
public static final long gtk_gesture_drag_new(long widget) {
- lock.lock();
- try {
- return _gtk_gesture_drag_new(widget);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_gesture_drag_new(widget);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
@@ -2743,12 +2743,12 @@ public class GTK extends OS {
*/
public static final native void _gtk_gesture_group (long group_gesture, long gesture);
public static final void gtk_gesture_group (long group_gesture, long gesture) {
- lock.lock();
- try {
- _gtk_gesture_group(group_gesture, gesture);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gtk_gesture_group(group_gesture, gesture);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
@@ -2757,7 +2757,7 @@ public class GTK extends OS {
public static final void gtk_gesture_pan_set_orientation(long orientation) {
lock.lock();
try {
- _gtk_gesture_pan_set_orientation(orientation);
+ _gtk_gesture_pan_set_orientation(orientation);
} finally {
lock.unlock();
}
@@ -2791,12 +2791,12 @@ public class GTK extends OS {
*/
public static final native void _gtk_gesture_single_set_button(long gesture, int button);
public static final void gtk_gesture_single_set_button(long gesture, int button) {
- lock.lock();
- try {
- _gtk_gesture_single_set_button(gesture, button);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gtk_gesture_single_set_button(gesture, button);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
@@ -2827,12 +2827,12 @@ public class GTK extends OS {
*/
public static final native void _gtk_gesture_drag_get_offset(long gesture, double[] x, double[] y);
public static final void gtk_gesture_drag_get_offset(long gesture, double[] x, double[] y) {
- lock.lock();
- try {
- _gtk_gesture_drag_get_offset(gesture, x, y);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gtk_gesture_drag_get_offset(gesture, x, y);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
@@ -2853,36 +2853,36 @@ public class GTK extends OS {
public static final native long _gtk_gesture_rotate_new(long widget);
public static final long gtk_gesture_rotate_new(long widget) {
- lock.lock();
- try {
- return _gtk_gesture_rotate_new(widget);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_gesture_rotate_new(widget);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
*/
public static final native long _gtk_gesture_zoom_new(long widget);
public static final long gtk_gesture_zoom_new(long widget) {
- lock.lock();
- try {
- return _gtk_gesture_zoom_new(widget);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_gesture_zoom_new(widget);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
*/
public static final native double _gtk_gesture_zoom_get_scale_delta (long gesture);
public static final double gtk_gesture_zoom_get_scale_delta (long gesture) {
- lock.lock();
- try {
- return _gtk_gesture_zoom_get_scale_delta(gesture);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_gesture_zoom_get_scale_delta(gesture);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @method flags=dynamic
@@ -3031,7 +3031,7 @@ public class GTK extends OS {
public static final void gtk_widget_set_margin_start (long widget, int margin) {
lock.lock();
try {
- _gtk_widget_set_margin_start(widget, margin);
+ _gtk_widget_set_margin_start(widget, margin);
} finally {
lock.unlock();
}
@@ -3045,7 +3045,7 @@ public class GTK extends OS {
public static final void gtk_widget_set_margin_end (long widget, int margin) {
lock.lock();
try {
- _gtk_widget_set_margin_end(widget, margin);
+ _gtk_widget_set_margin_end(widget, margin);
} finally {
lock.unlock();
}
@@ -3059,7 +3059,7 @@ public class GTK extends OS {
public static final void gtk_widget_set_margin_top (long widget, int margin) {
lock.lock();
try {
- _gtk_widget_set_margin_top(widget, margin);
+ _gtk_widget_set_margin_top(widget, margin);
} finally {
lock.unlock();
}
@@ -3073,7 +3073,7 @@ public class GTK extends OS {
public static final void gtk_widget_set_margin_bottom (long widget, int margin) {
lock.lock();
try {
- _gtk_widget_set_margin_bottom(widget, margin);
+ _gtk_widget_set_margin_bottom(widget, margin);
} finally {
lock.unlock();
}
@@ -5494,12 +5494,12 @@ public class GTK extends OS {
*/
public static final native void _gtk_range_get_slider_range(long range, int[] slider_start, int[] slider_end);
public static final void gtk_range_get_slider_range(long range, int[] slider_start, int[] slider_end) {
- lock.lock();
- try {
- _gtk_range_get_slider_range(range, slider_start, slider_end);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ _gtk_range_get_slider_range(range, slider_start, slider_end);
+ } finally {
+ lock.unlock();
+ }
}
/**
* @param scale cast=(GtkScale *)
@@ -5930,7 +5930,7 @@ public class GTK extends OS {
public static final long gtk_snapshot_append_cairo(long snapshot, long rect) {
lock.lock();
try {
- return _gtk_snapshot_append_cairo(snapshot, rect);
+ return _gtk_snapshot_append_cairo(snapshot, rect);
} finally {
lock.unlock();
}
@@ -7269,7 +7269,7 @@ public class GTK extends OS {
public static final long gtk_tree_path_compare(long a, long b) {
lock.lock();
try {
- return _gtk_tree_path_compare(a, b);
+ return _gtk_tree_path_compare(a, b);
} finally {
lock.unlock();
}
@@ -8790,12 +8790,12 @@ public class GTK extends OS {
/** @param widget cast=(GtkWidget *) */
public static final native boolean _gtk_widget_has_focus(long widget);
public static final boolean gtk_widget_has_focus(long widget) {
- lock.lock();
- try {
- return _gtk_widget_has_focus(widget);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _gtk_widget_has_focus(widget);
+ } finally {
+ lock.unlock();
+ }
}
/** @param widget cast=(GtkWidget *) */
public static final native void _gtk_widget_hide(long widget);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java
index 0e9767477c..085ac39d9a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java
@@ -32,9 +32,9 @@ public class GdkEventKey extends GdkEvent {
public long string;
/** @field cast=(guint16) */
public short hardware_keycode;
- /** @field cast=(guint8) */
+ /** @field cast=(guint8) */
public byte group;
/** @field cast=(guint) */
public int is_modifier;
- public static final int sizeof = GDK.GdkEventKey_sizeof();
+ public static final int sizeof = GDK.GdkEventKey_sizeof();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index ba04f401e8..166b509743 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -1496,7 +1496,7 @@ public static final native void _g_signal_remove_emission_hook(int signal_id, lo
public static final void g_signal_remove_emission_hook(int signal_id, long hook_id) {
lock.lock();
try {
- _g_signal_remove_emission_hook (signal_id, hook_id);
+ _g_signal_remove_emission_hook (signal_id, hook_id);
} finally {
lock.unlock();
}
@@ -4190,12 +4190,12 @@ public static final native long _g_dbus_proxy_new_for_bus_sync (int bus_type, in
long cancellable, long [] error);
public static final long g_dbus_proxy_new_for_bus_sync (int bus_type, int flags, long info, byte [] name, byte [] object_path, byte [] interface_name,
long cancellable, long [] error) {
- lock.lock();
- try {
- return _g_dbus_proxy_new_for_bus_sync (bus_type, flags, info, name, object_path, interface_name, cancellable, error);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _g_dbus_proxy_new_for_bus_sync (bus_type, flags, info, name, object_path, interface_name, cancellable, error);
+ } finally {
+ lock.unlock();
+ }
}
/**
@@ -4259,12 +4259,12 @@ public static final long g_dbus_proxy_call_finish (long proxy, long res, long []
public static final native long _g_dbus_node_info_new_for_xml (byte[] xml_data, long [] error);
/** @category gdbus */
public static final long g_dbus_node_info_new_for_xml (byte[] xml_data, long [] error) {
- lock.lock();
- try {
- return _g_dbus_node_info_new_for_xml (xml_data, error);
- } finally {
- lock.unlock();
- }
+ lock.lock();
+ try {
+ return _g_dbus_node_info_new_for_xml (xml_data, error);
+ } finally {
+ lock.unlock();
+ }
}
/**
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/FileDialogVtbl.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/FileDialogVtbl.java
index bc69d3574d..9ee7198fc5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/FileDialogVtbl.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/FileDialogVtbl.java
@@ -17,31 +17,31 @@ package org.eclipse.swt.internal.com.win32;
* Function number constants for IFileDialog COM interface
*/
public class FileDialogVtbl{
- public static final int QUERY_INTERFACE = 0;
- public static final int ADD_REF = 1;
- public static final int RELEASE = 2;
- public static final int SHOW = 3;
- public static final int SET_FILE_TYPES = 4;
- public static final int SET_FILE_TYPE_INDEX = 5;
- public static final int GET_FILE_TYPE_INDEX = 6;
- public static final int ADVISE = 7;
- public static final int UNADVISE = 8;
- public static final int SET_OPTIONS = 9;
- public static final int GET_OPTIONS = 10;
- public static final int SET_DEFAULT_FOLDER = 11;
- public static final int SET_FOLDER = 12;
- public static final int GET_FOLDER = 13;
- public static final int GET_CURRENT_SELECTION = 14;
- public static final int SET_FILE_NAME = 15;
- public static final int GET_FILE_NAME = 16;
- public static final int SET_TITLE = 17;
- public static final int SET_OK_BUTTON_LABEL = 18;
- public static final int SET_FILE_NAME_LABEL = 19;
- public static final int GET_RESULT = 20;
- public static final int ADD_PLACE = 21;
- public static final int SET_DEFAULT_EXTENSION = 22;
- public static final int CLOSE = 23;
- public static final int SET_CLIENT_GUID = 24;
- public static final int CLEAR_CLIENT_DATA = 25;
- public static final int SET_FILTER = 26;
+ public static final int QUERY_INTERFACE = 0;
+ public static final int ADD_REF = 1;
+ public static final int RELEASE = 2;
+ public static final int SHOW = 3;
+ public static final int SET_FILE_TYPES = 4;
+ public static final int SET_FILE_TYPE_INDEX = 5;
+ public static final int GET_FILE_TYPE_INDEX = 6;
+ public static final int ADVISE = 7;
+ public static final int UNADVISE = 8;
+ public static final int SET_OPTIONS = 9;
+ public static final int GET_OPTIONS = 10;
+ public static final int SET_DEFAULT_FOLDER = 11;
+ public static final int SET_FOLDER = 12;
+ public static final int GET_FOLDER = 13;
+ public static final int GET_CURRENT_SELECTION = 14;
+ public static final int SET_FILE_NAME = 15;
+ public static final int GET_FILE_NAME = 16;
+ public static final int SET_TITLE = 17;
+ public static final int SET_OK_BUTTON_LABEL = 18;
+ public static final int SET_FILE_NAME_LABEL = 19;
+ public static final int GET_RESULT = 20;
+ public static final int ADD_PLACE = 21;
+ public static final int SET_DEFAULT_EXTENSION = 22;
+ public static final int CLOSE = 23;
+ public static final int SET_CLIENT_GUID = 24;
+ public static final int CLEAR_CLIENT_DATA = 25;
+ public static final int SET_FILTER = 26;
} \ No newline at end of file
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/ShellItemVtbl.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/ShellItemVtbl.java
index 44d16a2605..f9f7fadf1b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/ShellItemVtbl.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/com/win32/ShellItemVtbl.java
@@ -17,12 +17,12 @@ package org.eclipse.swt.internal.com.win32;
* Function number constants for IShellItem COM interface
*/
public class ShellItemVtbl{
- public static final int QUERY_INTERFACE = 0;
- public static final int ADD_REF = 1;
- public static final int RELEASE = 2;
- public static final int BIND_TO_HANDLER = 3;
- public static final int GET_PARENT = 4;
- public static final int GET_DISPLAY_NAME = 5;
- public static final int GET_ATTRIBUTES = 6;
- public static final int COMPARE = 7;
+ public static final int QUERY_INTERFACE = 0;
+ public static final int ADD_REF = 1;
+ public static final int RELEASE = 2;
+ public static final int BIND_TO_HANDLER = 3;
+ public static final int GET_PARENT = 4;
+ public static final int GET_DISPLAY_NAME = 5;
+ public static final int GET_ATTRIBUTES = 6;
+ public static final int COMPARE = 7;
} \ No newline at end of file
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/GUID.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/GUID.java
index 293692e149..ee1a6b8715 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/GUID.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/GUID.java
@@ -34,10 +34,10 @@ static String toHex (int v, int length) {
@Override
public String toString () {
return '{' + toHex (Data1, 8) + '-' +
- toHex (Data2, 4) + '-' +
- toHex (Data3, 4) + '-' +
- toHex (Data4[0], 2) + toHex (Data4[1], 2) + '-' +
- toHex (Data4[2], 2) + toHex (Data4[3], 2) + toHex (Data4[4], 2) + toHex (Data4[5], 2) + toHex (Data4[6], 2) + toHex (Data4[7], 2) + '}';
+ toHex (Data2, 4) + '-' +
+ toHex (Data3, 4) + '-' +
+ toHex (Data4[0], 2) + toHex (Data4[1], 2) + '-' +
+ toHex (Data4[2], 2) + toHex (Data4[3], 2) + toHex (Data4[4], 2) + toHex (Data4[5], 2) + toHex (Data4[6], 2) + toHex (Data4[7], 2) + '}';
}
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleInPlaceActiveObject.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleInPlaceActiveObject.java
index 9a04980528..eadda7a037 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleInPlaceActiveObject.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleInPlaceActiveObject.java
@@ -21,8 +21,8 @@ public IOleInPlaceActiveObject(long /*int*/ address) {
super(address);
}
public int TranslateAccelerator(MSG lpmsg) {
- //lpmsg - Pointer to message that may need translating
- return COM.VtblCall(5, address, lpmsg);
+ //lpmsg - Pointer to message that may need translating
+ return COM.VtblCall(5, address, lpmsg);
}
public void OnFrameWindowActivate(boolean fActivate) {
COM.VtblCall(6, getAddress(), fActivate);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IStorage.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IStorage.java
index 075411a3dc..799bad9fb1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IStorage.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IStorage.java
@@ -25,10 +25,10 @@ public int Commit(int grfCommitFlag) {
}
public int CopyTo(
int ciidExclude, //Number of elements in rgiidExclude
- GUID rgiidExclude, //Array of interface identifiers (IIDs)
- String[] snbExclude, //Points to a block of stream names in the storage object
+ GUID rgiidExclude, //Array of interface identifiers (IIDs)
+ String[] snbExclude, //Points to a block of stream names in the storage object
long /*int*/ pstgDest //Points to destination storage object
- ){
+ ){
// we only support snbExclude = null
if (snbExclude != null) {
return COM.E_INVALIDARG;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CERT_PUBLIC_KEY_INFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CERT_PUBLIC_KEY_INFO.java
index dc29608fbc..64557cde33 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CERT_PUBLIC_KEY_INFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CERT_PUBLIC_KEY_INFO.java
@@ -15,8 +15,8 @@ package org.eclipse.swt.internal.win32;
public class CERT_PUBLIC_KEY_INFO {
- public CRYPT_ALGORITHM_IDENTIFIER Algorithm = new CRYPT_ALGORITHM_IDENTIFIER ();
- public CRYPT_BIT_BLOB PublicKey = new CRYPT_BIT_BLOB ();
+ public CRYPT_ALGORITHM_IDENTIFIER Algorithm = new CRYPT_ALGORITHM_IDENTIFIER ();
+ public CRYPT_BIT_BLOB PublicKey = new CRYPT_BIT_BLOB ();
- static final public int sizeof = OS.CERT_PUBLIC_KEY_INFO_sizeof ();
+ static final public int sizeof = OS.CERT_PUBLIC_KEY_INFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java
index 1cd93e3105..a618b72b57 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java
@@ -21,10 +21,10 @@ public class DROPFILES {
/** @field accessor=pt.y */
public int pt_y;
public int fNC; // Nonclient area flag. If this member is TRUE, pt specifies the screen
- // coordinates of a point in a window's nonclient area. If it is FALSE,
- // pt specifies the client coordinates of a point in the client area.
+ // coordinates of a point in a window's nonclient area. If it is FALSE,
+ // pt specifies the client coordinates of a point in the client area.
public int fWide; // Value that indicates whether the file contains ANSI or Unicode
// characters. If it is zero, it contains ANSI characters. Otherwise, it
- // contains Unicode characters.
+ // contains Unicode characters.
public static final int sizeof = OS.DROPFILES_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTURECONFIG.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTURECONFIG.java
index 258b1f6e6d..c6ecf6eeeb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTURECONFIG.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTURECONFIG.java
@@ -15,7 +15,7 @@ package org.eclipse.swt.internal.win32;
public class GESTURECONFIG {
public int dwID; // gesture ID
- public int dwWant; // settings related to gesture ID that are to be turned on
- public int dwBlock; // settings related to gesture ID that are to be turned off
- public static final int sizeof = OS.GESTURECONFIG_sizeof ();
+ public int dwWant; // settings related to gesture ID that are to be turned on
+ public int dwBlock; // settings related to gesture ID that are to be turned off
+ public static final int sizeof = OS.GESTURECONFIG_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTUREINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTUREINFO.java
index 1bbd3ebfe1..54e1748a8c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTUREINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GESTUREINFO.java
@@ -14,19 +14,19 @@
package org.eclipse.swt.internal.win32;
public class GESTUREINFO {
- public int cbSize;
- public int dwFlags;
- public int dwID;
- /** @field cast=(HWND) */
- public long /*int*/ hwndTarget;
- // POINTS ptsLocation
- /** @field accessor=ptsLocation.x */
- public short x;
- /** @field accessor=ptsLocation.y */
- public short y;
- public int dwInstanceID;
- public int dwSequenceID;
- public long ullArguments;
- public int cbExtraArgs;
- public static final int sizeof = OS.GESTUREINFO_sizeof ();
+ public int cbSize;
+ public int dwFlags;
+ public int dwID;
+ /** @field cast=(HWND) */
+ public long /*int*/ hwndTarget;
+ // POINTS ptsLocation
+ /** @field accessor=ptsLocation.x */
+ public short x;
+ /** @field accessor=ptsLocation.y */
+ public short y;
+ public int dwInstanceID;
+ public int dwSequenceID;
+ public long ullArguments;
+ public int cbExtraArgs;
+ public static final int sizeof = OS.GESTUREINFO_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java
index f32dd68020..890d1a6dfc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java
@@ -16,7 +16,7 @@ package org.eclipse.swt.internal.win32;
public class MEASUREITEMSTRUCT {
public int CtlType;
public int CtlID;
- public int itemID;
+ public int itemID;
public int itemWidth;
public int itemHeight;
public long /*int*/ itemData;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java
index 9aa4612de1..c90e7e3ab0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTVDISPINFO.java
@@ -25,11 +25,11 @@ public class NMTVDISPINFO extends NMHDR {
public int stateMask;
/** @field accessor=item.pszText,cast=(LPTSTR) */
public long /*int*/ pszText;
- /** @field accessor=item.cchTextMax */
+ /** @field accessor=item.cchTextMax */
public int cchTextMax;
- /** @field accessor=item.iImage */
+ /** @field accessor=item.iImage */
public int iImage;
- /** @field accessor=item.iSelectedImage */
+ /** @field accessor=item.iSelectedImage */
public int iSelectedImage;
/** @field accessor=item.cChildren */
public int cChildren;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java
index 0b80d30201..0d31133269 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java
@@ -16,58 +16,58 @@ package org.eclipse.swt.internal.win32;
public class OUTLINETEXTMETRIC {
public int otmSize;
public TEXTMETRIC otmTextMetrics = new TEXTMETRIC ();
- public byte otmFiller;
- /** @field accessor=otmPanoseNumber.bFamilyType */
+ public byte otmFiller;
+ /** @field accessor=otmPanoseNumber.bFamilyType */
public byte otmPanoseNumber_bFamilyType;
- /** @field accessor=otmPanoseNumber.bSerifStyle */
+ /** @field accessor=otmPanoseNumber.bSerifStyle */
public byte otmPanoseNumber_bSerifStyle;
- /** @field accessor=otmPanoseNumber.bWeight */
+ /** @field accessor=otmPanoseNumber.bWeight */
public byte otmPanoseNumber_bWeight;
- /** @field accessor=otmPanoseNumber.bProportion */
+ /** @field accessor=otmPanoseNumber.bProportion */
public byte otmPanoseNumber_bProportion;
- /** @field accessor=otmPanoseNumber.bContrast */
+ /** @field accessor=otmPanoseNumber.bContrast */
public byte otmPanoseNumber_bContrast;
- /** @field accessor=otmPanoseNumber.bStrokeVariation */
+ /** @field accessor=otmPanoseNumber.bStrokeVariation */
public byte otmPanoseNumber_bStrokeVariation;
- /** @field accessor=otmPanoseNumber.bArmStyle */
+ /** @field accessor=otmPanoseNumber.bArmStyle */
public byte otmPanoseNumber_bArmStyle;
- /** @field accessor=otmPanoseNumber.bLetterform */
+ /** @field accessor=otmPanoseNumber.bLetterform */
public byte otmPanoseNumber_bLetterform;
- /** @field accessor=otmPanoseNumber.bMidline */
+ /** @field accessor=otmPanoseNumber.bMidline */
public byte otmPanoseNumber_bMidline;
- /** @field accessor=otmPanoseNumber.bXHeight */
+ /** @field accessor=otmPanoseNumber.bXHeight */
public byte otmPanoseNumber_bXHeight;
- public int otmfsSelection;
- public int otmfsType;
- public int otmsCharSlopeRise;
- public int otmsCharSlopeRun;
- public int otmItalicAngle;
- public int otmEMSquare;
- public int otmAscent;
- public int otmDescent;
- public int otmLineGap;
- public int otmsCapEmHeight;
- public int otmsXHeight;
+ public int otmfsSelection;
+ public int otmfsType;
+ public int otmsCharSlopeRise;
+ public int otmsCharSlopeRun;
+ public int otmItalicAngle;
+ public int otmEMSquare;
+ public int otmAscent;
+ public int otmDescent;
+ public int otmLineGap;
+ public int otmsCapEmHeight;
+ public int otmsXHeight;
public RECT otmrcFontBox = new RECT();
- public int otmMacAscent;
- public int otmMacDescent;
- public int otmMacLineGap;
- public int otmusMinimumPPEM;
+ public int otmMacAscent;
+ public int otmMacDescent;
+ public int otmMacLineGap;
+ public int otmusMinimumPPEM;
public POINT otmptSubscriptSize = new POINT();
public POINT otmptSubscriptOffset = new POINT();
public POINT otmptSuperscriptSize = new POINT();
public POINT otmptSuperscriptOffset = new POINT();
- public int otmsStrikeoutSize;
- public int otmsStrikeoutPosition;
- public int otmsUnderscoreSize;
- public int otmsUnderscorePosition;
- /** @field cast=(PSTR) */
+ public int otmsStrikeoutSize;
+ public int otmsStrikeoutPosition;
+ public int otmsUnderscoreSize;
+ public int otmsUnderscorePosition;
+ /** @field cast=(PSTR) */
public long /*int*/ otmpFamilyName;
- /** @field cast=(PSTR) */
+ /** @field cast=(PSTR) */
public long /*int*/ otmpFaceName;
- /** @field cast=(PSTR) */
+ /** @field cast=(PSTR) */
public long /*int*/ otmpStyleName;
- /** @field cast=(PSTR) */
+ /** @field cast=(PSTR) */
public long /*int*/ otmpFullName;
public static final int sizeof = OS.OUTLINETEXTMETRIC_sizeof ();
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java
index e79561172f..92e1875b7d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java
@@ -29,11 +29,11 @@ public class TVINSERTSTRUCT {
public int stateMask;
/** @field accessor=item.pszText,cast=(LPTSTR) */
public long /*int*/ pszText;
- /** @field accessor=item.cchTextMax */
+ /** @field accessor=item.cchTextMax */
public int cchTextMax;
- /** @field accessor=item.iImage */
+ /** @field accessor=item.iImage */
public int iImage;
- /** @field accessor=item.iSelectedImage */
+ /** @field accessor=item.iSelectedImage */
public int iSelectedImage;
/** @field accessor=item.cChildren */
public int cChildren;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java
index 98a90ed790..4bb47a9ada 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java
@@ -21,9 +21,9 @@ public class TVITEM {
public int stateMask;
/** @field cast=(LPTSTR) */
public long /*int*/ pszText;
- public int cchTextMax;
- public int iImage;
- public int iSelectedImage;
+ public int cchTextMax;
+ public int iImage;
+ public int iSelectedImage;
public int cChildren;
public long /*int*/ lParam;
public static final int sizeof = OS.TVITEM_sizeof ();

Back to the top