The ptolemy.kernel.util.Workspace class provides a rudimentary directory service for models that share a workspace. See the class documentation.
Edward At 03:01 PM 3/10/2006, Dan Higgins wrote: >Hi Srinath, > The current workflow doesn't really have an ID, but there is a >concept of containment. All actors at the top level of a workflow (i.e. >ignoring composite actors which create a hierarchy) have the same >container. Parameters can be added to the workflow and those parameter >values can be used by any actor in the workflow using the expression >language. These parameters act as global variables. > These shared parameters are usually examined before execution, >however. They cannot be used to pass dynamic values (ie. values >calculated when an actor fires). > There is some discussion of this containment process in the Ptolemy >users manuals (but I don't remember where). > > Hopefully this is some help. > >Dan Higgins >NCEAS > >Srinath Perera wrote: > > >Hi All; > > > >1) Does Kepler has a ID and a scope for the current workflow? For an > >example can I have all my actors in a one workflow share same > >information and have a one scope (like a session) > > > >2) When I am writing a Actor how can I accsess the current workflow ID? > >(if there is something like that) > > > >Thanks > >Srinath > >_______________________________________________ > >Kepler-users mailing list > >Kepler-users at ecoinformatics.org > >http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users > > > > > > >-- >******************************************************************* >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-users mailing list >Kepler-users at ecoinformatics.org >http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users ------------ Edward A. Lee Professor, Chair of the EE Division, Associate Chair of EECS 231 Cory Hall, UC Berkeley, Berkeley, CA 94720 phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845 eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal

