org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/internal/ui/deployment/DeployWizardContext.java
changeset 468 a05c6e5cc7d9
parent 463 aea4c83725d8
equal deleted inserted replaced
467:5a2901872fcf 468:a05c6e5cc7d9
    23 import java.util.HashSet;
    23 import java.util.HashSet;
    24 
    24 
    25 import org.eclipse.core.runtime.CoreException;
    25 import org.eclipse.core.runtime.CoreException;
    26 import org.eclipse.core.runtime.IProgressMonitor;
    26 import org.eclipse.core.runtime.IProgressMonitor;
    27 import org.eclipse.core.runtime.SubProgressMonitor;
    27 import org.eclipse.core.runtime.SubProgressMonitor;
    28 import org.symbian.tools.tmw.core.projects.IMTWProject;
    28 import org.symbian.tools.tmw.core.projects.ITMWProject;
    29 import org.symbian.tools.tmw.ui.TMWCoreUI;
    29 import org.symbian.tools.tmw.ui.TMWCoreUI;
    30 
    30 
    31 public class DeployWizardContext {
    31 public class DeployWizardContext {
    32     private DeploymentTargetWrapper target;
    32     private DeploymentTargetWrapper target;
    33     private final IMTWProject project;
    33     private final ITMWProject project;
    34     private boolean logging;
    34     private boolean logging;
    35 
    35 
    36     public DeployWizardContext(IMTWProject project) {
    36     public DeployWizardContext(ITMWProject project) {
    37         this.project = project;
    37         this.project = project;
    38     }
    38     }
    39 
    39 
    40     public void setTarget(DeploymentTargetWrapper target) {
    40     public void setTarget(DeploymentTargetWrapper target) {
    41         this.target = target;
    41         this.target = target;
    43 
    43 
    44     public DeploymentTargetWrapper getTarget() {
    44     public DeploymentTargetWrapper getTarget() {
    45         return target;
    45         return target;
    46     }
    46     }
    47 
    47 
    48     public IMTWProject getProject() {
    48     public ITMWProject getProject() {
    49         return project;
    49         return project;
    50     }
    50     }
    51 
    51 
    52     public DeploymentTargetWrapper[] getDeploymentTargets() {
    52     public DeploymentTargetWrapper[] getDeploymentTargets() {
    53         final DeploymentTargetTypeDescriptor[] providers = TMWCoreUI.getDefault().getDeploymentTypesRegistry()
    53         final DeploymentTargetTypeDescriptor[] providers = TMWCoreUI.getDefault().getDeploymentTypesRegistry()