[kepler-dev] [Bug 5598] parameters appear as white boxes instead of dots
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Fri Aug 24 12:44:30 PDT 2012
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5598
--- Comment #3 from Derik Barseghian <barseghian at nceas.ucsb.edu> 2012-08-24 12:44:30 PDT ---
I was able to replicate the WRM fail to Force Open issue w/ this run kar. I
opened bug#5697 for it.
(In reply to comment #1)
> I could not get the workflow run manager to work for me under Windows.
>
> I found
> https://code.kepler-project.org/code/kepler/trunk/modules/workflow-run-manager/docs/workflow-run-manager.pdf
>
> Under Windows Server 2008R2, I used the module manager to select
> workflow‐run-manager-2.3.
>
> Kepler failed to restart, so I did ant change-to -Dsuite=workflow-run-manager
> When I ran "ant run", the workflow run manager came up.
> I logged in anonymously to the repository, selected TestSSHWithDisplay and
> got a dialog about unsatisfied module dependencies.
>
> Clicking on Force Open did nothing.
>
> I'm out of time on this one, the bug seems to be Kepler-specific.
> We could push this off to post 2.4.
>
> I believe the problem is that the _icon is an Attribute, where it should
> be a ValueIcon or some other class.
>
> Below are details.
>
> ptolemy/vergil/icon/EditorIcon.java says:
>
> An icon is the visual representation of an entity or attribute.
> The visual representation is a Diva Figure. This class is an attribute
> that serves as a factory for such figures. This base class creates the
> figure by composing the figures of any contained attributes that have
> icons. If there are no such contained attributes, then it creates a
> default figure that is a white rectangle. This class also provides
> a facility for generating a Swing icon (i.e. an instance of
> javax.swing.Icon) from that figure (the createIcon() method).
>
>
>
> 2009-06-08 22:56 cxh
>
> * [r54262]
>
> /trunk/ptolemy/domains/wireless/demo/EvaderAndPursuer/EvaderAndPursuer.xml:
> Fixed radioRange property, it was showing up as a white box
>
> The diff is:
>
> - <property name="radioRange" class="ptolemy.data.expr.Parameter"
> value="50.0">
> - <property name="_icon" class="ptolemy.kernel.util.Attribute">
> - <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>
> - </property>
> - <property name="_editorFactory" class="ptolemy.kernel.util.Attribute">
> - </property>
> - <property name="_location" class="ptolemy.kernel.util.Location"
> value="495.0, 40.0">
> - </property>
> - </property>
> <property name="annotation" class="ptolemy.kernel.util.Attribute">
> <property name="_hideName"
> class="ptolemy.kernel.util.SingletonAttribute">
> </property>
> @@ -76,8 +59,27 @@
> </property>
> <property name="_vergilZoomFactor"
> class="ptolemy.data.expr.ExpertParameter" value="1.0">
> </property>
> - <property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter"
> value="{379.0, 274.5}">
> + <property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter"
> value="{397.5, 276.0}">
> </property>
> + <property name="RadioRange" class="ptolemy.data.expr.Parameter"
> value="50.0">
> + <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>
> + </property>
> + <property name="_editorFactory"
> class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
> + </property>
> + <property name="_location" class="ptolemy.kernel.util.Location"
> value="[530.0, 40.0]">
> + </property>
> + </property>
>
>
> It looks like the primary changes are that in the newer version:
> _icon is a ValueIcon not an simple Attribute
> _editorFactory is a VisibleParameterEditorFactory, not a simple Attribute
>
>
>
> 2006-05-11 17:53 cxh
>
> * [r42388]
> /trunk/ptolemy/domains/ct/demo/Pendulum3D/Pendulum3D.xml:
> Adjusted sizes, fixed white box problem with parameters
>
> The diffs are like:
>
> @@ -25,7 +25,7 @@
> <property name="phi" class="ptolemy.data.expr.Parameter" value="PI/6">
> <property name="_hideName"
> class="ptolemy.kernel.util.SingletonAttribute">
> </property>
> - <property name="_icon" class="ptolemy.kernel.util.Attribute">
> + <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>
> @@ -36,7 +36,7 @@
> </svg>
> </configure>
> </property>
> - <property name="_editorFactory" class="ptolemy.kernel.util.Attribute">
> + <property name="_editorFactory"
> class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
> </property>
> <property name="_location" class="ptolemy.kernel.util.Location"
> value="[200.0, 65.0]">
> </property>
> @@ -44,7 +44,7 @@
> <property name="theta" class="ptolemy.data.expr.Parameter" value="PI/10">
> <property name="_hideName"
> class="ptolemy.kernel.util.SingletonAttribute">
> </property>
> - <property name="_icon" class="ptolemy.kernel.util.Attribute">
> + <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>
> @@ -55,7 +55,7 @@
> </svg>
> </configure>
> </property>
> - <property name="_editorFactory" class="ptolemy.kernel.util.Attribute">
> + <property name="_editorFactory"
> class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
> </property>
> <property name="_location" class="ptolemy.kernel.util.Location"
> value="[200.0, 40.0]">
> </property>
> @@ -63,7 +63,7 @@
> <property name="phiDot" class="ptolemy.data.expr.Parameter" value="1.0">
> <property name="_hideName"
> class="ptolemy.kernel.util.SingletonAttribute">
> </property>
> - <property name="_icon" class="ptolemy.kernel.util.Attribute">
> + <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>
--
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Kepler-dev
mailing list