cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <blackn...@gmail.com>
Subject Re: Cayenne Modeler Prototype
Date Tue, 29 Mar 2016 11:26:13 GMT
On Tue, Mar 29, 2016 at 7:11 AM, Aristedes Maniatis <ari@maniatis.org>
wrote:

> On 29/03/2016 9:05pm, Michael Gentry wrote:
> >
> > I can absolutely share.  Do you want just the FXML files?  I still have
> > re-factoring work to do (the ObjEntity tab views are all in one FXML file
> > currently, and I want to split it out into separate view
> files/controllers,
> > for example -- one controller/view per tab), so I'm expecting them to
> > change quite a bit.  My hope is that sometime next week I'll have it
> > cleaned up enough to share all of it (Java, READMEs, etc).  Keep in mind
> > this is very much a prototype/hack and I'm learning JavaFX as I go (only
> > spent ~4 days on it so far).
>
> Yeah, I'm new to JavaFX too. But I think I just need the XML to open it in
> SceneBuilder and play with the UI?
>


I'm pretty sure you can open the FXML files without the code.  You'll want
to download Scene Builder first:

http://gluonhq.com/open-source/scene-builder/


Here are the current FXML files:

https://dl.dropboxusercontent.com/u/54311650/CayenneModelerPrototype/DataDomainView.fxml

https://dl.dropboxusercontent.com/u/54311650/CayenneModelerPrototype/DataMapView.fxml

https://dl.dropboxusercontent.com/u/54311650/CayenneModelerPrototype/MainScene.fxml

https://dl.dropboxusercontent.com/u/54311650/CayenneModelerPrototype/ObjectEntityView.fxml


Keep in mind, I'm planning on a lot of refactoring, especially the
ObjEntity one, but it might take me a few days.



> > I think the other problem to solve is the icons. Myself, I typically use
> >> > Cayenne Modeler once every few months. So every time I use it, I'm
> clicking
> >> > on icons to try and remember which one is which. Is blob-blob-plus a
> new
> >> > relationship?
> >> >
> >
> > Tooltips are required for all of these.  Even when I've "lived" in CM, I
> > still used the tooltips a lot...
>
> I'm of the opinion that tooltips are effectively an admission of UX
> failure. if I have to wait 2 seconds after hovering over each icon in turn,
> it's really not a great UI.
>
> For something as complex as a database model, there really just aren't
> icons that mean anything intuitive. So we need to give ourselves room for
> words. Sure, use icons (and colour) to quickly show similar types of
> things. but ultimately only words are going to distinguish the choices.
>


FWIW, we can color the icons pretty easily, I just didn't.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message