vlsi commented on issue #5895:
URL: https://github.com/apache/jmeter/issues/5895#issuecomment-1540436616

   I just realized that with the new interface for `JMeterGUIComponentMetadata` 
we could revisit the API.
   
   For instance, currently, `TestBean` instances have to use `displayName` for 
the label of the element.
   At the same time, the other elements (e.g. `CounterConfigGui`) use 
`org.apache.jmeter.resources.messages` resource bundle from the `:src:core` 
module.
   
   I suggest that we move resources from `org.apache.jmeter.resources.messages` 
into individual bunles.
   For instance resources for `CounterConfigGui` could be moved from `:src:core 
/ org.apache.jmeter.resources.messages` to 
`/src/components/src/resources/.../CounterResources.properties` bundle.
   
   In other words, we could enforce that if a component uses resource bundles 
for managing resources, then the component should use `displayName` for the 
label. That would unify the way `TestBean` UI and `JMeterGUIComponent` UI works.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to