[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[News.eclipse.technology.cme] how can all relationships be queried in CME search ?
|
I am trying to build a concern model for one of my projects and am using the
CME Search to locate related concerns. The only relatioship that gives me
any results is the 'implements' relationship. For instance a query like "
relationship contains(class *, method get*) " that I use to locate all the
accessor methods in all the classes won't yield any result. Even the query "
relationship *(*, *) " lists only three relationships "connectionTo" ,
"extends" , and "implements". So I am wandering how can I search for other
realtionships viz - contains, depends , invokes, references and so on...
Another example that doesnot give me any result is "relationship extends(*,
*emote)" where I am looking for everthing extending java.util.Remote. Even
though there are handful of those classes in the project I donot see any
result after running that query.
Also in the concern explorer the only relationships i can navigate into are
'ConnectionFrom', 'ConnectionTo', 'extends' and 'implements'. Why is this
set of relationships different from the set of relationships I can choose
from the CME Search Dialog (contains,depend and so on) ? Also the Relations
navigation branches of all the methods in the concern explorer are terminal,
i.e I cannot navigate relationships like 'Invokes' or 'invokedBy' from
there.
Isn't the Concern Explorer is somewhat like a tree based navigation for the
DAG for the concern model ?
I am using Eclipse 2.1.3 and running CME in a 'self-hosting' mode as I was
planning for some extension, but these problems stuck me for a moment. I
also see that in the parent workspace that I launched eclipse with CME the
console is printing messages like -
...
Unhandled exception caught in event loop.
Reason:
java.lang.NullPointerException
?? Found unit edu.uci.ics243f.WineService.getStartLocation() which has no
artifact
...
Am I missing some fundamental knowledge? Am I missing some basic reading? I
have almost gone through most of the documents available online.
Thanks.
Sushil