diff options
author | Silenio Quarti <silenio> | 2009-02-02 19:53:52 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2009-02-02 19:53:52 +0000 |
commit | a6cf3d83f46fabe1a8f671d663cb5b64c1bca724 (patch) | |
tree | eed3d42444a9936721b8e7617e771bc6a4e35e81 | |
parent | 0828fa148f6ab10bffd0dad7cb0381fa25623a9b (diff) | |
download | eclipse.platform.swt-a6cf3d83f46fabe1a8f671d663cb5b64c1bca724.tar.gz eclipse.platform.swt-a6cf3d83f46fabe1a8f671d663cb5b64c1bca724.tar.xz eclipse.platform.swt-a6cf3d83f46fabe1a8f671d663cb5b64c1bca724.zip |
*** empty log message ***
2 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras index c6358e60f6..425f92f895 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras @@ -3929,8 +3929,8 @@ <method selector="boxType"> <retval></retval> </method> -<method selector="contentView"> -<retval swt_java_type="NSView"></retval> +<method selector="contentView" swt_gen="true"> +<retval swt_gen="true" swt_java_type="NSView"></retval> </method> <method selector="contentViewMargins" swt_gen="true"> <retval swt_gen="true"></retval> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java index 5cbd03a479..49535bd191 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java @@ -28,6 +28,11 @@ public float /*double*/ borderWidth() { return (float)OS.objc_msgSend_fpret(this.id, OS.sel_borderWidth); } +public NSView contentView() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_contentView); + return result != 0 ? new NSView(result) : null; +} + public NSSize contentViewMargins() { NSSize result = new NSSize(); OS.objc_msgSend_stret(result, this.id, OS.sel_contentViewMargins); |