diff options
author | Silenio Quarti | 2008-08-18 15:14:00 +0000 |
---|---|---|
committer | Silenio Quarti | 2008-08-18 15:14:00 +0000 |
commit | 114a90e9c5c0a4fae8a6509db4dd3947871a06a6 (patch) | |
tree | 9e22800b8fd3eb5e9d420a613644bfcbab975e8e /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java | |
parent | 047551711731234f55bfa1e053304f3a7d2a17a6 (diff) | |
download | eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.gz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.xz eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.zip |
64 bit work
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java index b916ebbe00..b95fcce360 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOutlineView.java @@ -32,17 +32,17 @@ public void expandItem(id item) { OS.objc_msgSend(this.id, OS.sel_expandItem_, item != null ? item.id : 0); } -public float indentationPerLevel() { +public float /*double*/ indentationPerLevel() { return (float)OS.objc_msgSend_fpret(this.id, OS.sel_indentationPerLevel); } -public id itemAtRow(int row) { - int result = OS.objc_msgSend(this.id, OS.sel_itemAtRow_, row); +public id itemAtRow(int /*long*/ row) { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_itemAtRow_, row); return result != 0 ? new id(result) : null; } -public int levelForItem(id item) { - return OS.objc_msgSend(this.id, OS.sel_levelForItem_, item != null ? item.id : 0); +public int /*long*/ levelForItem(id item) { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_levelForItem_, item != null ? item.id : 0); } public void reloadItem(id item) { @@ -53,8 +53,8 @@ public void reloadItem(id item, boolean reloadChildren) { OS.objc_msgSend(this.id, OS.sel_reloadItem_reloadChildren_, item != null ? item.id : 0, reloadChildren); } -public int rowForItem(id item) { - return OS.objc_msgSend(this.id, OS.sel_rowForItem_, item != null ? item.id : 0); +public int /*long*/ rowForItem(id item) { + return (int)/*64*/OS.objc_msgSend(this.id, OS.sel_rowForItem_, item != null ? item.id : 0); } public void setAutoresizesOutlineColumn(boolean resize) { @@ -65,7 +65,7 @@ public void setAutosaveExpandedItems(boolean save) { OS.objc_msgSend(this.id, OS.sel_setAutosaveExpandedItems_, save); } -public void setIndentationPerLevel(float indentationPerLevel) { +public void setIndentationPerLevel(float /*double*/ indentationPerLevel) { OS.objc_msgSend(this.id, OS.sel_setIndentationPerLevel_, indentationPerLevel); } |