org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/ui/deployment/IDeploymentTargetType.java
equal
deleted
inserted
replaced
19 package org.symbian.tools.tmw.ui.deployment; |
19 package org.symbian.tools.tmw.ui.deployment; |
20 |
20 |
21 import org.eclipse.core.runtime.CoreException; |
21 import org.eclipse.core.runtime.CoreException; |
22 import org.eclipse.core.runtime.IProgressMonitor; |
22 import org.eclipse.core.runtime.IProgressMonitor; |
23 import org.eclipse.core.runtime.jobs.ISchedulingRule; |
23 import org.eclipse.core.runtime.jobs.ISchedulingRule; |
24 import org.symbian.tools.tmw.core.projects.IMTWProject; |
24 import org.symbian.tools.tmw.core.projects.ITMWProject; |
25 |
25 |
26 /** |
26 /** |
27 * This interface is for deployment targets providers. |
27 * This interface is for deployment targets providers. |
28 * |
28 * |
29 * @author Eugene |
29 * @author Eugene |
33 * Returns list of the targets that accept provided project. Project |
33 * Returns list of the targets that accept provided project. Project |
34 * cannot be <code>null</code>. |
34 * cannot be <code>null</code>. |
35 * @return List of the valid deployment targets. Both <code>null</code> and |
35 * @return List of the valid deployment targets. Both <code>null</code> and |
36 * empty array are a valid return value when there are no available targets. |
36 * empty array are a valid return value when there are no available targets. |
37 */ |
37 */ |
38 IDeploymentTarget[] getTargets(IMTWProject project); |
38 IDeploymentTarget[] getTargets(ITMWProject project); |
39 |
39 |
40 /** |
40 /** |
41 * Discovers targets. This can be a long-running task and in most cases |
41 * Discovers targets. This can be a long-running task and in most cases |
42 * will be triggered by the user. |
42 * will be triggered by the user. |
43 */ |
43 */ |
46 /** |
46 /** |
47 * Find target based on project and target ID. This method returns |
47 * Find target based on project and target ID. This method returns |
48 * <code>null</code> if target with given ID cannot be found or if |
48 * <code>null</code> if target with given ID cannot be found or if |
49 * the target does not accept project any longer. |
49 * the target does not accept project any longer. |
50 */ |
50 */ |
51 IDeploymentTarget findTarget(IMTWProject project, String id); |
51 IDeploymentTarget findTarget(ITMWProject project, String id); |
52 |
52 |
53 /** |
53 /** |
54 * Return <code>false</code> if user needs to trigger long-running |
54 * Return <code>false</code> if user needs to trigger long-running |
55 * discovery to see all potential deployment targets. |
55 * discovery to see all potential deployment targets. |
56 */ |
56 */ |