org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/DeploymentTargetTypeDescriptor.java
--- a/org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/DeploymentTargetTypeDescriptor.java Wed Aug 18 09:30:53 2010 -0700
+++ b/org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/DeploymentTargetTypeDescriptor.java Thu Aug 19 16:13:44 2010 -0700
@@ -26,14 +26,14 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
import org.eclipse.jface.resource.ImageDescriptor;
-import org.symbian.tools.tmw.core.projects.IMTWProject;
+import org.symbian.tools.tmw.core.projects.ITMWProject;
import org.symbian.tools.tmw.ui.TMWCoreUI;
import org.symbian.tools.tmw.ui.deployment.IDeploymentTarget;
import org.symbian.tools.tmw.ui.deployment.IDeploymentTargetType;
public final class DeploymentTargetTypeDescriptor implements IDeploymentTargetType {
public class NullProvider implements IDeploymentTargetType {
- public IDeploymentTarget[] getTargets(IMTWProject project) {
+ public IDeploymentTarget[] getTargets(ITMWProject project) {
return null;
}
@@ -41,7 +41,7 @@
// Do nothing
}
- public IDeploymentTarget findTarget(IMTWProject project, String id) {
+ public IDeploymentTarget findTarget(ITMWProject project, String id) {
return null;
}
@@ -64,12 +64,12 @@
this.element = element;
}
- public boolean supports(IMTWProject project) {
+ public boolean supports(ITMWProject project) {
// We will support more declarative filtering later
return true;
}
- public DeploymentTargetWrapper[] getTargets(IMTWProject project) {
+ public DeploymentTargetWrapper[] getTargets(ITMWProject project) {
final DeploymentTargetWrapper[] targets = wrap(getProvider().getTargets(project));
return targets != null ? targets : NO_TARGETS;
}
@@ -99,7 +99,7 @@
getProvider().discoverTargets(monitor);
}
- public IDeploymentTarget findTarget(IMTWProject project, String id) {
+ public IDeploymentTarget findTarget(ITMWProject project, String id) {
return wrap(getProvider().findTarget(project, id));
}