org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/ui/project/ITemplateInstaller.java
equal
deleted
inserted
replaced
20 |
20 |
21 import org.eclipse.core.resources.IProject; |
21 import org.eclipse.core.resources.IProject; |
22 import org.eclipse.core.runtime.CoreException; |
22 import org.eclipse.core.runtime.CoreException; |
23 import org.eclipse.core.runtime.IPath; |
23 import org.eclipse.core.runtime.IPath; |
24 import org.eclipse.core.runtime.IProgressMonitor; |
24 import org.eclipse.core.runtime.IProgressMonitor; |
|
25 import org.eclipse.jface.operation.IRunnableWithProgress; |
25 |
26 |
26 public interface ITemplateInstaller { |
27 public interface ITemplateInstaller { |
27 /** |
28 /** |
28 * Prepare the installer to work on specified project using template context. |
29 * Prepare the installer to work on specified project using template context. |
29 */ |
30 */ |
43 * Installer should only copy files specified. Keep in mind that some |
44 * Installer should only copy files specified. Keep in mind that some |
44 * files may be overridden by other installers. |
45 * files may be overridden by other installers. |
45 */ |
46 */ |
46 void copyFiles(IPath[] files, IProgressMonitor monitor) throws CoreException; |
47 void copyFiles(IPath[] files, IProgressMonitor monitor) throws CoreException; |
47 |
48 |
|
49 /** |
|
50 * These actions will be ran after the new project setup completes. They will be |
|
51 * ran in SWT thread. |
|
52 * @return runnable that will be ran after the project create finishes. Can be null. |
|
53 */ |
|
54 IRunnableWithProgress getPostCreateAction(); |
48 } |
55 } |