plugins/org.symbian.tools.tmw.previewer/src/org/symbian/tools/tmw/previewer/core/IApplicationLayoutProvider.java
changeset 479 518afa7c6d2f
parent 478 6c07c755d0c7
child 480 b6d992b9b998
--- a/plugins/org.symbian.tools.tmw.previewer/src/org/symbian/tools/tmw/previewer/core/IApplicationLayoutProvider.java	Tue Aug 24 17:21:16 2010 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-/**
- * Copyright (c) 2010 Symbian Foundation and/or its subsidiary(-ies).
- * All rights reserved.
- * This component and the accompanying materials are made available
- * under the terms of the License "Eclipse Public License v1.0"
- * which accompanies this distribution, and is available
- * at the URL "http://www.eclipse.org/legal/epl-v10.html".
- *
- * Initial Contributors:
- * Symbian Foundation - initial contribution.
- * Contributors:
- * Description:
- * Overview:
- * Details:
- * Platforms/Drives/Compatibility:
- * Assumptions/Requirement/Pre-requisites:
- * Failures and causes:
- */
-package org.symbian.tools.tmw.previewer.core;
-
-import java.io.InputStream;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-
-/**
- * This interface provides application structure as it will be used in web 
- * runtime. Note that project layout may not directly correspond to application
- * layout.
- * 
- * @author Eugene Ostroukhov (eugeneo@symbian.org)
- */
-public interface IApplicationLayoutProvider {
-    /**
-     * @param file workspace resource
-     * @return path relative to application package root
-     */
-    IPath getResourcePath(IFile file);
-
-    /**
-     * @param path path relative to application root
-     * @return workspace resource
-     * @throws CoreException if cannot access resource contents 
-     */
-    InputStream getResourceFromPath(IProject project, IPath path) throws CoreException;
-
-    /**
-     * @return workspace file that corresponds to applicationPath or 
-     * <code>null</code> if none
-     */
-    IFile getWorkspaceFile(IProject project, IPath applicationPath) throws CoreException;
-}