Is the IComponentDefinitions.java needed (in general) for a Participant?
![]()
I have a few different Participants that I have gotten from different individuals. Some contain an IComponentDefinitions.java file and some do not. This IComponentDefinitions.java file contains a static String with a COMPONENT_ID but nothing else.
I'm not clear what these are for or if I need them. The ones without the file works just fine ... but I have been asked about the use of the file and if they can be removed or not. Thanks Susan |
One answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Jun 16 '14, 3:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 16 '14, 8:41 a.m.
Susan, as explained in the Extensions Workshop, you need to define a component.
However, the IComponentDefinitions Java file in this workshop is just an interface, that is used to provide some constants e.g. the component ID. This is not strictly necessary, but can be used e.g. creating error messages.This is strictly optimal and the class is not needed if you code your own extensions. Comments 1
said a different way, when defining an extension, you MUST have a component element in the plugin.xml
|
Comments
I do not use that model in any of my plugins