You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Rob,
I have done a litte analyse in reference for generic generation and seen that with the plugin the functionality for the generation from the getter and setter is doubled.
The plugin add the functionality for generating getter and setters immediatly with the new action 'JavaFx Getter and Setter...', but also the standard functionalities in the actions 'Getter..., Setter... and Getter and Setter...' in the popup 'Generate' will generate JavaFx getter and setter after the selection from JavaFx properties in the 'Generate Getter (and Setter) panel' (when also the generated sourcecode dont follow the JavaFX Naming Convention and the third method is missing).
So what I see to solve this problem is
We can remove the standard actions from NetBeans and extend the new action from the plugin so that it also can generate normal Java properties.
We can extend the standard actions from NetBeans so that they can also generate JavaFX properties which follow the JavaFX Naming Convention and add the third method. But then we dont need the new action.
Its also possible to extend the standard action and the new action but this solution I guess is not so clean (double work).
For the second solution I have the idea to extend the 'Generate Getter (and Setter) panel'. At top then there is the JTree 'Select Java fields for generate...' and below a new JTree 'Select JavaFX fields for generate...'. What also speak for the solution with the extension from the standard actions is
that the standard actions have the selection panel
the standard actions can generate generic methods
The text was updated successfully, but these errors were encountered:
Hi Rob,
I have done a litte analyse in reference for generic generation and seen that with the plugin the functionality for the generation from the getter and setter is doubled.
The plugin add the functionality for generating getter and setters immediatly with the new action 'JavaFx Getter and Setter...', but also the standard functionalities in the actions 'Getter..., Setter... and Getter and Setter...' in the popup 'Generate' will generate JavaFx getter and setter after the selection from JavaFx properties in the 'Generate Getter (and Setter) panel' (when also the generated sourcecode dont follow the JavaFX Naming Convention and the third method is missing).
So what I see to solve this problem is
For the second solution I have the idea to extend the 'Generate Getter (and Setter) panel'. At top then there is the JTree 'Select Java fields for generate...' and below a new JTree 'Select JavaFX fields for generate...'. What also speak for the solution with the extension from the standard actions is
The text was updated successfully, but these errors were encountered: