Bug #3053
closed
Multiple Documentation windows not possible
Added by Dan Higgins almost 17 years ago.
Updated almost 17 years ago.
Description
Only a single documentation window can appear at a time and it remains the first one opened.
taking a stab at this for bug day...
Change to allow multiple documentation windows at once would be in the pII source:
ptolemy.vergil.basic.GetDocumentationAction
Currently only one named document Tableau can be displayed. If we used the uniqueName() method when constructing the tableau, then there could exist multiple windows at once.
there are two methods in this class where this change would be needed:
1. showDocAttributeTableau() - I hve tested the change here successfully
2. getDocumentation() - not tested, but similar scenario as above (but involves remote documentation and/or building)
Committed changes to:
src/exp/ptolemy/vergil/basic GetDocumentationAction.java
configs/ptolemy/configs/kepler configuration.xml
This change uses a parameter to determine if multiple documentation windows are allowed.
Note 1: The GetDocumentationAction class should be "folded into" the ptolemy source tree so that we do not maintain two versions that slowly diverge. (Hence the optional configuration parameter)
Note 2: Allowing multiple documentation windows allows multiple documentation windows for the same actor to be opened. This may be an undesirable (if unintended) consequence of the enhancement.
entered a new bug (3099) that finishes what this one started.
This bug seems to only affect Kepler and not Ptolemy?
If I open a model in Ptolemy, I can right click on an actor, select
"Get Documentation" and then right click on another actor and select
"Get Documentation" again. If I do this, I end up with two windows.
I could fold the change from bug 3099 into Ptolemy, but I suspect there
is a larger bug affecting Kepler only here.
Does the same problem happen in Ptolemy?
this is part of RC1 - retargeting
Original Bugzilla ID was 3053
Also available in: Atom
PDF