org.symbian.tools.mtw.core/src/org/symbian/tools/tmw/core/runtimes/IPackager.java
equal
deleted
inserted
replaced
22 |
22 |
23 import org.eclipse.core.resources.IResource; |
23 import org.eclipse.core.resources.IResource; |
24 import org.eclipse.core.runtime.CoreException; |
24 import org.eclipse.core.runtime.CoreException; |
25 import org.eclipse.core.runtime.IPath; |
25 import org.eclipse.core.runtime.IPath; |
26 import org.eclipse.core.runtime.IProgressMonitor; |
26 import org.eclipse.core.runtime.IProgressMonitor; |
27 import org.symbian.tools.tmw.core.projects.IMTWProject; |
27 import org.symbian.tools.tmw.core.projects.ITMWProject; |
28 |
28 |
29 /** |
29 /** |
30 * Packager creates a runtime-specific application package that can be |
30 * Packager creates a runtime-specific application package that can be |
31 * deployed to compatible targets. |
31 * deployed to compatible targets. |
32 * |
32 * |
36 /** |
36 /** |
37 * Synchronously packages application for the specified runtime. |
37 * Synchronously packages application for the specified runtime. |
38 * |
38 * |
39 * @return {@link File} denoting location of the application package that can be deployed to targets |
39 * @return {@link File} denoting location of the application package that can be deployed to targets |
40 */ |
40 */ |
41 File packageApplication(IMTWProject project, IProgressMonitor monitor) |
41 File packageApplication(ITMWProject project, IProgressMonitor monitor) |
42 throws CoreException; |
42 throws CoreException; |
43 |
43 |
44 /** |
44 /** |
45 * @return application package root-relative path where the workspace resource will be packaged. Can be <code>null</code>. |
45 * @return application package root-relative path where the workspace resource will be packaged. Can be <code>null</code>. |
46 */ |
46 */ |
47 IPath getPathInPackage(IResource resource); |
47 IPath getPathInPackage(IResource resource); |
48 |
48 |
49 /** |
49 /** |
50 * @return file type of the application archive |
50 * @return file type of the application archive |
51 */ |
51 */ |
52 String getFileType(IMTWProject project); |
52 String getFileType(ITMWProject project); |
53 |
53 |
54 /** |
54 /** |
55 * @return target runtime that this packager packages for |
55 * @return target runtime that this packager packages for |
56 */ |
56 */ |
57 IMobileWebRuntime getTargetRuntime(); |
57 IMobileWebRuntime getTargetRuntime(); |