Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Existence of Folder structure in Workspace
Existence of Folder structure in Workspace [message #101954] Tue, 29 July 2003 03:23 Go to next message
Eclipse UserFriend
Originally posted by: gilgens.anz.com

Hi,

Does anybody know how to check the existence of a folder / folder
structure within a workspace.

I am building an editor which allows the user a text box to enter a folder
structure, or allows them to select a container from the
ContainerSelectionDialog which I have implemented.

Upon opening the file with the editor, I want to validate that the path
entered into the field metioned above exists in the workspace.

eg say the user has selected '\web\test' and saved it. When the file is
next opened by the editor, I want to test if this structure exists in my
workspace and validate it.

thanks in advance.

Sam.
Re: Existence of Folder structure in Workspace [message #102325 is a reply to message #101954] Tue, 29 July 2003 10:43 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NOSPAM.us.ibm.com

You get the IFolder for the folder and ask isExists().

Rich
Previous Topic:CVS Rep. Connections
Next Topic:src & bin
Goto Forum:
  


Current Time: Thu May 08 14:07:25 EDT 2025

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

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

Back to the top