Make designer compatible with java 7

 * Addition of methods in interfaces. Whether these method will be
   internally used remains to be seen.
Get rid of deprecated