[kepler-dev] finding an effigy
Chad Berkley
berkley at nceas.ucsb.edu
Mon Jun 4 14:08:32 PDT 2007
Ok, that sounds good. Is there an easy method for getting the effigy of
that workflow? When I do a Configuration.findEffigy(<actor>), it
returns null. I'm not sure how to get a pointer to that open workflow
from a random place in the code.
thanks,
chad
Edward A. Lee wrote:
>
> I would suggest using the effigy for the model being viewed next to the
> library... The main purpose of this effigy is to give hierarchy to window
> managements, so that (for example), if you close a window, then all windows
> that are conceptually sub-windows close...
>
> Edward
>
>
> At 10:22 AM 6/4/2007, Chad Berkley wrote:
>> Hi,
>>
>> I'm trying to make it possible to get the documentation for an actor from the actor library by right clicking on an actor. In the GetDocumentationAction class, it asks the Configuration for an Effigy for the object you are trying to open the documentation for. Since there is no effigy for an actor that is not yet part of a model, it fails. Is there a way for me to add a ghost effigy into the configuration so that the documentation can be created?
>>
>> thanks,
>> chad
>>
>> ----------------------------------------------------------------------------
>> Posted to the ptolemy-hackers mailing list. Please send administrative
>> mail for this list to: ptolemy-hackers-request at ptolemy.eecs.berkeley.edu
>>
>
> ------------
> Edward A. Lee
> Chair of EECS and Robert S. Pepper Distinguished Professor
> 231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
> phone: 510-642-0253, fax: 510-642-2845
> eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal
>
More information about the Kepler-dev
mailing list