A RPi is probably not going to be powerful enough for you to run Eclipse on it and get any sort of performance necessary to make it worth while. The devs don’t even recommend running Designer on a Pi which is a vastly stripped down version of Eclipse. A quick google search reveals:
I was not precise. I want to install Eclipse SmartHome on RPi 2 to implement add-ons to openHAB 2.
As I understand, it is better to run Eclipse on PC and send files to RPi?
Correct, or just run it on your PC. The only reason you need to test it on the RPi is if you want to make sure it performs well or it uses some RPi specific hardware.
Not that I know of but I think all you need to do is compile your binding into a jar file, copy the jar to the RPi and then drop the jar file into the addons folder. OH will pick it up and install it from there.