Project

General

Profile

Bug #3053

Multiple Documentation windows not possible

Added by Dan Higgins over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
01/08/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3053

Description

Only a single documentation window can appear at a time and it remains the first one opened.


Related issues

Blocked by Kepler - Bug #3099: GetDocumentationAction.java needs to be moved into pII sourceResolved01/23/2008

History

#1 Updated by ben leinfelder over 11 years ago

taking a stab at this for bug day...

#2 Updated by ben leinfelder over 11 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)

#3 Updated by ben leinfelder over 11 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.

#4 Updated by ben leinfelder over 11 years ago

entered a new bug (3099) that finishes what this one started.

#5 Updated by Christopher Brooks over 11 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?

#6 Updated by ben leinfelder over 11 years ago

this is part of RC1 - retargeting

#7 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3053

Also available in: Atom PDF