org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/deploy/DeploymentTarget.java
changeset 458 5ff93668b08c
parent 457 f1087591ff71
child 459 c278f0c8917f
equal deleted inserted replaced
457:f1087591ff71 458:5ff93668b08c
     1 /**
       
     2  * Copyright (c) 2010 Symbian Foundation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the License "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Symbian Foundation - initial contribution.
       
    11  * Contributors:
       
    12  * Description:
       
    13  * Overview:
       
    14  * Details:
       
    15  * Platforms/Drives/Compatibility:
       
    16  * Assumptions/Requirement/Pre-requisites:
       
    17  * Failures and causes:
       
    18  */
       
    19 package org.symbian.tools.wrttools.wizards.deploy;
       
    20 
       
    21 import org.eclipse.swt.graphics.Image;
       
    22 import org.symbian.tools.wrttools.core.deployer.IWidgetDeployer;
       
    23 import org.symbian.tools.wrttools.core.status.IWRTStatusListener;
       
    24 
       
    25 public abstract class DeploymentTarget {
       
    26     private final String name;
       
    27     protected String addr;
       
    28 
       
    29     public DeploymentTarget(String name) {
       
    30         this.name = name;
       
    31     }
       
    32 
       
    33     public String getAddr() {
       
    34         return addr;
       
    35     }
       
    36 
       
    37     public String getName() {
       
    38         return name;
       
    39     }
       
    40 
       
    41     public abstract String getDescription();
       
    42     public abstract IWidgetDeployer createDeployer(IWRTStatusListener statusListener);
       
    43     public abstract String getType();
       
    44     public abstract Image getIcon();
       
    45     
       
    46     public boolean isResolved() {
       
    47         return true;
       
    48     }
       
    49 
       
    50     public abstract String getDeployMessage();
       
    51 }