cloudfoundry/eclipse-integration-cloudfoundry — pull request #14 by dengwa (2014-06-25 00:31:32+00:00)
Title: Fix a dnd problem introduced by commit caeee93 

caeee93 introducted a condition check (modObj instanceof IProject). This causes failures when dragging java project from package explorer to application viewer.

In this case, the model of a Java Project in eclipse is an instance of IJavaProject, so the original code in line 192 of ApplicationMasterPart can't recognize the DragAndDrop of JavaProject to applicationsViewer.

The fix is to also check (modObj instanceof IJavaProject) and the way to get the module name.