temp method to get first module: committed for JL
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/modulecore/ModuleCore.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/modulecore/ModuleCore.java
index 8d5692c..4f71b5c 100644
--- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/modulecore/ModuleCore.java
+++ b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/modulecore/ModuleCore.java
@@ -650,6 +650,17 @@
 	private void throwAttemptedReadOnlyModification() {
 		throw new IllegalStateException("Attempt to modify a ModuleCore edit facade that was loaded as read-only.");
 	}
+	
+	/**
+	 * temporary method to return first module in the project
+	 * @return first module in the project
+	 * @deprecated
+	 */
+	public WorkbenchModule getFirstModule() {
+		if (getWorkbenchModules().length>0)
+			return getWorkbenchModules()[0];
+		return null;
+	}
 
 
 }
\ No newline at end of file