Update CM to conditionally check which OS and display the
appropriate dialog for OS X.
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.)
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ 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.
------------------------------------------------------------
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.