[kepler-dev] [Bug 5266] Two empty boxes inside Sinewave actor when in Reporting suite

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Oct 17 17:11:40 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5266

--- Comment #17 from Christopher Brooks <cxh at eecs.berkeley.edu> ---
The Revised ValueIcon.java file at
http://bugzilla.ecoinformatics.org/attachment.cgi?id=440
still has the problem where when I drag in a Parameter, the Parameter
name is not shown.

Indeed, the xml has _hideName set:

    <property name="Parameter" class="ptolemy.data.expr.Parameter">
        <property name="_hideName"
class="ptolemy.kernel.util.SingletonAttribute">
        </property>
        <property name="_icon" class="ptolemy.vergil.icon.ValueIcon">
            <property name="_color" class="ptolemy.actor.gui.ColorAttribute"
value="{0.0, 0.0, 1.0, 1.0}">
            </property>
        </property>
        <property name="_smallIconDescription"
class="ptolemy.kernel.util.SingletonConfigurableAttribute">
            <configure>
      <svg>
        <text x="20" style="font-size:14; font-family:SansSerif; fill:blue"
y="20">-P-</text>
      </svg>
    </configure>

ptolemy/configs/utilityParameter.xml defines the Parameter that is dragged
in and indeed, it defines _hideName.

This change would require that almost every model be updated.

In addition, the names and values of PortParameters are not shown,
For example, see $PTII/ptolemy/actor/lib/Sinewave.xml

I'm not sure how to proceed.  Sean has offered a solution, but the solution
would require updating many models.  Even before Sean's solution,
it seems like _hideName in Parameters was being set as a hacky fix to a
problem.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20121018/36f8747a/attachment.html>


More information about the Kepler-dev mailing list