[kepler-dev] svg for my actor

Chris Weed chrisweed at gmail.com
Mon May 4 11:47:19 PDT 2009


I looked at that file, and it looks like I need to edit it to assign my icon.
Although, this doesn't seem very modular. Can I store the svg file and
properties file in my module
instead of in the common module?
Chris

On Mon, May 4, 2009 at 12:13 PM, Chad Berkley <berkley at nceas.ucsb.edu> wrote:
> Hi Chris,
>
> In kepler, the icons are set by the Batik renderer, not by vergil, so this
> function no longer works.  If you want to set an icon for your actor in
> Kepler, you can use the
> common/configs/ptolemy/configs/kepler/uiSVGIconMappingsByLSID.properties or
> common/configs/ptolemy/configs/kepler/uiSVGIconMappingsByClass.properties
> files.
>
> chad
>
> Chris Weed wrote:
>>
>> Hi,
>> I noticed in some of the available actors there is a function like
>> _attachText("_iconDescription",...)
>> for adding an icon to an actor.
>> I tried to add this to my actor, but when I instantiate the actor it is
>> blank.
>> I am wondering why this doesn't work, or if someone can point me to
>> documentation on this.
>> Chris
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>


More information about the Kepler-dev mailing list