org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/internal/deployment/DefaultDeploymentTypePresentation.java
changeset 460 c0bff5ed874c
parent 457 f1087591ff71
equal deleted inserted replaced
459:c278f0c8917f 460:c0bff5ed874c
    16  * Assumptions/Requirement/Pre-requisites:
    16  * Assumptions/Requirement/Pre-requisites:
    17  * Failures and causes:
    17  * Failures and causes:
    18  */
    18  */
    19 package org.symbian.tools.mtw.internal.deployment;
    19 package org.symbian.tools.mtw.internal.deployment;
    20 
    20 
    21 import org.eclipse.jface.wizard.IWizardPage;
    21 import org.eclipse.core.runtime.IStatus;
       
    22 import org.eclipse.core.runtime.Status;
    22 import org.eclipse.swt.SWT;
    23 import org.eclipse.swt.SWT;
    23 import org.eclipse.swt.widgets.Composite;
    24 import org.eclipse.swt.widgets.Composite;
    24 import org.eclipse.swt.widgets.Control;
    25 import org.eclipse.swt.widgets.Control;
    25 import org.eclipse.swt.widgets.Text;
    26 import org.eclipse.swt.widgets.Text;
    26 import org.symbian.tools.mtw.ui.deployment.IDeploymentTarget;
    27 import org.symbian.tools.mtw.ui.deployment.IDeploymentTarget;
    27 import org.symbian.tools.mtw.ui.deployment.ITargetDetailsPane;
    28 import org.symbian.tools.mtw.ui.deployment.ITargetDetailsPane;
    28 
    29 
    29 public class DefaultDeploymentTypePresentation implements ITargetDetailsPane {
    30 public class DefaultDeploymentTypePresentation implements ITargetDetailsPane {
    30     private Text text;
    31     private Text text;
    31 
    32 
    32     public void init(IWizardPage page) {
    33     public void init(Context page) {
    33     }
    34     }
    34 
    35 
    35     public void setTarget(IDeploymentTarget target) {
    36     public void setTarget(IDeploymentTarget target) {
    36         text.setText(target.getDescription());
    37         text.setText(target.getDescription());
    37     }
    38     }
    41     }
    42     }
    42 
    43 
    43     public Control getControl() {
    44     public Control getControl() {
    44         return text;
    45         return text;
    45     }
    46     }
       
    47 
       
    48     public IStatus validate() {
       
    49         return Status.OK_STATUS;
       
    50     }
    46 }
    51 }