| <html> |
| <head> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <link rel="stylesheet" href="../../../../..//apistyles.css" type="text/css"> |
| <title>modulecore resources api overview</title> |
| </head> |
| <body> |
| <p> |
| The ComponentCore Virtual Path API allows clients to navigate |
| logical collections of files within Eclipse projects using API |
| similar to the Eclipse IResource API. |
| </p> |
| <a name="top"></a><a name="virtual-path"></a> |
| <table width="100%" cellspacing="5" cellpadding="2" border="0"> |
| <tbody> |
| <tr> |
| <td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Virtual Path API</font></b></td> |
| </tr> |
| </tbody> |
| </table> |
| <BR> |
| <table width="500"> |
| <tr> |
| <td> |
| <p> |
| The Virtual Path API provides a facade to the flexible project model. |
| Each IVirtualResource represents a resource from the runtime component |
| under a virtual runtime path. Each IVirtualResource may represent one |
| or more Eclipse Platfrom resources located at the same runtime path. |
| </p> |
| </td> |
| </tr> |
| </table> |
| <table width="500"> |
| <tr> |
| <td> |
| <p> |
| Each IVirtualResource is contained by exactly one IVirtualComponent. |
| However, the underlying resources that are represented by the |
| IVirtualResource may be contained by multiple IVirtualComponents. |
| IVirtualComponents are contained by IFlexibleProjects. Each |
| IFlexibleProject may contain one or more IVirtualComponents. |
| </p> |
| </td> |
| </tr> |
| </table> |
| <table cellpadding="10" cellspacing="10"> |
| <tr> |
| <td> |
| <p> |
| <img src="../../../../../../overview/mapping.jpg"></p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <i>Figure 1: A visual representation of a possible mapping between a Virtual structure and a Platform Resource structure.</i> |
| </p> |
| </td> |
| </tr> |
| </table> |
| <table cellpadding="10" cellspacing="10"> |
| <tr> |
| <td> |
| <p> |
| <img src="../../../../../../overview/virtual_path_api.jpg"></p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| <i>Figure 2: Virtual Path Model</i> |
| </p> |
| </td> |
| </tr> |
| </table> |
| <a href="#top">top</a> |
| </body> |
| </html> |