Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding Folders And Files Inside A folder in A Rcp VIew Having Table And TreeView
Adding Folders And Files Inside A folder in A Rcp VIew Having Table And TreeView [message #453545] Wed, 02 August 2006 06:11 Go to next message
Eclipse UserFriend
Originally posted by: vindhyalesh.huawei.com

hi,
inside a view i am maintaining a tableview and a treview,its just like
file
explorer . when user clicks in the tree on some folders,the files
inside this folder should be displayed in the table and subfolders if any
should be displayed in the tree itself. i need more functionalities like
deleting,adding folders and adding files inside a particular folder.

please provide me a solution,urgently required.......
THANX IN ADVANCE

Best Regards...
Vindhyalesh
Re: Adding Folders And Files Inside A folder in A Rcp VIew Having Table And TreeView [message #453552 is a reply to message #453545] Wed, 02 August 2006 14:22 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Vindhyalesh wrote:
> hi,
> inside a view i am maintaining a tableview and a treview,its just like
> file
> explorer . when user clicks in the tree on some folders,the files
> inside this folder should be displayed in the table and subfolders if
> any should be displayed in the tree itself. i need more functionalities
> like deleting,adding folders and adding files inside a particular folder.

A view with a table and a view with a tree? Or a view containing a
TreeViewer and one of the TableViewers?

Either way you need to add a selection listener in the appropriate place
and respond to changes in selection. You would customize the viewers to
do other stuff you need, maybe adding a double-click strategy or something.

In the scope of the workbench, selection changes are available. Check out:

http://www.eclipse.org/articles/Article-WorkbenchSelections/ article.html

Later,
PW


Re: Adding Folders And Files Inside A folder in A Rcp VIew Having Table And TreeView [message #453563 is a reply to message #453545] Wed, 02 August 2006 15:59 Go to previous message
Eclipse UserFriend
Originally posted by: muell.da-kulmi.de

Hi,

check this example:

http://www-128.ibm.com/developerworks/java/library/os-ecgui1 /

Sounds like it's just what you are searching for.

Stefan
Previous Topic:Java web start could not find framework error
Next Topic:How to Manage User session in RCP application
Goto Forum:
  


Current Time: Sun Dec 22 06:22:04 GMT 2024

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

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

Back to the top