|| (list.get(0) instanceof IAdaptable && ((IAdaptable) list
.get(0)).getAdapter(IResource.class) instanceof IProject)) {
action = new PHPMoveProjectAction(fShell);
action.selectionChanged(selection);
} else if (selectedResources != null) {
action = new MoveResourceAction(fShell);
if (list.size() == 1) {
Object object = list.get(0);
if (object instanceof ElementImplForPhp
&& ((ElementImplForPhp) object).getModelElement() != null) {
IResource resource = ((ElementImplForPhp) object)