[kepler-dev] Kepler ontology
Dan Higgins
higgins at nceas.ucsb.edu
Mon Nov 5 10:16:49 PST 2007
Matt,
You are correct in that raster gifs are used in the tree. However
(if I understand Matthew's code correctly), those are dynamically
created from the SVG images and cached if they do not exist as files.
Dan
Matt Jones wrote:
> Dan --
>
> Although the canvas uses the SVG images for Kepler icons, doesn't the
> tree use the smaller, raster gif images of the icons? Or did you
> change this when you modified the library tree?
>
> Matt
>
> Dan Higgins wrote:
>> Hi Izabell,
>>
>> With respect to your custom icon, what format is it in and how
>> did you add it so it appears on the canvas?
>>
>> I ask because Kepler uses a different default system than
>> Ptolemy. Kepler icons are SVG based and are (usually) located in the
>> $KEPLER/lib/images/svg/ directory. Their use is defined in 2 files in
>> $KEPLER/configs/ptolemy/configs/kepler/ called
>> uiSVGIconMappingsByClass.properties and
>> uiSVGIconMappingsByLSID.properties. (Take a look at those files for
>> some documentation)
>>
>> I just got the actor tree to accept a default icon (see a recent
>> nightly zipped file). It seems to work with SVGIconMappings by class.
>>
>> Dan Higgins
>>
>> -----
>>
>> Izabell Caraconcea wrote:
>>> Hello All,
>>> I would like to see my own actors in the actor tree, in a new
>>> category, for example Project / <project name>
>>> I don't think that editing the owl file would be enough.
>>> At this point, I'm adding them under "General Purpose" branch.
>>> I created a special icon for my project, I can see it on the canvas
>>> but not in the tree. Why?
>>>
>>> Thank you,
>>> Izabell
>>> ------------------------------------------------------------------------
>>>
>>>
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at ecoinformatics.org
>>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>>
>>>
>>
>>
>> --
>> *******************************************************************
>> Dan Higgins higgins at nceas.ucsb.edu
>> http://www.nceas.ucsb.edu/ Ph: 805-893-5127
>> National Center for Ecological Analysis and Synthesis (NCEAS) Marine
>> Science Building - Room 3405
>> Santa Barbara, CA 93195
>> *******************************************************************
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at ecoinformatics.org
>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
--
*******************************************************************
Dan Higgins higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/ Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS) Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************
More information about the Kepler-dev
mailing list