Support a new component

Version 5 by mistria
on Jan 26, 2012 14:53.

compared with
Version 6 by mistria
on Jan 26, 2012 14:58.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
Create genmodel from .ecore: When asking for packages in the wizard, import other genmodel from jbi and cdk plugins, and mark all packages except the component one as "Referenced".

Select package: base package should be equal to or start with bundlename. Since it is the Java package, ensure it is not the same as a package already used\!
Select package: a good convention is to set "Base package" to the same value as Bundle name. Since it is the Java package, ensure it is not the same as a package already used\!

Select genmodel rool: Set Copyright. Set Model > Model-Directory to src-model.

Generate. Ensure src-model folder is in your build.properties src path.
h4. Generation

Generate from genmodel.

Ensure src-model folder is in your build.properties src path.


h3. Architecture

When opening a JBI, there is not "resolution¨ of dynamic feature, so there is a routine that turns dynamic EStructuralFeature to the one defined in extension models.

Register package with the "org.eclipse.emf.ecore.generated_package" extension point.


h3. Warnings