Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] PackageExplorer elements in own view



Hi,

you can use the JavaElementLabelProvider to render them an use the
StandardJavaElementContentProvider to access their structure. Both classes
are API.

--erich



                                                                           
             "Neeb, Christian                                              
             S-RD-AS5 EXT"                                                 
             <Christian.Neeb.e                                          To 
             xt@xxxxxxxxxxxxxx         <jdt-dev@xxxxxxxxxxx>               
             >                                                          cc 
             Sent by:                                                      
             jdt-dev-admin@ecl                                     Subject 
             ipse.org                  [jdt-dev] PackageExplorer elements  
                                       in own view                         
                                                                           
             11/07/2003 11:04                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             jdt-dev@eclipse.o                                             
                    rg                                                     
                                                                           
                                                                           




Hi,

I'm writing a view to display a special project hierarchy as an Eclipse
plugin. Now I want to display Java elements at some position in my
treeview. By now I can only show them as regular IResources (Folder, File,
Project, etc.). Is there a possibility to reuse the PackageExplorer
representation of Java elements like IPackageFragment or ICompilationUnit?

Thanks,
Christian

--
Christian Neeb
Mail: christian.neeb.ext@xxxxxxxxxxxxxx
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-dev




Back to the top