project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/mmpEditor/testapi/SourcesPageTester.java
changeset 215 035fd2d44781
parent 190 10e89e9bcd1d
equal deleted inserted replaced
214:a32fb2f6b065 215:035fd2d44781
    37 	/**
    37 	/**
    38 	 * Retrieves any error message from the Sources page.
    38 	 * Retrieves any error message from the Sources page.
    39 	 * @param page - Sources page provided by caller
    39 	 * @param page - Sources page provided by caller
    40 	 * @return error message string if success, null otherwise
    40 	 * @return error message string if success, null otherwise
    41 	 */
    41 	 */
    42 	public static String getErrorMesaage(FormPage page) {
    42 	public static String getErrorMessage(FormPage page) {
    43 		if (page != null && page instanceof SourcesPage) {
    43 		if (page != null && page instanceof SourcesPage) {
    44 			SourcesPage sourcesPage = (SourcesPage) page;
    44 			SourcesPage sourcesPage = (SourcesPage) page;
    45 			return sourcesPage.getErrorMesaage();
    45 			return sourcesPage.getErrorMessage();
    46 		}
    46 		}
    47 		return null;
    47 		return null;
    48 	}
    48 	}
    49 
    49 
    50 	/**
    50 	/**