In Eclipse, you can set a working set when looking at a call tree to filter out directories that you don't care about.
You can do the same when searching.
Is it possible to set a working set for the command Open Declaration?
No, this has not been implemented. Bug 407881 is on file for it. (Contributions to implement things like this are welcome!)