|
|
|
|
|
|
|
Re: Create JavaFX getter/setter/property [message #1386503 is a reply to message #1386481] |
Tue, 17 June 2014 19:47   |
Eclipse User |
|
|
|
Hi,
I had some time while watching soccer and implemented a start of a
dialog which has the main feature set allowing you to select fields and
generates get*/set*/*Property for you.
It needs some love e.g. to add whitespace between methods, detect lazy
init, ... but it is a good start for you to polish and add new features.
The push to git I made is
http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/commit/?id=177dc8334c65a76539045bc8826950dd9a47a5d3
where the code you need to pick up and enhance is
AddFXBeanGetterSetterHandler!
Tom
On 17.06.14 20:43, Tom Schindl wrote:
> Better you add the stuff to the "org.eclipse.fx.ide.jdt.ui" plugin. Let
> me see if I can help you bootstrapping it ;-)
>
> Tom
>
> On 17.06.14 20:17, Lofi Mayer wrote:
>> Ok, will do. First I'll try to create a plugin, haven't done this
>> before. I guess all it'll have to do is add a menu to eclipse, open a
>> dialog and write some code.
>>
>> By the way, THANK YOU VERY MUCH for e(fx)clipse. Saved me a lot of time
>> to get into Java F :)
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10482 seconds