Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 4.0 - Beta, 4.0
-
Component/s: Viewer RI
-
Labels:None
-
Environment:Mac OS X
-
Affects:Sample App./Tutorial, Compatibility/Configuration
Description
When running the ICEpdf Viewer RI Swing application on OS X platforms the application menus are not adjusted to meet Mac UI expectations. Further integration work should be done to make the ViewerRI behave in a more Mac-like manner.
Specifically:
- The application menu should appear at the top of the desktop (Mac menubar) instead of inside the application window frame.
- The application name should appear in the leftmost menu-item of the Mac menubar.
- The native Mac application menu in the desktop menubar should be integrated with the application to support the "About" and "Quit" functions.
- The application menubar should *not* display the "About" or "Exit" menuitems when running on a Mac, as these are part of the native Application menu.
Specifically:
- The application menu should appear at the top of the desktop (Mac menubar) instead of inside the application window frame.
- The application name should appear in the leftmost menu-item of the Mac menubar.
- The native Mac application menu in the desktop menubar should be integrated with the application to support the "About" and "Quit" functions.
- The application menubar should *not* display the "About" or "Exit" menuitems when running on a Mac, as these are part of the native Application menu.
Activity
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19683 | Fri Nov 13 10:42:00 MST 2009 | ken.fyten | |
| Files Changed | ||||
ADD
/icepdf/trunk/icepdf/lib/AppleJavaExtensions.jar
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/viewer/Launcher.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19684 | Fri Nov 13 10:57:41 MST 2009 | ken.fyten | |
| Files Changed | ||||
ADD
/icepdf/trunk/icepdf/docs/licenses/AppleJavaExtensions-License.txt
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19685 | Fri Nov 13 11:22:24 MST 2009 | ken.fyten | |
| Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/lib/versions-licenses.html
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19686 | Fri Nov 13 11:23:07 MST 2009 | ken.fyten | |
| Files Changed | ||||
DEL
/icepdf/trunk/icepdf/docs/licenses/AppleJavaExtensions-License.txt
|
| Field | Original Value | New Value |
|---|---|---|
| Salesforce Case | [] | |
| Fix Version/s | 4.0 [ 10212 ] | |
| Affects | [Sample App./Tutorial, Compatibility/Configuration] | |
| Affects Version/s | 3.0 [ 10180 ] | |
| Affects Version/s | 4.0 [ 10212 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19687 | Fri Nov 13 12:57:18 MST 2009 | ken.fyten | |
| Files Changed | ||||
ADD
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/MacOSAppMenuEventHandler.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19688 | Fri Nov 13 15:06:11 MST 2009 | ken.fyten | |
| Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingController.java
ADD
/icepdf/trunk/icepdf/viewer/src/apple/dts/samplecode
MODIFY
/icepdf/trunk/icepdf/lib/versions-licenses.html
ADD
/icepdf/trunk/icepdf/viewer/src/apple/dts/samplecode/osxadapter/OSXAdapter.java
ADD
/icepdf/trunk/icepdf/viewer/src/apple/dts
DEL
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/MacOSAppMenuEventHandler.java
DEL
/icepdf/trunk/icepdf/lib/AppleJavaExtensions.jar
ADD
/icepdf/trunk/icepdf/viewer/src/apple
MODIFY
/icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
ADD
/icepdf/trunk/icepdf/viewer/src/apple/dts/samplecode/osxadapter
|
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Assignee | Patrick Corless [ patrick.corless ] | Ken Fyten [ ken.fyten ] |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 4.0 [ 10222 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

Fixed.
All code is still multi-platform friendly, but had to add a new .jar to the lib folder for this: AppleJavaExtensions.jar. This is a stub-jar of the required Apple OS APIs and is not required at runtime, just compile-time on non-Mac platforms.
Added: icepdf/lib/AppleJavaExtensions.jar
Modified: icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
Modified: icepdf/viewer/src/org/icepdf/ri/viewer/Launcher.java
Committed revision 19683.