@Override
	public Object[] getElements(Object inputElement) {
		List<IProject> gruntProjects = new ArrayList<IProject>();
		if (inputElement instanceof IWorkspaceRoot) {
			IWorkspaceRoot root = (IWorkspaceRoot) inputElement;
			for (IProject project : root.getProjects()) {
				if (project.getFile(GRUNT_FILE).exists()) {
					gruntProjects.add(project);
				}
			}
		}
		return gruntProjects.toArray(new IProject[0]);
	}