org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/internal/deployment/DeploymentTargetTypeDescriptor.java
changeset 460 c0bff5ed874c
parent 458 5ff93668b08c
equal deleted inserted replaced
459:c278f0c8917f 460:c0bff5ed874c
   165             return true;
   165             return true;
   166         }
   166         }
   167         if (obj == null) {
   167         if (obj == null) {
   168             return false;
   168             return false;
   169         }
   169         }
       
   170         if (obj instanceof IDeploymentTargetType) {
       
   171             return obj.equals(type);
       
   172         }
   170         if (getClass() != obj.getClass()) {
   173         if (getClass() != obj.getClass()) {
   171             return false;
   174             return false;
   172         }
   175         }
   173         DeploymentTargetTypeDescriptor other = (DeploymentTargetTypeDescriptor) obj;
   176         DeploymentTargetTypeDescriptor other = (DeploymentTargetTypeDescriptor) obj;
   174         if (getId() == null) {
   177         if (getId() == null) {
   179             return false;
   182             return false;
   180         }
   183         }
   181         return true;
   184         return true;
   182     }
   185     }
   183 
   186 
       
   187     public boolean isLongRunning() {
       
   188         return Boolean.valueOf(element.getAttribute("long-running"));
       
   189     }
   184 }
   190 }