Multiple Documentation windows not possible
Only a single documentation window can appear at a time and it remains the first one opened.
#2 Updated by ben leinfelder about 13 years ago
Change to allow multiple documentation windows at once would be in the pII source:
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)
#3 Updated by ben leinfelder about 13 years ago
Committed changes to:
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.
#5 Updated by Christopher Brooks about 13 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?