Results 1 to 6 of 6

Thread: File Browser

  1. #1
    Troman is offline Member
    Join Date
    Sep 2008
    Posts
    3
    Rep Power
    0

    Default File Browser

    Hi,

    I'm new to SWT and I'm looking for a file browser control for an Eclipse Plug-In. I know SWT has one, but it shows files in a list, what I need is 'Icon view', similar to windows explorer.

    I tried googling for a custom SWT controls that would offer such functionality, but didn't find anything.

    What would be the easiest way to implement a crossplatform file browser control like this? Does anyone have any tips?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Are you looking an Eclipse plug-in or an application similar to explorer?

    For the first part of my question, I'm not an Eclipse user. So I can't say anything about that. If you are talking about a plug-in then this is not the correct forum to discuss it. In that case I can move you to the correct place, let me know if you want and don't start a new thread again.

    If you want to develop a similar application as explorer, you can use the tree view for that. Just search on the web and see a simple example.

  3. #3
    Troman is offline Member
    Join Date
    Sep 2008
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    Are you looking an Eclipse plug-in or an application similar to explorer?

    For the first part of my question, I'm not an Eclipse user. So I can't say anything about that. If you are talking about a plug-in then this is not the correct forum to discuss it. In that case I can move you to the correct place, let me know if you want and don't start a new thread again.
    I'm talking about an SWT control.


    Quote Originally Posted by Eranga View Post
    If you want to develop a similar application as explorer, you can use the tree view for that. Just search on the web and see a simple example.
    You probably mean the TreeView control that is shown in explorer on the left side, that shows folders.
    That's not what I meant though. I mean the one on the right, where content of the selected folder is shown. I want my SWT control to list folder content from left to right (like when you right click inside a folder and select "view->icons" from the menu in MS explorer), not in a list. I'm looking for the easiest way to implement such functionality in SWT, because none of the original SWT controls seem to support it.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    That mean rather than displaying folders on the tree view you want to display files(content of the folder) also. It's not possible directly I think using tree view. Try to do it custom ways, look at all members of TreeView. You may find a solution for that.

  5. #5
    Troman is offline Member
    Join Date
    Sep 2008
    Posts
    3
    Rep Power
    0

    Default

    Allright, thank you.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. How to print a HTML file in browser look using JAVA
    By ammameiya in forum Advanced Java
    Replies: 5
    Last Post: 06-25-2010, 03:36 AM
  2. Browser
    By Jessie Madman in forum AWT / Swing
    Replies: 20
    Last Post: 02-17-2009, 02:56 PM
  3. Need Help! swt/Browser
    By sealyu in forum SWT / JFace
    Replies: 4
    Last Post: 07-09-2008, 09:16 PM
  4. how to get url from browser
    By srinivas reddy in forum New To Java
    Replies: 0
    Last Post: 02-08-2008, 08:46 AM
  5. Replies: 0
    Last Post: 12-06-2007, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •