Closed dengwa closed 10 years ago
2514ac5 should fix the issue, although it can be improved by checking for IJavaProject rather than JavaProject. Please sync with cloudfoundry:master and see if the issue is resolved for you. Thanks.
Wonderful! we both noticed the problem and worked on the fix at almost the same time. Yes, your fix works the same.
Thanks. I'll go ahead and close this PR.
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.