Bug #5642
closed
Kepler should have access to the ShowTypes attribute
Added by Christopher Brooks over 12 years ago.
Updated about 12 years ago.
Description
Edward added a ShowTypes attribute, that when dragged in to a model, annotates
the ports with the types.
In vergil, go to the left hand actor pane and do Utilities -> Analysis -> ShowTypes
In Kepler, Tools -> Instantiate Attribute
ptolemy.vergil.actor.lib.ShowTypes
Unfortunately, a green box without a name shows up, there is another bug for this:
bug #4903
Files
There are many Ptolemy components not in the Kepler library; see bug #5589. It would be good to know which ones are appropriate for Kepler so they can all be added at once.
ShowTypes has been added to the actor library.
As with instantiating manually, dropping it on the canvas results in a green box without a name.
I'm tentatively closing this bug. If people feel strongly that the default behavior of this actor should be that the label is visible, then I can reopen the bug and change it accordingly.
I reopening this, the bug is that the ShowTypes attribute is not labeled
when it is dragged in the canvas inside Kepler.
In Kepler instantiating the ShowTypes attribute with
Tools -> Instantiate Attribute
ptolemy.vergil.actor.lib.ShowTypes
also results in an icon with a wrench that has no name.
However, in vergil when I drag the ShowTypes icon it, it says Show Types.
This illustrates a generic bug that occurs with attributes in Kepler.
To close this bug, in Kepler the ShowTypes attribute should have its name
visible.
Fixed in commit r30795. The original cyan-colored Ptolemy icon should be visible when the actor is drag-instantiated from the library.
Original Bugzilla ID was 5642
Also available in: Atom
PDF