[kepler-dev] Changing icons for composite actors

Chad Berkley berkley at nceas.ucsb.edu
Mon Jun 18 10:15:45 PDT 2007


Yes, I think you can.  You can actually assign the icon by LSID.  See 
the file configs/ptolemy/configs/kepler/uiSVGIconMappingsByLSID.properties

You can also assign them by class:
configs/ptolemy/configs/kepler/uiSVGIconMappingsByClass.properties

Note the config file format is something like this:
urn\:lsid\:kepler-project.org\:actor\:417\:1=data_process-c
where the icon name (on the right side of the '=' sign is a filename 
from the kepler/lib/images/svg directory with the ".svg" removed.

chad

Bertram Ludaescher wrote:
> All:
> 
> I didn't seen an answer to this. Is there an easy way to customize icons? 
> If not, a hard way? No way? 
> 
> thanks!
> 
> Bertram
> 
>>>> On Thu, 7 Jun 2007 16:37:10 -0700 (PDT)
>>>> Norbert Podhorszki <npodhorszki at ucdavis.edu> wrote: 
> NP> 
> NP> Hi,
> NP> Is there a way to change icons of the (ad-hoc) composite actors in a 
> NP> workflow? I do not mind hacking the moml if necessary.
> NP> 
> NP> Thanks
> NP> Norbert
> NP> 
> NP>       Norbert Podhorszki
> NP>     ------------------------------------
> NP>       University of California, Davis
> NP>       Department of Computer Science
> NP>       1 Shields Ave, 2236 Kemper Hall
> NP>       Davis, CA 95616
> NP>       (530) 752-5076
> NP>       pnorbert at cs.ucdavis.edu
> NP>       ----------------------------------
> NP> _______________________________________________
> NP> Kepler-dev mailing list
> NP> Kepler-dev at ecoinformatics.org
> NP> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
> 
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev


More information about the Kepler-dev mailing list