A site about Talend
Each of your components must have a
messages.properties file, for example,
tMyComponent_messages.properties. This file will provide the default messages for your component and is usually in English.
tMyComponent_messages_ru.properties(Russian). This notation may also be extended, for example,
As a minimum, you will need to provide the default file.
The following shows an example file, based on a component that has two
IMPORTS. This is similar to the properties file for the component tJava.
# Created by Talend # Mon 30 Jun 2014 17:44:55 BST HELP=org.talend.help.tMyComponent LONG_NAME=An example component CODE.NAME=Code IMPORT.NAME=Import
There does not appeat be a need to overly comment this file. A good rule of thumb is that you should, at least, have an author and the date and time that the file was created.
# Created by Talend # Mon 30 Jun 2014 17:44:55 BST
This value specifies the
HELP for your component. Typically, this would be set to
HRLP=org.talend.html.tMyComponent. I haven't yet discovered the usefulness of this; however, I'd suggest setting it as described.
LONG_NAME allows you to specify the description for your component. This is the description that will be displayed, when yoout mouse hovers over the component in the Component Palette. Tou should make this description concise; but sufficient to identify the purpose of the component. In out example above, our description is simply
LONG_NAME=An example component, indicting that our example component has no real purpose.
For each of your parameters, you should specify
NAME. This value provides a field label for your component. This label is displayed on either the Basic properties or Advanced properties pane, depending on whether you defined your
PARAMETER as either
ADVANCED_PARAMETERS If you do not correctly specify
NAME for each of your parameters that are specified in your Descriptor File, the description displayed in Talend Studio will be of the form
CODE, for example, is the name of your parameter.
The following shows the values for our two parameters, as detailed above.
Low countAnd FAMILY, TABLE, DELETED_FILE, PRESENT_FILE
comments powered by Disqus