[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cme-dev] Context sensitive menu actions for certain queries
|
On Thu, 2004-04-22 at 11:29, Matt Chapman wrote:
Hi Matt,
> We think it would be useful to be able to right-click on elements
> and have options which generate certain queries, to save entering common
> queries manually.
yes, please. :-)
> We'd like to know if anyone has ideas for which sort of queries they'd
> like to see supported in this way, in addition to the "Find implementors"
> option mentioned in the bug. If you do, please either post here, or add
> comments to the bug.
I think that there is quite a number of possible queries that I'd like
to automate, but I am not sure that those I envision are akin to those
that you had in mind.
The "Find Implementors" query (c/w)ould be used to find all classes
belonging to a concern and I assume that this is what you are looking
for.
Along the same lines of "identifying what is part of a concern", I see
several queries:
- "Calling methods" and "Called methods", as in the Call Hierarchy
plug-in that is part of Eclipse.
- "Calling classes" and "Called classes", as above, but with class-scope
instead of method-scope.
- "Shared state (writable)", finding all classes / methods that write to
fields within a class (including or excluding accessors).
- "Shared state (readable)", finding all classes / methods that read
fields within a class (including or excluding accessors). This could
exclude classes that also have write access.
I would also like to be able to identify classes that have the same
interface, are in different concerns and where there is only one
implementation of the interface. This would tell me where to look for
the implementation as well as tell me what to merge.
As for the question how to determine the scope of the queries:
I do not know about the technicalities of this, but I believe that the
scope of many (if not all) of these queries should be the full classpath
(excluding the JDK).
My reasoning is that these are exploratory queries that the user wants
to use to their full reach... but I could be mistaken here, of course.
;-)
Just my 2 cents,
Juri
-----
TeX is potentially the most significant invention in typesetting in this
century. It introduces a standard language for computer typography, and
in terms of importance could rank near the introduction of the Gutenberg
press.
-- Gordon Bell