Download presentation
Presentation is loading. Please wait.
Published byFrederica Shaw Modified over 9 years ago
1
GridChem Best Practices
2
Outline Separate the GUI and the model Common look and feel Help buttons Preferences
3
MVC Pattern Design GUIs using the Model-Viewer- Controller design pattern This means separate the GUI classes from the worker classes within a package –Model manages data (business logic) –Viewer handles display of data –Controller handles interaction b/w model and viewer.
4
Common Look and Feel Create each GUI with the same look and feel. –Tool tips for buttons –Right click menus for text boxes, lists, and trees –Consistent button position –Common spacing and boarders –Consistent use of color, images, and icons. –Consistent menu placement and terminology.
5
Help Buttons Need to be added to every panel. –Will open help panel at the specific place in the help corresponding to what the user is doing on that panel at that time. –Represented by a button icon showing a round circle with question mark in it. –Button should be placed a the bottom left corner of each panel. –If right click menu or window menu exist on the panel, then help sould be it’s own menu item.
6
Preferences Needs a complete overhaul. Small pref file should be written at shutdown or logout. When saved, pref file should exist in user data directory –$HOME/gridchem/data/ /user.pref –Write as xml-based file –backed by Hashtable.
7
Preferences Prefs should be named and grouped by the panel with which they’re associated. –login.username –gridchem.prompt_at_close –submitjob.default_editor –etc…
8
Preferences Each Controller class should read these prefs in at initialization and update them as needed. If we provide a pref window, then it needs to be exhaustive and provide settings for every pref for every gui –use a tree and a editor design like the metadata editor
9
Job Submission GUI & Workflow Sudhakar Pamidighantam Scott Brozell
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.