| Summary: | The action "Create Java Query Implementation Class" is missing | ||
|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Gregoire Dupe <gdupe> |
| Component: | Infrastructure | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | hugo.bruneliere, modisco.web-inbox, nicolas.bros |
| Version: | 0.8.0 | ||
| Target Milestone: | 0.8.0 M7 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Gregoire Dupe
This is a sneaky bug: CreateJavaQueryImplClassAction is filtered by a filter named "isWorkspaceQuery", implemented by WorkspaceQueryFilter, which is created through WorkspaceQueryFilterFactory, which is an adaptable for a JavaModelQuery defined in the plugin.xml of infra.query.ui. Problem is, WorkspaceQueryFilter is not always loaded because infra.query.ui, as any Eclipse plug-in, is lazy-loaded, and adapters don't trigger bundle loading. Fixed in revision 2177, by referencing WorkspaceQueryFilter explicitely in QueryEditor (to force it to be loaded), and moving WorkspaceQueryFilter and WorkspaceQueryFilterFactory to query.core, because query.editor cannot have a dependency on query.ui, since the opposite dependency already exists. Bug fixed. |