Bug #3053
closedMultiple Documentation windows not possible
0%
Description
Only a single documentation window can appear at a time and it remains the first one opened.
Related issues
Updated by ben leinfelder almost 17 years ago
taking a stab at this for bug day...
Updated by ben leinfelder almost 17 years ago
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)
Updated by ben leinfelder almost 17 years ago
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.
Updated by ben leinfelder almost 17 years ago
entered a new bug (3099) that finishes what this one started.
Updated by Christopher Brooks almost 17 years ago
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?