eclipse plugin suite

The eclipse plugin suite contains three separate tools:

  • CQL execution (execute CQLs and view results)
  • CQL Builder plugin (executed when classes are saved)
  • Editor for REFLECTK's XML files

CQL Execution Plugin

The CQL execution plugin can be used to perform CQL queries (identical to CQLConsole).

Because it integrates fully into the Eclipse IDE you don't have to define the class- or searchpath. Once you have started a search the CQL Result View will be displayed containing the search result.

A big advantage of this IDE-integrated tool compare to the CQL Console is that the source code of the result entities is available so double-clicking an element will lead to displaying the entity in the standard eclipse editor.

CQL Builder Plugin

The CQL Builder plugin is engaged in Eclipse's incremental build (like PMD and findbugs).

When saving class resources the changed files are checked against predefined CQL rules. These rules can be located in the local workspace, the CVS/SVN repository or even a remote http server. This gives you the possibility that one person can define the CQLs while these rules checks the code on a hundred developer IDEs. You have a central point to store rules from where to where packages should be accessed or not or what code should and should not be found in newly created code (code that will fail or even bad practise).

Everything that can be phrased as CQL can also be used here. If code fragments violates on of the rules an eclipse warning or error (based on the rules' setting) will be displayed containing further information for the developer.

CQL XML Editor

Both, the CQL execution plugin and the CQL Builder plugin, use XML files to store the defined CQLs.

To make things easy the eclipse plugin comes with a XML editor for these XML files. You can create new files, add new CQLs to existing ones, delete CQLs and of course edit them.