Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EMF Search---Custom Textual Search Generation

Users wanting to get a boostrap implementation for Search Core & UI can take advantage of code generation wizard.

This wizard works only for textual search queries (No OCL support). Basically speaking generating textual EMF search implementations for arbitrarty ecore models is quite complex. First you need to query .genmodel to get all available String/EString Ecore EStructural features. User must select a few or all of these features from which Core & UI implementations will be generated.

Access to the wizard is available from a popup menu on any .genmodel file. menu is "EMF Search > Generate Textual Search Engine ..."

EMF Search Textual Core and UI Code Generation Action

Wizard allows user to discriminate which textual feature he wants its search to consider.

EMF Search Textual Core and UI Code Generation Wizard

Copyright © Eclipse Foundation, Inc. All Rights Reserved.