| Summary: | [Usability] Problems with 'Manage Links' dialog | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Navid Mehregani <nmehrega> | ||||||||
| Component: | UI | Assignee: | Daniel Johnson <danijoh2> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | chrhartl, erdillon | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 0.5M0 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Navid Mehregani
Created attachment 176121 [details]
Screenshot (manage links dialog)
Created attachment 176590 [details]
patch_322096.txt
patch to fix all of the issues.
Classes Changed in workbench.ui.visualeditor.diagram:
ManageLinksDialog.java
ManageLinksAction.java
plugin.xml
I think that ManageLinksDialog should be renamed to ManageAssociationsDialog, and ManageLinksAction to ManageAssociationsAction
The option to show the class names or the fully qualified names worked as advertised, and the option is saved when the window is closed and re-opened, but not when the environment is quit and re-opened. Should this option be serialized to disk on quit?
I have no issue with the java file and class name staying as they are. It is sufficient for the dialog box name option to persist per session, let's focus on more important stuff. (In reply to comment #2) > The option to show the class names or the fully qualified names worked as > advertised, and the option is saved when the window is closed and re-opened, > but not when the environment is quit and re-opened. Should this option be > serialized to disk on quit? Thanks Dan! The standard way of doing this is through Eclipse preferences. I'd suggest storing it as a preference option under Tigerstripe>General. That way the option will be presereved between sessions. This will be a good exercise for you to familiarize yourself with Eclipse preferences, which is a vital feature of the framework. See http://www.eclipse.org/articles/Article-Preferences/preferences.htm for more details. Please attach the updated patch when you finished completing your changes. Created attachment 176743 [details]
patch_322096.txt
Patch to fix all of the issues. Same as before but now writes the "Show fully qualified names" preference value to the preference store on selection so it will be remembered between sessions. I also made some changes to how I was implementing the option before, now uses less memory and is faster ;)
Classes Changed in workbench.ui.visualeditor.diagram:
ManageLinksDialog.java
plugin.xml
(In reply to comment #5) > Created an attachment (id=176743) [details] > patch_322096.txt > > Patch to fix all of the issues. Same as before but now writes the "Show fully > qualified names" preference value to the preference store on selection so it > will be remembered between sessions. I also made some changes to how I was > implementing the option before, now uses less memory and is faster ;) > > Classes Changed in workbench.ui.visualeditor.diagram: > ManageLinksDialog.java > plugin.xml +1 Great job Dan! I just tested this and reviewed the code. Everything looks good. You're getting up2speed pretty fast :) One minor point: I'm not a big fan of commenting out old code. It makes the code messy after a while. Don't be afraid to remove code if you know it won't be of any use. We can always check the CVS history for it if need be. Richard, no need to review this patch (unless you want to :). It looks good to me and we can apply it as soon as our "code freeze" is over. BTW, I don't think it's necessary to rename the Java files. Patch has been reviewed and submitted. |