Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tools-dev] [GEF] selected visuals not always on-top

Also, you can't use the default layers for this.  By default, children of
the same model must have their figures as children of the same parent
figure.  You could either have layers in your model, or override
AbstractGraphicalEditPart#addChildVisual(...) to add the figure based on
some layer property.



                                                                                                                                                    
                      "Thilo                                                                                                                        
                      Schwidurski"             To:       <tools-dev@xxxxxxxxxxx>                                                                    
                      <thilo.s@xxxxxx>         cc:                                                                                                  
                      Sent by:                 Subject:  [tools-dev] [GEF] selected visuals not always on-top                                       
                      tools-dev-admin@e                                                                                                             
                      clipse.org                                                                                                                    
                                                                                                                                                    
                                                                                                                                                    
                      05/15/2002 12:51                                                                                                              
                      PM                                                                                                                            
                      Please respond to                                                                                                             
                      tools-dev                                                                                                                     
                                                                                                                                                    
                                                                                                                                                    



Hi,

any hints where I should look for the modifications needed to have the
Viewparts "Z-ordered" based on the selection?
Should I hook in a ISelectionChangedListener via AbstractEditPartViewer
#addSelectionChangedListener() ?
Can I utilize a LayerManager (a GraphicalRootEditPart)?
Regards, Thilo.


_______________________________________________
tools-dev mailing list
tools-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/tools-dev





Back to the top