Error:
Could not open the editor: The editor class could not be instantiated. This
The solution to the above problem is to go to workspace.metadata.plugins\org.eclipse.jdt.core & remove all the index files.
Thanks FlorianOver