[kepler-dev] svg for my actor

Chad Berkley berkley at nceas.ucsb.edu
Mon May 4 12:29:12 PDT 2009


Hi Chris,

Yeah, it's from the old system still.  this bug 
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3948 addresses this 
issue.  Hopefully I'll get started on that this week.  If not, probably 
next week.  Once the configuration systems are integrated and 
modularized, modules should be able to make the changes they need. 
Until then, we still have to edit those files in common.

chad


Chris Weed wrote:
> 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