Simple calculator example, initial version

A simple calculator example with a Swing user interface.

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix redundant clear display after unary operation

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Add unit tests for operations

Also convert project into OSGi bundle project to leverage availability
of junit with Eclipse platform. This eases setup of example project
without requiring to install Maven.

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Open the application window in platform default location

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Add SWT UI

In order to add a new UI the core functionality of the calculator is
separated from the UI code.

Change-Id: I855a7554471ac45f62a7ce98d7cc6d07652f1d80
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
Move tests into test fragment

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix execution environment specification

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Add maven build

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Remove dependency to org.hamcrest

This dependency isn't necessary.

Change-Id: I5e08177e06ad04fb5c3108f0f4c05b7e84572bb7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Add launcher for SWTCalculatorUI on Mac

Mac needs VM argument -XstartOnFirstThread to start SWT application.

Change-Id: Ieb4a4f87c6eb1086df38dc63c0f3fd607e08ceef
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Add project settings

Set encoding to UTF-8 and line endings to Unix style.

Change-Id: I5c30a5942fab134c57b0744a6cd34de09b5c910f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Convert files to Unix line endings

Change-Id: Ia06031385c7a8cfdb675020a4cbe9c1b49675955
Readme.txt adds
Fixes junit for Eclipse 4.3
Silly change