Change ComponentNode back to a subclass of Node (instead of Block), but
then allow Document to accept ComponentNode as a child, in addition to
a Block.  The reason for making it a Block was to allow direct insertion
into a document, but clicking on one of them that way resulted in an
exception trying to find children of that node.  So, rather than figure
that out, just make the special case exception inside a Document. This
appears to work everywhere without problems.


git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1838997 13f79535-47bb-0310-9956-ffa450edef68
2 files changed