MetaViewer Focus Functionality
Need to implement nested mouse listeners to check for focus, generate focus
statechange and change border color appropriately
#1 Updated by Matthew Brooke about 15 years ago
Adding some more context to this cryptic description... ;-)
Basically, the morpho main screen has 3 areas or frames - the top one where the
package-level metadata resides, the bottom -left, which is the "spreadsheet"
view of the data (entities/attributes), and the bottom right which is the
metadata for the entities/attributes.
when the main screen was originally redesigned, there was concern that the
multile frames would make the UI visually confusing fro some users, so it was
decided to show a colored border around whichever of these 3 was currently "in
focus" (ie being manipulated by the user), so the user could see at a glance
where they were working/editing etc. The other 2 "unfocused" frames would have a
grey border (see photoshop mockup in morpho/docs).
as far as i recall, the borders are in place already, and i was having some
trouble firing events in the code to change the color automatically - which is
what this bug was about. Have we had any feedback regarding the UI being too
complex, or do users generally understand what's going on? It may be that this
doesn't need doing at all?