Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ve-dev] Getting Live objects from IJavaInstance/ ComponentEditPart

The Visual Editor itself is working with the EMF model instance of the
Panel (represented by the IJavaInstance).  This is since the actual panel
is instantiated in a different VM which has the project's classpath.   Most
often, the VE deals with the model object. Changes to the model object is
listened to by a ProxyAdapter (one of the adapters on the IJavaInstance).
This proxy adapter talks across to the target VM to make the changes on the
live Panel.

What is it that you are trying to do?


------------
Dr. Gili Mendel
IBM
Software Development
RTP Raleigh, NC
(919)543 6408, tie: 441 6408



                                                                           
             "H Ramachandra,                                               
             Rashmi"                                                       
             <rashmi.h.ramacha                                          To 
             ndra@xxxxxxx>             <ve-dev@xxxxxxxxxxx>                
             Sent by:                                                   cc 
             ve-dev-bounces@ec                                             
             lipse.org                                             Subject 
                                       [ve-dev] Getting Live objects from  
                                       IJavaInstance/ ComponentEditPart    
             01/10/2006 01:00                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
                Discussions                                                
             people developing                                             
               code for the                                                
               Visual Editor                                               
                  project                                                  
                                                                           
                                                                           




Hi All,
    Is it possible to get the live component from the IJavaInstance. I have
the list of IJavaInstance from the  VisualEditor 's Selection listener. Now
I want to get the Live Objects/ instances of the objects selected. i.e .,If
I have selected a Panel , I need to the Panel object programatically. I
have browsed through IJavaInstance and it's corresponding ComponentEditPart
objects. But am unable to get any lead into the results I require. Any help
in this regard is greatly appreciated.


Thank You and Regards
Rashmi H.Ramachandra _______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev






Back to the top