Bug 192908 - [EMFT Search][CODEGEN] Jet Template base generation
Summary: [EMFT Search][CODEGEN] Jet Template base generation
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMFT search (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: lucas bigeardel CLA
QA Contact: lucas bigeardel CLA
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2007-06-15 11:50 EDT by lucas bigeardel CLA
Modified: 2013-07-11 14:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lucas bigeardel CLA 2007-06-15 11:50:34 EDT
EMF Model search should provide a code generation facility.

This could give possibility to generate specific search engine and ui plugins for user defined models.

This should be done by adding a "Generate Search" item in EMF .genmodel editor generation menu, along with "Generate Model", "Generate Edit", "Generate Editor", "Generate Test", "Generate All".

Ideally, code generation will generate a [_USER_MODEL_XYZ_].search.core & [_USER_MODEL_XYZ_].search.ui plugins contributing implementations to modelSearchEngine, modelSearchParticipantTab & modelSearchQueryTab.
Comment 1 lucas bigeardel CLA 2007-07-25 08:06:18 EDT
Decided to extend org.eclipse.emf.codegen.ecore.generatorAdapters ext point and contribute adapterFactories to hook the EMF model/edit/editor generation.

This allows to generate Model Search additional code to normally generated plugins.


Here is the declaration :

<plugin>
   <extension
         point="org.eclipse.emf.codegen.ecore.generatorAdapters">
      <adapterFactory
            class="org.eclipse.emf.search.codegen.engine.core.GenModelSearchCOREGeneratorAdapterFactory"
            modelPackage="http://www.eclipse.org/emf/2002/GenModel">
      </adapterFactory>
      <adapterFactory
            class="org.eclipse.emf.search.codegen.engine.ui.GenModelSearchUIGeneratorAdapterFactory"
            modelPackage="http://www.eclipse.org/emf/2002/GenModel">
      </adapterFactory>
   </extension>
</plugin>
Comment 2 lucas bigeardel CLA 2007-08-18 05:05:51 EDT
code genration infrastructured posted. need to be refined.
Comment 3 Nick Boldt CLA 2008-01-28 16:56:33 EST
Move to verified as per bug 206558.
Comment 4 lucas bigeardel CLA 2008-08-30 05:45:25 EDT
close