Michael,
The good news is that all the stuff that you expect from an app on Mac
can be done with Swing. Currently we force "plastic" look and feel on
all platforms, but switching it to Aqua is as simple as replacing the
Main class of the current Modeler, and setting a property to display
the menu on top of the screen instead of attached to the Window.
Shortcuts should be as easy... So duplicating the whole things in Cocoa
seems a bit wasteful.
In fact I was going to write an ant task (similar to what WOProject
does for WO applications) to package CayenneModeler for Mac
specifically, so that it can be started by clicking on an icon, and
feels like a Mac app in all other respects. That's probably just a few
days worth of work. Feel free to jump on that if you are interested
(and if so, lets switch this discussion to cayenne-devel).
Andrus
On Sep 15, 2004, at 10:29 AM, Gentry, Michael wrote:
> I've actually been toying with the idea of making an OS X version of
> the
> modeler. It bugs me that it doesn't look like an OS X application
> (even
> though Apple allows for that if you use Swing -- even Eclipse, using
> SWT, looks OS X-like), doesn't have all the features I'd like (I really
> miss being able to drill down through relationships on entities like in
> EOModeler), keyboard shortcuts don't work (as expected --
> command-c/command-v get you nowhere), controls behave differently, etc.
> If I wanted a cluttered-up UI with different looks and feels for every
> application, I'd use Linux + X Windows. No offense. I just don't like
> having to wear a Windows hat on OS X.
>
> I could use Xcode to create a Java-based Cocoa application, have full
> use of the Application Kit and, of course, Interface Builder, and use
> the Cayenne/Modeler JARs to manage the model, do validation, etc.
>
> Of course, it would take time (always an issue) and would be OS X
> specific (which seems like a bad thing, unless you are using OS X).
>
> /dev/mrg
>
>
This archive was generated by hypermail 2.0.0 : Wed Sep 15 2004 - 11:48:49 EDT