org.symbian.tools.mtw.core/src/org/symbian/tools/tmw/core/projects/IMTWProjectProvider.java
changeset 461 7a8f9fa8d278
equal deleted inserted replaced
460:c0bff5ed874c 461:7a8f9fa8d278
       
     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.tmw.core.projects;
       
    20 
       
    21 import org.eclipse.core.resources.IProject;
       
    22 
       
    23 /**
       
    24  * Bridges between project models.
       
    25  * 
       
    26  * @author Eugene Ostroukhov (eugeneo@symbian.org)
       
    27  */
       
    28 public interface IMTWProjectProvider {
       
    29     /**
       
    30      * Returns {@link IMTWProject} object that works with specified {@link IProject} object.
       
    31      * @return non-<code>null</code> object
       
    32      */
       
    33     IMTWProject create(IProject project);
       
    34 
       
    35     /**
       
    36      * @return <code>true</code> if the {@link IMTWProject} object can be created.
       
    37      */
       
    38     boolean isSupportedProject(IProject project);
       
    39 }