diff options
author | Carolyn MacLeod | 2010-12-06 20:09:35 +0000 |
---|---|---|
committer | Carolyn MacLeod | 2010-12-06 20:09:35 +0000 |
commit | a54d05597482a13d18ff0c837ee1478f3c90f7b1 (patch) | |
tree | fd0e51bf896977235b3afdba58563525f9828a76 | |
parent | cfc030a5c8ced28655458615a0818a3316a0843c (diff) | |
download | eclipse.platform.swt-a54d05597482a13d18ff0c837ee1478f3c90f7b1.tar.gz eclipse.platform.swt-a54d05597482a13d18ff0c837ee1478f3c90f7b1.tar.xz eclipse.platform.swt-a54d05597482a13d18ff0c837ee1478f3c90f7b1.zip |
*** empty log message ***
4 files changed, 6 insertions, 28 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 86b17bdf25..42335aa7f1 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 @@ -2409,10 +2409,6 @@ <arg swt_gen="true"></arg> <retval swt_gen="true"></retval> </method> - <method selector="setPrintInfo:" swt_gen="true"> - <arg swt_gen="true"></arg> - <retval swt_gen="true"></retval> - </method> <method selector="setShowsPrintPanel:" swt_gen="true"> <arg swt_gen="true"></arg> <retval swt_gen="true"></retval> @@ -2434,9 +2430,6 @@ <method selector="options" swt_gen="true"> <retval swt_gen="true"></retval> </method> - <method selector="printInfo" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> <method class_method="true" selector="printPanel" swt_gen="true"> <retval swt_gen="true"></retval> </method> @@ -2448,9 +2441,6 @@ <arg swt_gen="true"></arg> <retval swt_gen="true"></retval> </method> - <method selector="updateFromPrintInfo" swt_gen="true"> - <retval swt_gen="true"></retval> - </method> </class> <class name="NSPrinter" swt_gen="mixed"> <method selector="name" swt_gen="true"> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java index 661a1177cd..7468f1ac09 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintOperation.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 IBM Corporation and others. + * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -63,10 +63,6 @@ public void setJobTitle(NSString jobTitle) { OS.objc_msgSend(this.id, OS.sel_setJobTitle_, jobTitle != null ? jobTitle.id : 0); } -public void setPrintInfo(NSPrintInfo printInfo) { - OS.objc_msgSend(this.id, OS.sel_setPrintInfo_, printInfo != null ? printInfo.id : 0); -} - public void setShowsPrintPanel(boolean flag) { OS.objc_msgSend(this.id, OS.sel_setShowsPrintPanel_, flag); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java index 67679db106..46440aec83 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPrintPanel.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 IBM Corporation and others. + * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -32,11 +32,6 @@ public int /*long*/ options() { return OS.objc_msgSend(this.id, OS.sel_options); } -public NSPrintInfo printInfo() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_printInfo); - return result != 0 ? new NSPrintInfo(result) : null; -} - public static NSPrintPanel printPanel() { int /*long*/ result = OS.objc_msgSend(OS.class_NSPrintPanel, OS.sel_printPanel); return result != 0 ? new NSPrintPanel(result) : null; @@ -50,8 +45,4 @@ public void setOptions(int /*long*/ options) { OS.objc_msgSend(this.id, OS.sel_setOptions_, options); } -public void updateFromPrintInfo() { - OS.objc_msgSend(this.id, OS.sel_updateFromPrintInfo); -} - } 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 5a7600687e..44a36ba98a 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 @@ -67,6 +67,7 @@ public class OS extends C { public static final int kPMDuplexNoTumble = 0x0002; public static final int kPMDuplexTumble = 0x0003; + public static final int /*long*/ sel_sendSearchSelection = sel_registerName("sendSearchSelection"); public static final int /*long*/ sel_sendCancelSelection = sel_registerName("sendCancelSelection"); public static final int /*long*/ sel_sendSelection = sel_registerName("sendSelection"); @@ -1544,7 +1545,6 @@ public static final int /*long*/ sel_prependTransform_ = sel_registerName("prepe public static final int /*long*/ sel_preventDefault = sel_registerName("preventDefault"); public static final int /*long*/ sel_previousFailureCount = sel_registerName("previousFailureCount"); public static final int /*long*/ sel_printDocumentView = sel_registerName("printDocumentView"); -public static final int /*long*/ sel_printInfo = sel_registerName("printInfo"); public static final int /*long*/ sel_printOperationWithPrintInfo_ = sel_registerName("printOperationWithPrintInfo:"); public static final int /*long*/ sel_printOperationWithView_printInfo_ = sel_registerName("printOperationWithView:printInfo:"); public static final int /*long*/ sel_printPanel = sel_registerName("printPanel"); @@ -1864,7 +1864,6 @@ public static final int /*long*/ sel_setPatternPhase_ = sel_registerName("setPat public static final int /*long*/ sel_setPlaceholderString_ = sel_registerName("setPlaceholderString:"); public static final int /*long*/ sel_setPolicyDelegate_ = sel_registerName("setPolicyDelegate:"); public static final int /*long*/ sel_setPreferences_ = sel_registerName("setPreferences:"); -public static final int /*long*/ sel_setPrintInfo_ = sel_registerName("setPrintInfo:"); public static final int /*long*/ sel_setPrinter_ = sel_registerName("setPrinter:"); public static final int /*long*/ sel_setPropertyList_forType_ = sel_registerName("setPropertyList:forType:"); public static final int /*long*/ sel_setPullsDown_ = sel_registerName("setPullsDown:"); @@ -2062,7 +2061,6 @@ public static final int /*long*/ sel_unmarkText = sel_registerName("unmarkText") public static final int /*long*/ sel_unregisterDraggedTypes = sel_registerName("unregisterDraggedTypes"); public static final int /*long*/ sel_update = sel_registerName("update"); public static final int /*long*/ sel_updateFromPMPrintSettings = sel_registerName("updateFromPMPrintSettings"); -public static final int /*long*/ sel_updateFromPrintInfo = sel_registerName("updateFromPrintInfo"); public static final int /*long*/ sel_updateTrackingAreas = sel_registerName("updateTrackingAreas"); public static final int /*long*/ sel_use = sel_registerName("use"); public static final int /*long*/ sel_useCredential_forAuthenticationChallenge_ = sel_registerName("useCredential:forAuthenticationChallenge:"); @@ -2268,6 +2266,9 @@ public static final int NSOutlineViewDropOnItemIndex = -1; public static final int NSPageDownFunctionKey = 63277; public static final int NSPageUpFunctionKey = 63276; public static final int NSPortraitOrientation = 0; +public static final int NSPrintPanelShowsCopies = 1; +public static final int NSPrintPanelShowsOrientation = 8; +public static final int NSPrintPanelShowsPageRange = 2; public static final int NSPrintPanelShowsPageSetupAccessory = 256; public static final int NSProgressIndicatorPreferredThickness = 14; public static final int NSPushOnPushOffButton = 1; |