Open Implementation through interfaces [message #251576] |
Fri, 14 March 2008 10:18 |
Eclipse User |
|
|
|
Originally posted by: erik.p.knight.gmail.com
Hello,
I've got a question about configuring the eclipse "Open Implementation"
command. At the moment I'm working on a project that has been designed with
many interfaces and *Impl.java pairs. Most of these are for DAOs (Data
access objects) and are meant to be easy to later swap out for different
storage mediums. However we are currently just at the start of the project
and support only a single Database format (DB2).
One of my favourite features of Eclipse is being able to quickly hit F3 and
jump to the implementation of a method. But with all these interfaces I'm
constantly being "blocked" by jumping to the interface and not to the
"implementation" that I'm looking for.
My first questions is: is there someway to specify in the properties of an
interface file, a "preferred" implementation to jump to via an F3?
My second question is, why can't eclipse track the number of
implementations
of an interface and in the case that only a single implementation exists
automagically jump right to the implementation?
Thanks,
Erik
|
|
|
Powered by
FUDForum. Page generated in 0.08248 seconds