blob: 1aab07784ac6de6d0c1cb268cd19b4b31deb6a25 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en">
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<TITLE>
Linked resources
</TITLE>
<link rel="stylesheet" type="text/css" HREF="../book.css">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>Virtual Folders</H2>
<p>
Virtual folders are folders that do not exist in the file system.
They are shown to the user with a unique folder icon.</p>
<p>
The method <b>IResource.isLinked</b> returns true for virtual folders, and
<b>IResource.getLocation</b>/<b>IResource.getLocationURI</b> always returns null.</p>
<p>
Virtual folders can be created by passing the <b>IResource.VIRTUAL</b> flag to the <b>IResource.create</b> method.</p>
<p>
By design, virtual folders can only have linked resources or other virtual folders as children.
</p>
</BODY>
</HTML>