[307762] missing Win 64 bit GMF print support (1.6.3 patch)
diff --git a/org.eclipse.gmf.runtime.diagram.ui.printing.render/META-INF/MANIFEST.MF b/org.eclipse.gmf.runtime.diagram.ui.printing.render/META-INF/MANIFEST.MF
index 2dd9a07..9bd4b81 100644
--- a/org.eclipse.gmf.runtime.diagram.ui.printing.render/META-INF/MANIFEST.MF
+++ b/org.eclipse.gmf.runtime.diagram.ui.printing.render/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %Plugin.name
Bundle-SymbolicName: org.eclipse.gmf.runtime.diagram.ui.printing.render
-Bundle-Version: 1.4.1.qualifier
+Bundle-Version: 1.4.3.qualifier
Bundle-Activator: org.eclipse.gmf.runtime.diagram.ui.printing.render.internal.DiagramUIPrintingRenderPlugin
Bundle-Vendor: %Plugin.providerName
Bundle-Localization: plugin
diff --git a/org.eclipse.gmf.runtime.diagram.ui.printing.render/src/org/eclipse/gmf/runtime/diagram/ui/printing/render/actions/EnhancedPrintActionHelper.java b/org.eclipse.gmf.runtime.diagram.ui.printing.render/src/org/eclipse/gmf/runtime/diagram/ui/printing/render/actions/EnhancedPrintActionHelper.java
index 518bf47..ebed4b9 100644
--- a/org.eclipse.gmf.runtime.diagram.ui.printing.render/src/org/eclipse/gmf/runtime/diagram/ui/printing/render/actions/EnhancedPrintActionHelper.java
+++ b/org.eclipse.gmf.runtime.diagram.ui.printing.render/src/org/eclipse/gmf/runtime/diagram/ui/printing/render/actions/EnhancedPrintActionHelper.java
@@ -1,5 +1,5 @@
/******************************************************************************
- * Copyright (c) 2005, 2008 IBM Corporation and others.
+ * Copyright (c) 2005, 2013 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
@@ -88,9 +88,10 @@
//get actual map mode, default is MapModeUtil.getMapMode()
IMapMode mapMode = (rootEP instanceof DiagramRootEditPart) ? ((DiagramRootEditPart) rootEP)
.getMapMode()
- : MapModeUtil.getMapMode();
-
- if (Platform.getOS().startsWith(Platform.OS_WIN32)) {
+ : MapModeUtil.getMapMode();
+
+ if (Platform.getOS().startsWith(Platform.OS_WIN32)
+ && Platform.getOSArch().equals(Platform.ARCH_X86)) {
DiagramPrinterUtil.printWithSettings(diagramEditor,
createDiagramMap(), new RenderedDiagramPrinter(
preferencesHint, mapMode));