Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2014-09-04 10:19:43 +0000
committerLakshmi Shanmugam2014-09-04 10:22:02 +0000
commit418f8414b42761e68fafc14f5b560d137139645c (patch)
tree1865f443d93d3cc4e1b86cec5c2b99e42575dbee /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt
parent523b380e84b3fbcb077b6c3167201bad505ea60f (diff)
downloadeclipse.platform.swt-418f8414b42761e68fafc14f5b560d137139645c.tar.gz
eclipse.platform.swt-418f8414b42761e68fafc14f5b560d137139645c.tar.xz
eclipse.platform.swt-418f8414b42761e68fafc14f5b560d137139645c.zip
Bug 400478 - Print doesn't have a "print selection" option on osx
Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java4
2 files changed, 6 insertions, 0 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 c2e0038f37..3e08ad24c1 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
@@ -4679,6 +4679,7 @@
<constant name="NSPrintSaveJob" swt_gen="true"></constant>
<constant name="NSPrintSavePath" swt_gen="true"></constant>
<constant name="NSPrintScalingFactor" swt_gen="true"></constant>
+ <constant name="NSPrintSelectionOnly" swt_gen="true"></constant>
<constant name="NSPrintSpoolJob" swt_gen="true"></constant>
<constant name="NSRTFPboardType" swt_gen="true"></constant>
<constant name="NSSpellingStateAttributeName" swt_gen="true"></constant>
@@ -4853,6 +4854,7 @@
<enum name="NSPrintPanelShowsOrientation" swt_gen="true"></enum>
<enum name="NSPrintPanelShowsPageRange" swt_gen="true"></enum>
<enum name="NSPrintPanelShowsPageSetupAccessory" swt_gen="true"></enum>
+ <enum name="NSPrintPanelShowsPrintSelection" swt_gen="true"></enum>
<enum name="NSProgressIndicatorPreferredThickness" swt_gen="true"></enum>
<enum name="NSPushOnPushOffButton" swt_gen="true"></enum>
<enum name="NSRGBColorSpaceModel" swt_gen="true"></enum>
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 a4b8eb6d78..b6a7b87293 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
@@ -2442,6 +2442,7 @@ 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 NSPrintPanelShowsPrintSelection = 32;
public static final int NSProgressIndicatorPreferredThickness = 14;
public static final int NSPushOnPushOffButton = 1;
public static final int NSRGBColorSpaceModel = 1;
@@ -3062,6 +3063,9 @@ public static final NSString NSPrintSavePath = new NSString(NSPrintSavePath());
public static final native long /*int*/ NSPrintScalingFactor();
public static final NSString NSPrintScalingFactor = new NSString(NSPrintScalingFactor());
/** @method flags=const */
+public static final native long /*int*/ NSPrintSelectionOnly();
+public static final NSString NSPrintSelectionOnly = new NSString(NSPrintSelectionOnly());
+/** @method flags=const */
public static final native long /*int*/ NSPrintSpoolJob();
public static final NSString NSPrintSpoolJob = new NSString(NSPrintSpoolJob());
/** @method flags=const */

Back to the top