FAQ
Hi Andrus,

If it can go into that project cleanly, I'm all for it. I'm just
trying to document a few of the issues I'm noticing. That was one of
the annoyances I discovered the other day when I had to rebuild my
preferences. The AWT file dialog works much better on OS X since it
includes the Places/etc you have defined in the Finder.

mrg

On Thu, Oct 1, 2009 at 8:13 AM, Andrus Adamchik wrote:
Hi Michael,
Update CM to conditionally check which OS and display the appropriate
dialog for OS X.

I mentioned that before in the discussion about OS X menus customizations,
and let me bring it up again. If possible let's avoid OS checking in the
core Modeler code, and implement any OS-specific extensions as overrides in
the corresponding OS specific modules, in this case
"org.apache.cayenne:cayenne-modeler-mac-ext". Let's keep our code clean.

Andrus

On Oct 1, 2009, at 3:05 PM, Michael Gentry (JIRA) wrote:


[
https://issues.apache.org/jira/browse/CAY-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Gentry updated CAY-1284:
--------------------------------

Assignee:     (was: Michael Gentry)
Description:
On OS X, the AWT file dialog is mapped to the standard system dialog by
Apple.  The Swing file dialog is a much less usable (and foreign) version.
Update CM to conditionally check which OS and display the appropriate
dialog for OS X.


was:
The Ordering class currently takes booleans to indicate
ascending/descending and case sensitive/insensitive.  When reading the code,
it is impossible to know what "true" and "false" actually mean unless you
are familiar with the API.  Update the class to use descriptive enums
instead of boolean flags.


Environment: OS X  (was: All.)
Summary: Update Cayenne Modeler to use the AWT file dialog on OS X.
(was: Update Ordering to take enums instead of boolean flags.)
Update Cayenne Modeler to use the AWT file dialog on OS X.
----------------------------------------------------------

Key: CAY-1284
URL: https://issues.apache.org/jira/browse/CAY-1284
Project: Cayenne
Issue Type: Improvement
Components: CayenneModeler GUI
Affects Versions: 3.0M6
Environment: OS X
Reporter: Michael Gentry
Priority: Minor
Fix For: Short term future


On OS X, the AWT file dialog is mapped to the standard system dialog by
Apple.  The Swing file dialog is a much less usable (and foreign) version.
Update CM to conditionally check which OS and display the appropriate
dialog for OS X.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupdev @
categoriescayenne
postedOct 1, '09 at 12:14p
activeOct 1, '09 at 1:35p
posts2
users2
websitecayenne.apache.org

2 users in discussion

Andrus Adamchik: 1 post Michael Gentry: 1 post

People

Translate

site design / logo © 2022 Grokbase