Support a new component

Version 2 by mistria
on Jan 26, 2012 14:04.

compared with
Version 3 by mistria
on Jan 26, 2012 14:10.

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

Changes (1)

View Page History

Create a folder "model" for this component

h2. Model


h3. Principles

Create a set of EStructuralFeatures that are "detached" from the static JBI type but that can be inserted into JBI class instances. Types are not really what we will manipulate.


h3. How to

Create an ecore file in the "model" folder. Set Name and prefix as you want (a meaningful name for this component) set NS URI to the namespace of the component.

Create a <Component>Provides class extending the CDK Provides class (also works when extending JBI class).