[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.tmf] ISemanticModelTransformer and virtual nodes.

I am trying to construct a ISemanticModelTransformer that shows the outline 
with a set of virtual folder objects that contain the actual EObjects. It is 
not clear from the doc how override the methods in ISemanticModelTransformer 
in order to accomplish this.  I have done similar things with other GEF 
based outline views, but not quite sure how to do this using the xtext 
framework.

ie. I have say there is class Root that has 3 collections of things called 
apples, oranges and bananas. I want to show to display an outline like so.
 Root
    Apples    (Virtual folder that is the collection ot Root.apples.)
         Apple1
         Apple2
         Apple3
     Oranges
        Orange1
        Orange2
        Orange3
     Bananas