Project

General

Profile

Actions

Bug #3053

closed

Multiple Documentation windows not possible

Added by Dan Higgins almost 17 years ago. Updated almost 17 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 sourceResolvedChad Berkley01/23/2008

Actions
Actions #1

Updated by ben leinfelder almost 17 years ago

taking a stab at this for bug day...

Actions #2

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)

Actions #3

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.

Actions #4

Updated by ben leinfelder almost 17 years ago

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

Actions #5

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?

Actions #6

Updated by ben leinfelder almost 17 years ago

this is part of RC1 - retargeting

Actions #7

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3053

Actions

Also available in: Atom PDF