You can create transformation properties in Eclipse plug-ins
that contain transformations. Transformation properties refine the
output that a transformation generates. You can specify values for
these properties when you create or edit a transformation configuration.
Example
For example, to create a String property
called My String Property that has a maximum length of three characters,
in the plug-in manifest editor, on the
Extensions tab,
in the
Extension Element Details area, specify
the following values:
- In the name field, type %MyNewPropertyName
- In the id field, type MyNewPropertyName
- In the metatype field, type String
- In the metatypeData field, type maxLength=3
In the plugin.properties file, add the following line to assign
a value to the %MyNewPropertyName variable:
MyNewPropertyName=My String Property
What to do next
Note: If you create a new plug-in by
using the Plug-in with Transformation template, you can specify this
information on the New Transformation page of the Transformation Authoring
wizard.
Note: Some information, such as links to Eclipse
documentation or to developer guides, is available only from the help
topics that are installed with the product.