MoMLParser.java says:

                // NOTE: The director element is deprecated.
                // Use a property instead.  This is kept here so that
                // this parser can read older MoML files.

The corresponding cvs comment is:

date: 2000/11/17 06:07:21;  author: eal;  state: Exp;  lines: +183 -139
changed hierarchy so composites are referenced like atomic actors in MoML


During the October 25, 2000 review of the MoML Chapter,
someone commented:
> Sec2.4.5 How can I delete a director? Shall we remove the director
> element from MoML (now Director is derived from ComponentEntity)?

The solution was:
>    Directors are now ordinary properties.

So, the reason that we have no <director ...> tag is because directors
are regular components and can be represented as properties.

Hope this helps.

_Christopher

--------

    Hi, all!
    
      Why  doesn't  Ptolemy  II  use <director ...> tag in its MoML files?
    Code  comments  in  ptolemy/moml/MoMLParser.java say that this tag has
    been deprecated. If so, what were the reasons?
    
    --
    Alexander Lukichev
    CS department, Saint-Petersburg State University of Information Technologie
   s, Mechanics and Optics,
    Russia.
    mailto:[EMAIL PROTECTED]
    
    
    ---------------------------------------------------------------------------
   -
    Posted to the ptolemy-hackers mailing list.  Please send administrative
    mail for this list to: [EMAIL PROTECTED]
--------

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to