org.symbian.tools.mtw.core/src/org/symbian/tools/mtw/core/projects/IMTWProject.java
equal
deleted
inserted
replaced
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.mtw.core.projects; |
|
20 |
|
21 import org.eclipse.core.resources.IProject; |
|
22 import org.eclipse.core.runtime.IProgressMonitor; |
|
23 import org.symbian.tools.mtw.core.runtimes.IMobileWebRuntime; |
|
24 |
|
25 public interface IMTWProject { |
|
26 /** |
|
27 * @return primary target runtime of this project. Can never return null. |
|
28 */ |
|
29 IMobileWebRuntime getTargetRuntime(); |
|
30 |
|
31 /** |
|
32 * @return workspace project that back this MTW project. |
|
33 */ |
|
34 IProject getProject(); |
|
35 |
|
36 /** |
|
37 * @return symbolic MTW project name. |
|
38 */ |
|
39 String getName(); |
|
40 |
|
41 /** |
|
42 * Validate project configuration and contents. |
|
43 * |
|
44 * @return <code>true</code> if the project has no errors. Warnings do not count. |
|
45 */ |
|
46 boolean validate(IProgressMonitor monitor); |
|
47 } |
|