org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/internal/deployment/DeploymentTargetWrapper.java
equal
deleted
inserted
replaced
26 import org.eclipse.swt.graphics.RGB; |
26 import org.eclipse.swt.graphics.RGB; |
27 import org.eclipse.ui.IMemento; |
27 import org.eclipse.ui.IMemento; |
28 import org.eclipse.ui.model.IWorkbenchAdapter; |
28 import org.eclipse.ui.model.IWorkbenchAdapter; |
29 import org.eclipse.ui.model.IWorkbenchAdapter2; |
29 import org.eclipse.ui.model.IWorkbenchAdapter2; |
30 import org.symbian.tools.mtw.core.projects.IMTWProject; |
30 import org.symbian.tools.mtw.core.projects.IMTWProject; |
31 import org.symbian.tools.mtw.core.runtimes.IMobileWebRuntime; |
31 import org.symbian.tools.mtw.core.runtimes.IPackager; |
32 import org.symbian.tools.mtw.ui.deployment.IDeploymentTarget; |
32 import org.symbian.tools.mtw.ui.deployment.IDeploymentTarget; |
33 import org.symbian.tools.mtw.ui.deployment.IDeploymentTargetType; |
33 import org.symbian.tools.mtw.ui.deployment.IDeploymentTargetType; |
34 |
34 |
35 public class DeploymentTargetWrapper implements IDeploymentTarget { |
35 public class DeploymentTargetWrapper implements IDeploymentTarget { |
36 public class WorkbenchAdapter2Wrapper implements IWorkbenchAdapter2 { |
36 public class WorkbenchAdapter2Wrapper implements IWorkbenchAdapter2 { |
82 public DeploymentTargetWrapper(IDeploymentTarget target, DeploymentTargetTypeDescriptor type) { |
82 public DeploymentTargetWrapper(IDeploymentTarget target, DeploymentTargetTypeDescriptor type) { |
83 this.target = target; |
83 this.target = target; |
84 this.type = type; |
84 this.type = type; |
85 } |
85 } |
86 |
86 |
87 public IStatus deploy(IMTWProject project, IMobileWebRuntime runtime, IProgressMonitor monitor) |
87 public IStatus deploy(IMTWProject project, IPackager packager, IProgressMonitor monitor) |
88 throws CoreException { |
88 throws CoreException { |
89 return target.deploy(project, runtime, monitor); |
89 return target.deploy(project, packager, monitor); |
90 } |
90 } |
91 |
91 |
92 @Override |
92 @Override |
93 public boolean equals(Object obj) { |
93 public boolean equals(Object obj) { |
94 if (this == obj) { |
94 if (this == obj) { |