[kepler-dev] [Bug 3363] - Show name checkbox does nothing for most Parameters
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Thu Jun 5 19:23:03 PDT 2008
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3363
cxh at eecs.berkeley.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|NEW |ASSIGNED
Summary|Show name checkbox does |Show name checkbox does
|nothing for most Paramters |nothing for most Parameters
Target Milestone|Unspecified |2.0.0
------- Comment #1 from cxh at eecs.berkeley.edu 2008-06-05 19:23 -------
I'm not sure about this one.
In 2001, Edward wrote:
> I've added a mechanism for controlling whether the name of an
> entity is shown. Unfortunately, it wasn't possible to do this
> right without having a backward compatibility problem... Now,
> all models that have old-style labels will now show the names
> of the visible attributes...
>
> To fix this, just select the label and right click and select
> Customize Name. The unselect the "show name" item.
actor.gui.RenameConfigurer looks like:
--start--
// By default, names are not shown for ports, and are shown
// for everything else. Note that ports are a little confusing,
// because names are _always_ shown for external ports inside
// a composite actor. This dialog determines whether they will
// be shown on the outside of the composite actor.
boolean nameShowing = false;
if (object instanceof Port) {
nameShowing = _isPropertySet(_object, "_showName");
} else {
nameShowing = !_isPropertySet(_object, "_hideName");
}
addCheckBox("Show name", "Show name", nameShowing);
--end--
However, we have a different way of renaming ports now, so I
suspect that we can get rid of the "Show name" checkbox.
Edward?
More information about the Kepler-dev
mailing list