PavelTurk opened a new issue, #7364:
URL: https://github.com/apache/netbeans/issues/7364

   ### Description
   
   JavaFX has its own naming convention for working with 
[properties](https://docs.oracle.com/javafx/2/binding/jfxpub-binding.htm). For 
example, for string property 
   
   ```
   private StringProperty test = new SimpleStringProperty();
   ```
   the following methods are required:
   
   ```
   public StringProperty testProperty() {
       return this.test;
   }
   
   public String getTest() {
       return this.test.get();
   }
   
   public void setTest(String test) {
        this.test.set(test);
   }
   ```
   As it is seen getters and setter are different from standard Java getters 
and setters. Besides, the type of them must be resolved from property (for 
example, from `ReadOnlyObjectWrapper`).
   
   Currently NB doesn't support code generation for JavaFX properties (ALT+INS) 
so I suggest to add it. 
   
   
   ### Use case/motivation
   
   It is very boring to write these methods manually for JavaFX projects.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to