Opened 12 years ago
Closed 12 years ago
#87 closed defect (fixed)
Replace Help in Attenuation Relationship App, add Help to Hazard Curve Apps
Reported by: | Ned Field | Owned by: | Kevin Milner |
---|---|---|---|
Priority: | major | Milestone: | OpenSHA 1.1 |
Component: | sha | Version: | 1.0.x |
Keywords: | Cc: | Kevin Milner, Peter Powers |
Description
The "Get Info" button on the attenuation relationship app is not working, both because the getInfoURL() method in each model is out of date since Peter updated the glossary, and because Peter's pages don't look good in what we're using to show those pages in what pops up. I'm trying to submit a ticket buy I'm getting a very cryptic error.
Change History (6)
comment:1 Changed 12 years ago by
Cc: | Kevin Milner Peter Powers added; milner removed |
---|---|
Owner: | changed from Peter Powers to Kevin Milner |
comment:2 Changed 12 years ago by
It's bigger.... it's badder.....
java.awt.Desktop !!!!
Use browse() to open the getInfoURL().
For that matter there are many places where Desktop methods could probably be used that woudl save us the hassle of using clunky swing components.
comment:3 Changed 12 years ago by
note that this still requires removing the help interface and just launching in a browser. Is that OK Ned?
comment:4 Changed 12 years ago by
I think we still want a link to the user guide (http://www.opensha.org/guide-AttenuationRelationship) somewhere in the application.
Could we have this page pop up from a "User Guide" option listed under the "HELP" menu?
I think we can live without that "Online Help" sub-app (which also gave access to the OpenSHA Overview, the Glossary, etc). These things will be accessible from the web page that pops up.
Make sense?
comment:5 Changed 12 years ago by
Status: | new → assigned |
---|
OK sounds good, I'll get on that. I also fixed all of the URLs.
comment:6 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | "Get Info" button on the attenuation relationship app → Replace Help in Attenuation Relationship App, add Help to Hazard Curve Apps |
fixed in [7266]. Also added new help menu to hazard curve apps
I'll update all of the getInfoURL instances, but we need to think about how we should display them. Currently, java help uses java's JEditorPane class for rendering HTML...but that class only supports HTML 3.2 (hello 1997!!!).
I see two options:
What do you guys think?