<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi <font face="Arial" size="2">Oliviero,</font><br>
<br>
    Please check Section 5.3.4 Saving Actors to Your Library of User
Manual for Kepler 1.0.0 on how to save actors and make them searchable.<br>
<br>
    Directors are a little tricky since the above instructions only
work for actors. I think you have to do it manually. Please check the
KAR file content in Kepler-1.0.0\kar\directors\ directory. You need to
create similar KAR files for new directors (the things to be modified
are xml file name, the first property name in the xml file, the
'userLevelDocumentation' property in the xml file, the value of 'class'
property in the xml file, the lsid number in META-INF\MANIFEST.MF
file). I attached a sample FSMDirector kar file.<br>
<br>
    So far, you should be able to see FSMDirector in the component Tab.
Yet its icon is regular actor icon. To fix the icon problem, you have
to edit
Kepler-1.0.0\configs\ptolemy\configs\kepler\uiSVGIconMappingsByClass.properties
file by adding the class of new director, such as
'ptolemy.domains.fsm.kernel.FSMDirector=director'.<br>
<br>
    After the above steps, you also need to remove ~/.kepler directory
to make the created kar files to be effective. <br>
<br>
    Please also check Section 10.3 Adding an Actor to the Local Library
and Section 10.4 Sharing an Actor: Creating a KAR File for more
information. <br>
<pre class="moz-signature" cols="72">Best wishes

Sincerely yours

Jianwu Wang
<a class="moz-txt-link-abbreviated" href="mailto:jianwu@sdsc.edu">jianwu@sdsc.edu</a>
<a class="moz-txt-link-freetext" href="http://users.sdsc.edu/~jianwu/">http://users.sdsc.edu/~jianwu/</a>

Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center 
University of California, San Diego
San Diego, CA, U.S.A. </pre>
<br>
On 7/19/2010 11:34 PM, BARANA Oliviero 208302 wrote:
<blockquote
 cite="mid:1299EF3181B10F479D85C32801328524060182FD@THEZE.intra.cea.fr"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="Generator"
 content="MS Exchange Server version 6.5.7655.10">
  <title>FSMs and Modal Models</title>
<!-- Converted from text/rtf format -->
  <p><font face="Arial" size="2">Hi,</font>
  </p>
  <p><font face="Arial" size="2">probably this is a naive question but
... does anyone know if it is possible to have the FSM and Modal Model
actors and directors directly in the Kepler ontology-tree window?</font></p>
  <p><font face="Arial" size="2">I would like to find a way to use them
simpler then "Tools/Instantiate Component" with the right Ptolemy path
or starting from an example still available in Ptolemy.</font></p>
  <p><font face="Arial" size="2">Mant thanks in advance</font>
  </p>
  <p><font face="Arial" size="2">Oliviero</font>
  </p>
  <p><font face="Arial" size="2">PS: I am using Kepler 1.0.0 running on
a remote cluster and so I don't have much freedom about its
configuration, but I can always ask for modifications ...</font></p>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
  </pre>
</blockquote>
</body>
</html>