[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Add parent element programmatically

Hi,

I am trying to use GMF to create a model for CCXML.

My structure is something like this.

<CCXML>

    <AssignType>
    </AssignType>
    <EventProcessor>
            <TransitionType>
                 <AssignType>
                 </AssignType>
            </TransitionType>
    </EventProcessor>
</CCXML>

In this AssignType can come directly within root element i.e CCXML or it can come under TransitionType.

I was wondering if I try to drop AssignType from the palette within Eventprocessor can I create its parent node also i.e TransitionType .

Please sugegst how can I implement this.

Thanks in Advance

Regards
-Vikas