Project

General

Profile

Bug #5642

Kepler should have access to the ShowTypes attribute

Added by Christopher Brooks over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
07/20/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5642

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

ShowTypesInKepler.png (7.56 KB) ShowTypesInKepler.png Christopher Brooks, 09/17/2012 01:01 PM
ShowTypesInVergil.png (7.13 KB) ShowTypesInVergil.png Christopher Brooks, 09/17/2012 01:02 PM

Related issues

Blocks Kepler - Bug #4903: Text in attributes not rendered properlyResolved03/24/2010

History

#1 Updated by Daniel Crawl over 7 years ago

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.

#2 Updated by Daniel Crawl over 7 years ago

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.

#3 Updated by Sean Riddle about 7 years ago

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.

#4 Updated by Christopher Brooks about 7 years ago

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.

#7 Updated by Sean Riddle about 7 years ago

Fixed in commit r30795. The original cyan-colored Ptolemy icon should be visible when the actor is drag-instantiated from the library.

#8 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5642

Also available in: Atom PDF