Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding Package Explorer view & File handling in an RCP application
Adding Package Explorer view & File handling in an RCP application [message #444036] Wed, 08 February 2006 21:58 Go to next message
Eclipse UserFriend
Originally posted by: rob_dayton.yahoo.com

Hi,

Where can I learn about file handling and adding something similar to a
Java project & a package explorer in an RCP application?

Thanks,
Rob
Re: Adding Package Explorer view & File handling in an RCP application [message #444091 is a reply to message #444036] Thu, 09 February 2006 12:49 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
The file stuff is handled in the org.eclipse.core.resource plugin. The tree-like view is handled by a TreeViewer component, in the org.eclipse.ui.viewers plugin. Your best starting point would probably to read the JavaDoc for those, and follow links to interfaces like ITreeContentProvider.

<a href=" http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/core/resources/package-summa ry.html">Core Resources</a>
<a href=" http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/jface/viewers/package-summar y.html">Viewers</a>

There's also some articles at http://www.eclipse.org/articles/ and at least one shows you how to present a tree of information using a <a hre" http://www.eclipse.org/articles/treeviewer-cg/TreeViewerArti cle.htm">TreeViewer</a>.

I'd also recommend reading Ed's tutorials on RCP if you haven't already:

<a href=" http://www.eclipse.org/articles/Article-RCP-1/tutorial1.html">part 1</a>

<a href=" http://www.eclipse.org/articles/Article-RCP-2/tutorial2.html">part 2</a>

<a href=" http://www.eclipse.org/articles/Article-RCP-3/tutorial3.html">part 3</a>

HTH,

Alex.
Previous Topic:ComboBoxPropertyDescriptor-accepting a string...
Next Topic:Eclipse 3.2M4 - Not able to launch Eclipse IDE RunTimeException
Goto Forum:
  


Current Time: Wed Nov 06 09:50:35 GMT 2024

Powered by FUDForum. Page generated in 0.29063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top