Lab2 javafx

**Ready for review**

Added bindings support with [javafx](http://docs.oracle.com/javase/8/javafx/get-started-tutorial/jfx-overview.htm#JFXST784) library. Also changed project layout due to [java plugin](http://www.gradle.org/docs/current/userguide/java_plugin.html) update (added `java` and `resources` folders).
It had blow up my mind=)
I'd better google it before asking. Anyway thank you, Daniil.

2014-12-01 10:35 GMT+03:00 Daniil-Osokin <notifications@github.com>:

> In
> code/kornyakov-kirill-lab2/ViewModel/src/main/java/ru/unn/agile/ComplexNumber/viewmodel/ViewModel.java:
>
> > +
> > +    public ViewModel(final ILogger logger) {
> > +        setLogger(logger);
> > +        init();
> > +    }
> > +
> > +    private void init() {
> > +        re1.set("");
> > +        im1.set("");
> > +        re2.set("");
> > +        im2.set("");
> > +        status.set(Status.WAITING.toString());
> > +        operation.set(Operation.ADD);
> > +        result.set("");
> > +
> > +        BooleanBinding couldCalculate = new BooleanBinding() {
>
> @bobylkov-f <https://github.com/bobylkov-f> It's low-level binding API
> <https://docs.oracle.com/javafx/2/binding/jfxpub-binding.htm>. If you
> need to create some custom (complicated) behavior, you can link interesting
> properties through it. For this case, "input" values are linked together,
> so notifications are received if any property updates.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/UNN-VMK-Software/agile-course-practice/pull/50/files#r21073883>
> .
>