From fd72fd309fa3387edaf8940c5191f976f0e4de82 Mon Sep 17 00:00:00 2001 From: Eric Tobias Date: Wed, 15 Jul 2015 10:34:32 +0200 Subject: [PATCH] Added LGPL header and performed some clean-up. + Added LGPL 3 header to all code files replacing the old copyright header. + Made some cleanup in some test files. + Modified a test to correctly expect an exception. - Removed obsolete build file. - Removed file where student was infringing on copyright. --- TULIP/Readme.txt | 2 +- TULIP/build-old.xml | 101 ------------------ .../itis/dkd/tui/TangibleApplication.java | 25 +++-- .../itis/dkd/tui/TangibleContentManager.java | 25 +++-- .../dkd/tui/TangibleInterfaceManager.java | 26 ++--- .../itis/dkd/tui/TangibleObjectManager.java | 25 +++-- .../itis/dkd/tui/adapter/TangibleObject.java | 25 +++-- .../tui/adapter/TangibleObjectBuilder.java | 25 +++-- .../list/itis/dkd/tui/adapter/TuiAdapter.java | 25 +++-- .../itis/dkd/tui/adapter/TuioAdapter.java | 25 +++-- .../AsynchronousInfomationProvider.java | 25 +++-- .../lu/list/itis/dkd/tui/content/Content.java | 30 +++--- .../dkd/tui/content/InformationProvider.java | 25 +++-- .../dkd/tui/content/InformationReceiver.java | 25 +++-- .../list/itis/dkd/tui/content/Zoomable.java | 25 +++-- .../list/itis/dkd/tui/event/ContentEvent.java | 29 ++--- .../dkd/tui/event/ContentEventListener.java | 25 +++-- .../list/itis/dkd/tui/event/ContextEvent.java | 29 ++--- .../dkd/tui/event/ContextEventListener.java | 25 +++-- .../list/itis/dkd/tui/event/TimerEvent.java | 25 +++-- .../dkd/tui/event/TimerEventListener.java | 25 +++-- .../dkd/tui/exception/BuildException.java | 25 +++-- .../UnsupportedInformationException.java | 25 +++-- .../itis/dkd/tui/logging/EventLogger.java | 27 ++--- .../itis/dkd/tui/logging/LogFormatter.java | 27 ++--- .../tui/network/adapter/BluetoothClient.java | 27 ++--- .../tui/network/adapter/BluetoothServer.java | 27 ++--- .../tui/network/adapter/ClientAdapter.java | 27 ++--- .../tui/network/adapter/NetworkAdapter.java | 27 ++--- .../tui/network/adapter/ServerAdapter.java | 27 ++--- .../dkd/tui/network/adapter/TcpClient.java | 25 +++-- .../dkd/tui/network/adapter/TcpServer.java | 27 ++--- .../dkd/tui/network/adapter/XbeeAdapter.java | 28 ++--- .../itis/dkd/tui/utility/Calibration.java | 57 +++++----- .../dkd/tui/utility/CameraCoordinates.java | 25 +++-- .../itis/dkd/tui/utility/CoordinateState.java | 25 +++-- .../itis/dkd/tui/utility/GlobalContext.java | 25 +++-- .../list/itis/dkd/tui/utility/IDMapper.java | 25 +++-- .../lu/list/itis/dkd/tui/utility/Point.java | 25 +++-- .../dkd/tui/utility/ScreenCoordinates.java | 25 +++-- .../dkd/tui/utility/TableCoordinates.java | 25 +++-- .../list/itis/dkd/tui/utility/TextHelper.java | 25 +++-- .../list/itis/dkd/tui/widget/BaseWidget.java | 25 +++-- .../itis/dkd/tui/widget/ContentWidget.java | 25 +++-- .../dkd/tui/widget/ContextAwareWidget.java | 25 +++-- .../list/itis/dkd/tui/widget/InfoWidget.java | 25 +++-- .../itis/dkd/tui/widget/PieChartWidget.java | 25 +++-- .../itis/dkd/tui/widget/StatefulWidget.java | 25 +++-- .../list/itis/dkd/tui/widget/ZoomWidget.java | 25 +++-- .../dkd/tui/widget/builder/BaseBuilder.java | 25 +++-- .../widget/builder/BaseContentBuilder.java | 27 ++--- .../builder/BaseContextAwareBuilder.java | 25 +++-- .../tui/widget/builder/BaseInfoBuilder.java | 25 +++-- .../widget/builder/BaseStatefulBuilder.java | 25 +++-- .../tui/widget/builder/BaseWidgetBuilder.java | 25 +++-- .../tui/widget/builder/BaseZoomBuilder.java | 25 +++-- .../widget/builder/ContentWidgetBuilder.java | 25 +++-- .../tui/widget/builder/InfoWidgetBuilder.java | 25 +++-- .../widget/builder/PieChartWidgetBuilder.java | 25 +++-- .../widget/builder/StatefulWidgetBuilder.java | 25 +++-- .../tui/widget/builder/ZoomWidgetBuilder.java | 25 +++-- .../tui/widget/corona/ContextAwareCorona.java | 25 +++-- .../itis/dkd/tui/widget/corona/Corona.java | 25 +++-- .../itis/dkd/tui/widget/corona/Image.java | 25 +++-- .../itis/dkd/tui/widget/corona/InfoBox.java | 25 +++-- .../itis/dkd/tui/widget/corona/Pointer.java | 32 +++--- .../itis/dkd/tui/widget/corona/Radius.java | 25 +++-- .../itis/dkd/tui/widget/corona/Shadow.java | 25 +++-- .../dkd/tui/widget/corona/ShapeFactory.java | 25 +++-- .../itis/dkd/tui/widget/corona/TextBox.java | 25 +++-- .../itis/dkd/tui/widget/corona/Wedge.java | 25 +++-- .../corona/builder/BaseImageBuilder.java | 27 ++--- .../corona/builder/BaseInfoBoxBuilder.java | 29 ++--- .../corona/builder/BasePointerBuilder.java | 25 +++-- .../corona/builder/BaseRadiusBuilder.java | 25 +++-- .../corona/builder/BaseShadowBuilder.java | 25 +++-- .../corona/builder/BaseTextBoxBuilder.java | 25 +++-- .../corona/builder/BaseWedgeBuilder.java | 31 +++--- .../widget/corona/builder/CoronaBuilder.java | 25 +++-- .../widget/corona/builder/ImageBuilder.java | 25 +++-- .../widget/corona/builder/InfoBoxBuilder.java | 25 +++-- .../widget/corona/builder/PointerBuilder.java | 25 +++-- .../widget/corona/builder/RadiusBuilder.java | 25 +++-- .../widget/corona/builder/ShadowBuilder.java | 25 +++-- .../widget/corona/builder/TextBoxBuilder.java | 25 +++-- .../widget/corona/builder/WedgeBuilder.java | 25 +++-- .../itis/dkd/tui/widget/state/Attenuator.java | 29 ++--- .../dkd/tui/widget/state/FunctionState.java | 25 +++-- .../itis/dkd/tui/widget/state/LimboState.java | 25 +++-- .../dkd/tui/widget/state/MovementState.java | 25 +++-- .../itis/dkd/tui/widget/state/NUIState.java | 25 +++-- .../dkd/tui/widget/state/RotationState.java | 25 +++-- .../dkd/tui/widget/state/StateManager.java | 25 +++-- .../itis/dkd/tui/widget/state/StillState.java | 25 +++-- .../itis/dkd/tui/widget/state/Transition.java | 25 +++-- TULIP/test/lu/list/itis/dkd/tui/AllTests.java | 29 ++--- .../dkd/tui/ExitDeniedSecurityManager.java | 60 ----------- .../itis/dkd/tui/TangibleApplicationTest.java | 25 +++-- .../dkd/tui/TangibleApplicationTest2.java | 35 +++--- .../dkd/tui/TangibleInterfaceManagerTest.java | 43 ++++---- .../dkd/tui/adapter/TangibleObjectTest.java | 25 +++-- .../itis/dkd/tui/adapter/TuioAdapterTest.java | 31 +++--- .../itis/dkd/tui/logging/TulipLoggerTest.java | 27 ++--- .../network/adapter/BluetoothClientTest.java | 31 +++--- .../network/adapter/BluetoothServerTest.java | 31 +++--- .../network/adapter/RunForTestBTClient.java | 22 +++- .../network/adapter/RunForTestBTServer.java | 22 +++- .../tui/network/adapter/TcpClientTest.java | 31 +++--- .../tui/network/adapter/TcpServerTest.java | 31 +++--- .../tui/network/adapter/XbeeAdapterTest.java | 31 +++--- .../itis/dkd/tui/utility/CalibrationTest.java | 36 ++++--- .../tui/utility/CameraCoordinatesTest.java | 27 ++--- .../dkd/tui/utility/CoordinateStateTest.java | 25 +++-- .../itis/dkd/tui/utility/IDMapperTest.java | 46 ++++---- .../list/itis/dkd/tui/utility/PointTest.java | 25 +++-- .../tui/utility/ScreenCoordinatesTest.java | 27 ++--- .../dkd/tui/utility/TableCoordinatesTest.java | 27 ++--- .../itis/dkd/tui/utility/UtilityTests.java | 29 ++--- .../itis/dkd/tui/widget/BaseWidgetTest.java | 26 ++--- .../dkd/tui/widget/StatefulWidgetTest.java | 25 +++-- .../dkd/tui/widget/state/AttenuatorTest.java | 25 +++-- .../tui/widget/state/FunctionStateTest.java | 28 ++--- .../dkd/tui/widget/state/LimboStateTest.java | 26 ++--- .../tui/widget/state/MovementStateTest.java | 28 ++--- .../tui/widget/state/RotationStateTest.java | 28 ++--- .../tui/widget/state/StateManagerTest.java | 42 ++++---- .../itis/dkd/tui/widget/state/StateTests.java | 29 ++--- .../dkd/tui/widget/state/StillStateTest.java | 26 ++--- .../dkd/tui/widget/state/TransitionTest.java | 28 ++--- 129 files changed, 1888 insertions(+), 1657 deletions(-) delete mode 100644 TULIP/build-old.xml delete mode 100644 TULIP/test/lu/list/itis/dkd/tui/ExitDeniedSecurityManager.java diff --git a/TULIP/Readme.txt b/TULIP/Readme.txt index f6779d0..7de0579 100644 --- a/TULIP/Readme.txt +++ b/TULIP/Readme.txt @@ -15,7 +15,7 @@ Current development We currently develop an adapter for the computer vision framework and are in the stages of testing it. Similarly, we are developing adapters to address networked devices. Libraries and Licenses -As of now, the provided sources are still in development. As such, the code still features a copyright header. However, feel free to download and use the code. We would however like to kindly ask you not to distribute the code as is and give us a bit more time to tie some loose ends and make the code more stable. At that point we will move to an LGPL. The current schedule is to make the release in Autumn of 2015. +As of now, the provided sources are still in development. Currently the project depends on an in-house annotation library that is distributed with this project as well as Guava (licensed under Apache 2.0), JDOM (licensed under an Apache-style open source license), and the TUIO Java client (licensed as LGPL). diff --git a/TULIP/build-old.xml b/TULIP/build-old.xml deleted file mode 100644 index 9b35500..0000000 --- a/TULIP/build-old.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - Application: ${application.name} ${application.version} - Build File : ${ant.file} - Run Date : ${build.time} - Run by : ${user.name} - Build Dir : ${build} - Base Dir : ${basedir} - Java Home : ${java.home} - Connected to the web : ${jdk.javadoc.visible} - - - Creating build directory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
${application.name} ${application.version}]]>
-
-
- - - - - - - - - Finished creating all build artifacts. - -
\ No newline at end of file diff --git a/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java b/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java index ccefeba..f04cea6 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java +++ b/TULIP/src/lu/list/itis/dkd/tui/TangibleApplication.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; diff --git a/TULIP/src/lu/list/itis/dkd/tui/TangibleContentManager.java b/TULIP/src/lu/list/itis/dkd/tui/TangibleContentManager.java index d1a7833..0e02e3c 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/TangibleContentManager.java +++ b/TULIP/src/lu/list/itis/dkd/tui/TangibleContentManager.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; diff --git a/TULIP/src/lu/list/itis/dkd/tui/TangibleInterfaceManager.java b/TULIP/src/lu/list/itis/dkd/tui/TangibleInterfaceManager.java index 67c5792..df6681d 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/TangibleInterfaceManager.java +++ b/TULIP/src/lu/list/itis/dkd/tui/TangibleInterfaceManager.java @@ -1,16 +1,18 @@ /** - * Access to enclosing constructor TangibleInterfaceManager.TUIKeyAdapter() is emulated by a - * synthetic accessor method * Copyright Luxembourg Institute of Science and Technology, 2015. All - * rights reserved. If you wish to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; diff --git a/TULIP/src/lu/list/itis/dkd/tui/TangibleObjectManager.java b/TULIP/src/lu/list/itis/dkd/tui/TangibleObjectManager.java index 462ce20..02633d8 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/TangibleObjectManager.java +++ b/TULIP/src/lu/list/itis/dkd/tui/TangibleObjectManager.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; diff --git a/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObject.java b/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObject.java index 363b84d..8f5682a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObject.java +++ b/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObject.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.adapter; diff --git a/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObjectBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObjectBuilder.java index 3ee4aa2..cf804c6 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObjectBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/adapter/TangibleObjectBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.adapter; diff --git a/TULIP/src/lu/list/itis/dkd/tui/adapter/TuiAdapter.java b/TULIP/src/lu/list/itis/dkd/tui/adapter/TuiAdapter.java index c8bb479..6bfe4b8 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/adapter/TuiAdapter.java +++ b/TULIP/src/lu/list/itis/dkd/tui/adapter/TuiAdapter.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.adapter; diff --git a/TULIP/src/lu/list/itis/dkd/tui/adapter/TuioAdapter.java b/TULIP/src/lu/list/itis/dkd/tui/adapter/TuioAdapter.java index f9616a1..b1156c2 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/adapter/TuioAdapter.java +++ b/TULIP/src/lu/list/itis/dkd/tui/adapter/TuioAdapter.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.adapter; diff --git a/TULIP/src/lu/list/itis/dkd/tui/content/AsynchronousInfomationProvider.java b/TULIP/src/lu/list/itis/dkd/tui/content/AsynchronousInfomationProvider.java index a746918..2658abd 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/content/AsynchronousInfomationProvider.java +++ b/TULIP/src/lu/list/itis/dkd/tui/content/AsynchronousInfomationProvider.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.content; diff --git a/TULIP/src/lu/list/itis/dkd/tui/content/Content.java b/TULIP/src/lu/list/itis/dkd/tui/content/Content.java index 0628c68..e1aa7ae 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/content/Content.java +++ b/TULIP/src/lu/list/itis/dkd/tui/content/Content.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.content; @@ -29,7 +32,7 @@ import java.awt.Graphics2D; */ @NonNullByDefault public abstract class Content implements Comparable { - protected int drawPriority = 50; + protected int drawPriority = 50; protected String identifier; /** @@ -67,7 +70,8 @@ public abstract class Content implements Comparable { /** * Getter method for the draw priority. The method will have to do the computation to account - * for the initialTranslation and the current position of the widget influencing the content if any. + * for the initialTranslation and the current position of the widget influencing the content if + * any. * * @return The draw priority of this content instance. */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/content/InformationProvider.java b/TULIP/src/lu/list/itis/dkd/tui/content/InformationProvider.java index a5dfe6e..5ffc75f 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/content/InformationProvider.java +++ b/TULIP/src/lu/list/itis/dkd/tui/content/InformationProvider.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.content; diff --git a/TULIP/src/lu/list/itis/dkd/tui/content/InformationReceiver.java b/TULIP/src/lu/list/itis/dkd/tui/content/InformationReceiver.java index 7282173..5099d21 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/content/InformationReceiver.java +++ b/TULIP/src/lu/list/itis/dkd/tui/content/InformationReceiver.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.content; diff --git a/TULIP/src/lu/list/itis/dkd/tui/content/Zoomable.java b/TULIP/src/lu/list/itis/dkd/tui/content/Zoomable.java index bd5fb96..12409a4 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/content/Zoomable.java +++ b/TULIP/src/lu/list/itis/dkd/tui/content/Zoomable.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.content; diff --git a/TULIP/src/lu/list/itis/dkd/tui/event/ContentEvent.java b/TULIP/src/lu/list/itis/dkd/tui/event/ContentEvent.java index ceb6dcb..fc566dc 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/event/ContentEvent.java +++ b/TULIP/src/lu/list/itis/dkd/tui/event/ContentEvent.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.event; @@ -27,10 +30,10 @@ import java.util.EventObject; @NonNullByDefault public class ContentEvent extends EventObject { /** Generated default serial ID. */ - private static final long serialVersionUID = -7926492255034087573L; + private static final long serialVersionUID = -7926492255034087573L; protected ContentEventType type; - protected int handleID; + protected int handleID; /** * Constructor setting the event's source. diff --git a/TULIP/src/lu/list/itis/dkd/tui/event/ContentEventListener.java b/TULIP/src/lu/list/itis/dkd/tui/event/ContentEventListener.java index 9cdb1db..9ad110e 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/event/ContentEventListener.java +++ b/TULIP/src/lu/list/itis/dkd/tui/event/ContentEventListener.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.event; diff --git a/TULIP/src/lu/list/itis/dkd/tui/event/ContextEvent.java b/TULIP/src/lu/list/itis/dkd/tui/event/ContextEvent.java index 572ce87..daebbce 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/event/ContextEvent.java +++ b/TULIP/src/lu/list/itis/dkd/tui/event/ContextEvent.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.event; @@ -30,8 +33,8 @@ import java.util.EventObject; public class ContextEvent extends EventObject { private static final long serialVersionUID = -8482122173248767797L; @Nullable - private Object information; - private ContextType type; + private Object information; + private ContextType type; /** * Constructor setting the source of the information and the nature of the information. diff --git a/TULIP/src/lu/list/itis/dkd/tui/event/ContextEventListener.java b/TULIP/src/lu/list/itis/dkd/tui/event/ContextEventListener.java index c1a0cbe..d711e62 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/event/ContextEventListener.java +++ b/TULIP/src/lu/list/itis/dkd/tui/event/ContextEventListener.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.event; diff --git a/TULIP/src/lu/list/itis/dkd/tui/event/TimerEvent.java b/TULIP/src/lu/list/itis/dkd/tui/event/TimerEvent.java index 79279e2..5ae1dca 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/event/TimerEvent.java +++ b/TULIP/src/lu/list/itis/dkd/tui/event/TimerEvent.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.event; diff --git a/TULIP/src/lu/list/itis/dkd/tui/event/TimerEventListener.java b/TULIP/src/lu/list/itis/dkd/tui/event/TimerEventListener.java index f4d94b6..247f294 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/event/TimerEventListener.java +++ b/TULIP/src/lu/list/itis/dkd/tui/event/TimerEventListener.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.event; diff --git a/TULIP/src/lu/list/itis/dkd/tui/exception/BuildException.java b/TULIP/src/lu/list/itis/dkd/tui/exception/BuildException.java index 84d8576..bd7ba7b 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/exception/BuildException.java +++ b/TULIP/src/lu/list/itis/dkd/tui/exception/BuildException.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.exception; diff --git a/TULIP/src/lu/list/itis/dkd/tui/exception/UnsupportedInformationException.java b/TULIP/src/lu/list/itis/dkd/tui/exception/UnsupportedInformationException.java index 126ac61..a7ddba7 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/exception/UnsupportedInformationException.java +++ b/TULIP/src/lu/list/itis/dkd/tui/exception/UnsupportedInformationException.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.exception; diff --git a/TULIP/src/lu/list/itis/dkd/tui/logging/EventLogger.java b/TULIP/src/lu/list/itis/dkd/tui/logging/EventLogger.java index 47c79e1..d75b557 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/logging/EventLogger.java +++ b/TULIP/src/lu/list/itis/dkd/tui/logging/EventLogger.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.logging; @@ -31,7 +34,7 @@ import java.util.logging.Level; import java.util.logging.Logger; /** - * @author Yves RANGONI [departed] + * @author Yves RANGONI * @since 1.1 * @version 1.1.4 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/logging/LogFormatter.java b/TULIP/src/lu/list/itis/dkd/tui/logging/LogFormatter.java index 7a7cfa8..b60eb7b 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/logging/LogFormatter.java +++ b/TULIP/src/lu/list/itis/dkd/tui/logging/LogFormatter.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.logging; @@ -19,7 +22,7 @@ import java.util.logging.Formatter; import java.util.logging.LogRecord; /** - * @author Yves RANGONI [departed] + * @author Yves RANGONI * @since 1.1 * @version 1.1.4 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothClient.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothClient.java index f5b5368..d7edc14 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothClient.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothClient.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -27,7 +30,7 @@ import javax.microedition.io.StreamConnection; /** * Adapter class managing a communication over Bluetooth using {@link StreamConnection}. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothServer.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothServer.java index 0cecc07..45cfa4c 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothServer.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/BluetoothServer.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -28,7 +31,7 @@ import javax.microedition.io.StreamConnectionNotifier; * Adapter class managing a communication over Bluetooth using {@link StreamConnectionNotifier} and * {@link StreamConnection}. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ClientAdapter.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ClientAdapter.java index b12f3d5..ede7582 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ClientAdapter.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ClientAdapter.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science to use this code for any purpose, please contact the - * author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -25,7 +28,7 @@ import java.net.UnknownHostException; /** * Abstract class managing interaction between application and remote device * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/NetworkAdapter.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/NetworkAdapter.java index 4fc59b0..84fefb2 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/NetworkAdapter.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/NetworkAdapter.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -21,7 +24,7 @@ import java.io.OutputStream; /** * Abstract class managing communication between a tangible table and external device * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ServerAdapter.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ServerAdapter.java index 7c79412..b93c986 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ServerAdapter.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/ServerAdapter.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science to use this code for any purpose, please contact the - * author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -21,7 +24,7 @@ import java.io.IOException; /** * Abstract class managing interaction between application and remote device * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpClient.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpClient.java index 5222f25..f1ef27e 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpClient.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpClient.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpServer.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpServer.java index 58fbe5c..d36867a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpServer.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/TcpServer.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -24,7 +27,7 @@ import java.net.Socket; /** * Adapter class managing a communication over TCP using {@link ServerSocket} and {@link Socket}. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/XbeeAdapter.java b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/XbeeAdapter.java index 30976b4..cf797b2 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/network/adapter/XbeeAdapter.java +++ b/TULIP/src/lu/list/itis/dkd/tui/network/adapter/XbeeAdapter.java @@ -1,17 +1,19 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ - package lu.list.itis.dkd.tui.network.adapter; import lu.tudor.ssi.kiss.dbc.annotation.NonNullByDefault; @@ -30,7 +32,7 @@ import java.util.Enumeration; /** * Adapter class managing a communication over XBee's protocol using {@link SerialPort}. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/Calibration.java b/TULIP/src/lu/list/itis/dkd/tui/utility/Calibration.java index bd8d537..edfe723 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/Calibration.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/Calibration.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; @@ -96,8 +99,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the camera in the range [0;1] to the * screen mapping in pixels. This method multiplies the ratio by the camera's width (also a - * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates by - * multiplying by the screen's width.
+ * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates + * by multiplying by the screen's width.
* Note: The method accounts for camera initialTranslation. * * @param x @@ -112,8 +115,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the camera in the range [0;1] to the * screen mapping in pixels. This method multiplies the ratio by the camera's width (also a - * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates by - * multiplying by the screen's width.
+ * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates + * by multiplying by the screen's width.
* Note: The method accounts for camera initialTranslation. * * @param x @@ -129,8 +132,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the camera in the range [0;1] to the * screen mapping in pixels. This method multiplies the ratio by the camera's height (also a - * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates by - * multiplying by the screen's height.
+ * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates + * by multiplying by the screen's height.
* Note: The method accounts for camera initialTranslation. * * @param y @@ -145,8 +148,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the camera in the range [0;1] to the * screen mapping in pixels. This method multiplies the ratio by the camera's height (also a - * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates by - * multiplying by the screen's height.
+ * ratio), adds the camera initialTranslation and transforms the ratio into screen coordinates + * by multiplying by the screen's height.
* Note: The method accounts for camera initialTranslation. * * @param y @@ -160,8 +163,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the screen in pixels to the camera * mapping coordinates range [0;1]. The method transforms the pixel coordinate into a ratio by - * dividing by the screen width before subtracting the camera initialTranslation. The final range is - * computed by dividing by the camera width.
+ * dividing by the screen width before subtracting the camera initialTranslation. The final + * range is computed by dividing by the camera width.
* Note: The method accounts for camera initialTranslation. * * @param x @@ -176,8 +179,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the screen in pixels to the camera * mapping coordinates range [0;1]. The method transforms the pixel coordinate into a ratio by - * dividing by the screen height before subtracting the camera initialTranslation. The final range is - * computed by dividing by the camera height.
+ * dividing by the screen height before subtracting the camera initialTranslation. The final + * range is computed by dividing by the camera height.
* Note: The method accounts for camera initialTranslation. * * @param y @@ -207,8 +210,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the table in millimetres to the range * [0;1] range of the camera mapping as a ratio. The method divides by the table height before - * subtracting the camera initialTranslation. Then, the intermediate result is divided by the camera's - * height.
+ * subtracting the camera initialTranslation. Then, the intermediate result is divided by the + * camera's height.
* Note: The measures in table coordinates a equivalent to concrete measures. * * @param y @@ -223,8 +226,8 @@ public class Calibration { /** * Method for transforming the coordinate mapping from the table in millimetres to the range * [0;1] range of the camera mapping as a ratio. The method divides by the table width before - * subtracting the camera initialTranslation. Then, the intermediate result is divided by the camera's - * width.
+ * subtracting the camera initialTranslation. Then, the intermediate result is divided by the + * camera's width.
* Note: The measures in table coordinates a equivalent to concrete measures. * * @param x diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/CameraCoordinates.java b/TULIP/src/lu/list/itis/dkd/tui/utility/CameraCoordinates.java index 5da20d5..cd3460d 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/CameraCoordinates.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/CameraCoordinates.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/CoordinateState.java b/TULIP/src/lu/list/itis/dkd/tui/utility/CoordinateState.java index acad35d..9966f4a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/CoordinateState.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/CoordinateState.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/GlobalContext.java b/TULIP/src/lu/list/itis/dkd/tui/utility/GlobalContext.java index 42fa3e1..b3f18a8 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/GlobalContext.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/GlobalContext.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/IDMapper.java b/TULIP/src/lu/list/itis/dkd/tui/utility/IDMapper.java index 69d8abc..44458fd 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/IDMapper.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/IDMapper.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/Point.java b/TULIP/src/lu/list/itis/dkd/tui/utility/Point.java index 4404d28..fd64b38 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/Point.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/Point.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/ScreenCoordinates.java b/TULIP/src/lu/list/itis/dkd/tui/utility/ScreenCoordinates.java index cc556b4..76541db 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/ScreenCoordinates.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/ScreenCoordinates.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/TableCoordinates.java b/TULIP/src/lu/list/itis/dkd/tui/utility/TableCoordinates.java index 5a6b813..4e1e5be 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/TableCoordinates.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/TableCoordinates.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/utility/TextHelper.java b/TULIP/src/lu/list/itis/dkd/tui/utility/TextHelper.java index 2abc38a..c907cb7 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/utility/TextHelper.java +++ b/TULIP/src/lu/list/itis/dkd/tui/utility/TextHelper.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/BaseWidget.java b/TULIP/src/lu/list/itis/dkd/tui/widget/BaseWidget.java index 796ab2e..44ec3c6 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/BaseWidget.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/BaseWidget.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/ContentWidget.java b/TULIP/src/lu/list/itis/dkd/tui/widget/ContentWidget.java index 8f63d38..bd2a46a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/ContentWidget.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/ContentWidget.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/ContextAwareWidget.java b/TULIP/src/lu/list/itis/dkd/tui/widget/ContextAwareWidget.java index 774257f..134e515 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/ContextAwareWidget.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/ContextAwareWidget.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/InfoWidget.java b/TULIP/src/lu/list/itis/dkd/tui/widget/InfoWidget.java index 3ab8a82..7828534 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/InfoWidget.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/InfoWidget.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/PieChartWidget.java b/TULIP/src/lu/list/itis/dkd/tui/widget/PieChartWidget.java index 0f72b0e..4e549b5 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/PieChartWidget.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/PieChartWidget.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/StatefulWidget.java b/TULIP/src/lu/list/itis/dkd/tui/widget/StatefulWidget.java index 8446d04..7dc6ce7 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/StatefulWidget.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/StatefulWidget.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/ZoomWidget.java b/TULIP/src/lu/list/itis/dkd/tui/widget/ZoomWidget.java index 9bfe0ef..bfd0295 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/ZoomWidget.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/ZoomWidget.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseBuilder.java index 5e2cbf8..b288d1f 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContentBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContentBuilder.java index a554897..57581f0 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContentBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContentBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; @@ -36,7 +39,7 @@ public abstract class BaseContentBuilder> extend /** List of {@link ContentEventListener} instances listening to updates to content. */ public ArrayList listeners = new ArrayList<>(); /** List of {@link Content} that is to be managed by this application. */ - public ArrayList contents = new ArrayList<>(); + public ArrayList contents = new ArrayList<>(); /** * Method used to set the manager through which content is manipulated. diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContextAwareBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContextAwareBuilder.java index f484897..708d4be 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContextAwareBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseContextAwareBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseInfoBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseInfoBuilder.java index 38a23a9..889350d 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseInfoBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseInfoBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseStatefulBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseStatefulBuilder.java index 3b54332..c145ca6 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseStatefulBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseStatefulBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseWidgetBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseWidgetBuilder.java index 9c7ed1b..ddbea17 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseWidgetBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseWidgetBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseZoomBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseZoomBuilder.java index 2dccd2e..473dcb1 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseZoomBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/BaseZoomBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ContentWidgetBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ContentWidgetBuilder.java index c6f0d4a..59dbe0b 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ContentWidgetBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ContentWidgetBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/InfoWidgetBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/InfoWidgetBuilder.java index 8efe309..7f4a46a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/InfoWidgetBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/InfoWidgetBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/PieChartWidgetBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/PieChartWidgetBuilder.java index bf522f3..41323ff 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/PieChartWidgetBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/PieChartWidgetBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/StatefulWidgetBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/StatefulWidgetBuilder.java index fee116d..5d63585 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/StatefulWidgetBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/StatefulWidgetBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ZoomWidgetBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ZoomWidgetBuilder.java index 685f347..4c310be 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ZoomWidgetBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/builder/ZoomWidgetBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ContextAwareCorona.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ContextAwareCorona.java index 1e5aa83..8299ae4 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ContextAwareCorona.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ContextAwareCorona.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Corona.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Corona.java index fd47baf..63adfbd 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Corona.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Corona.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Image.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Image.java index f7eaa54..07dbae6 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Image.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Image.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/InfoBox.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/InfoBox.java index b344419..8270fbb 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/InfoBox.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/InfoBox.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Pointer.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Pointer.java index 4723b55..f31e70e 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Pointer.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Pointer.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; @@ -51,8 +54,8 @@ public class Pointer extends Corona { /** * {@inheritDoc} The method will check for an initialTranslation which must exist. * - * @pre ! initialTranslation.equals(new Point(0, 0, 0)); Note: The method uses conversion from double - * to float. This may lead to the truncation of some least significant bits. + * @pre ! initialTranslation.equals(new Point(0, 0, 0)); Note: The method uses conversion + * from double to float. This may lead to the truncation of some least significant bits. */ @Override public void paint(Graphics2D canvas) { @@ -62,7 +65,8 @@ public class Pointer extends Corona { Preconditions.checkState(initialTranslation != null, "The initialTranslation must be defined!"); //$NON-NLS-1$ Preconditions.checkState(initialTranslation.getState() instanceof TableCoordinates, "The pointer initialTranslation must be given in table coordinates!"); //$NON-NLS-1$ - Point localOffset = initialTranslation; // This construct is used to prevent potential NPE errors. + Point localOffset = initialTranslation; // This construct is used to prevent potential NPE + // errors. centre.toScreenCoordinates(); Point summit = new Point((float) (centre.getX() + localOffset.getX() * Math.cos(centre.getAngle())), (float) (centre.getY() + localOffset.getY() * Math.sin(centre.getAngle())), centre.getAngle() + localOffset.getAngle(), TableCoordinates.class); diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Radius.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Radius.java index e53e5ec..437cad3 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Radius.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Radius.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Shadow.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Shadow.java index 806d696..5766de5 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Shadow.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Shadow.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ShapeFactory.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ShapeFactory.java index 0bb0a22..20a7c15 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ShapeFactory.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/ShapeFactory.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/TextBox.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/TextBox.java index 88e8109..94665c2 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/TextBox.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/TextBox.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Wedge.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Wedge.java index bfd20fd..e68e545 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Wedge.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/Wedge.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseImageBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseImageBuilder.java index 08800f2..8c95e3e 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseImageBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseImageBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; @@ -35,7 +38,7 @@ import lu.tudor.ssi.kiss.dbc.annotation.Nullable; public abstract class BaseImageBuilder> extends CoronaBuilder { /** Field holding the image to display. */ @Nullable - public java.awt.Image image; + public java.awt.Image image; /** Field holding an {@link InformationProvider} instances to draw information from. */ @Nullable public InformationProvider informationProvider; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseInfoBoxBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseInfoBoxBuilder.java index f492062..023e9d2 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseInfoBoxBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseInfoBoxBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; @@ -36,9 +39,9 @@ public abstract class BaseInfoBoxBuilder> extend @Nullable public List information; /** Field holding the font size to display text in. */ - public int fontSize; + public int fontSize; /** Field holding the ratio of the line height to the font size. */ - public float lineHeightRatio; + public float lineHeightRatio; /** * Constructor setting the centre of the corona. diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BasePointerBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BasePointerBuilder.java index d0c571a..1b36743 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BasePointerBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BasePointerBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseRadiusBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseRadiusBuilder.java index f7766d9..12af931 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseRadiusBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseRadiusBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseShadowBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseShadowBuilder.java index 362dcf4..f936719 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseShadowBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseShadowBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseTextBoxBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseTextBoxBuilder.java index fa62fba..37b2a53 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseTextBoxBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseTextBoxBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseWedgeBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseWedgeBuilder.java index e41e90e..5c11529 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseWedgeBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/BaseWedgeBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; @@ -39,14 +42,14 @@ public abstract class BaseWedgeBuilder> extends Co @Nullable public Color edgeColour = null; /** Field holding the median angle used to determine the starting angle of the centroid. */ - public float radius = 5; + public float radius = 5; /** * The angle at which the arc will commence. Note: The 0 angle is horizontal. See this * Example */ - public int start = 0; + public int start = 0; /** The length of the arc as given by degrees. */ - public int length = 90; + public int length = 90; /** diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/CoronaBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/CoronaBuilder.java index 5d95f76..e21b693 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/CoronaBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/CoronaBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ImageBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ImageBuilder.java index fc74e7f..b79ece7 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ImageBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ImageBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/InfoBoxBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/InfoBoxBuilder.java index 676a0f1..34dc3c2 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/InfoBoxBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/InfoBoxBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/PointerBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/PointerBuilder.java index bf69db4..15f7a0b 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/PointerBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/PointerBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/RadiusBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/RadiusBuilder.java index f0c3fd7..dd367d0 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/RadiusBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/RadiusBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ShadowBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ShadowBuilder.java index 5107ba0..e03aaa6 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ShadowBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/ShadowBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/TextBoxBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/TextBoxBuilder.java index d749bc3..fbae4e0 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/TextBoxBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/TextBoxBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/WedgeBuilder.java b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/WedgeBuilder.java index 8ad8bc0..f8f8cbd 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/WedgeBuilder.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/corona/builder/WedgeBuilder.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.corona.builder; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/Attenuator.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/Attenuator.java index 01a2c2d..4251953 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/Attenuator.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/Attenuator.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -31,8 +34,8 @@ import lu.tudor.ssi.kiss.dbc.annotation.Nullable; public class Attenuator { private static final float ROTATION_THRESHOLD = 0.1f; private static final float MOVEMENT_THRESHOLD = 0.5f; - private static final int MOVEMENT_COOLDOWN = 500; - private static final int ROTATION_COOLDOWN = 500; + private static final int MOVEMENT_COOLDOWN = 500; + private static final int ROTATION_COOLDOWN = 500; /** * Simple getter method for movementCooldown. diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/FunctionState.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/FunctionState.java index 632419e..1371bf4 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/FunctionState.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/FunctionState.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/LimboState.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/LimboState.java index 16643f8..6d0a67a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/LimboState.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/LimboState.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/MovementState.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/MovementState.java index 1450eeb..453dd5a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/MovementState.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/MovementState.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/NUIState.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/NUIState.java index f3026d9..64d963c 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/NUIState.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/NUIState.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/RotationState.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/RotationState.java index 51286e5..fdafff8 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/RotationState.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/RotationState.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/StateManager.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/StateManager.java index 84701ad..ac71b82 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/StateManager.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/StateManager.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/StillState.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/StillState.java index f09133d..c69ae9c 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/StillState.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/StillState.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/src/lu/list/itis/dkd/tui/widget/state/Transition.java b/TULIP/src/lu/list/itis/dkd/tui/widget/state/Transition.java index 8ff82cc..dc92c4a 100644 --- a/TULIP/src/lu/list/itis/dkd/tui/widget/state/Transition.java +++ b/TULIP/src/lu/list/itis/dkd/tui/widget/state/Transition.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/test/lu/list/itis/dkd/tui/AllTests.java b/TULIP/test/lu/list/itis/dkd/tui/AllTests.java index 11269db..5f2d3a5 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/AllTests.java +++ b/TULIP/test/lu/list/itis/dkd/tui/AllTests.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; @@ -29,4 +32,6 @@ import org.junit.runners.Suite.SuiteClasses; */ @RunWith(Suite.class) @SuiteClasses({UtilityTests.class, StateTests.class}) -public class AllTests {} +public class AllTests { + /** Test suits feature empty bodies. */ +} diff --git a/TULIP/test/lu/list/itis/dkd/tui/ExitDeniedSecurityManager.java b/TULIP/test/lu/list/itis/dkd/tui/ExitDeniedSecurityManager.java deleted file mode 100644 index 01982aa..0000000 --- a/TULIP/test/lu/list/itis/dkd/tui/ExitDeniedSecurityManager.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -package lu.list.itis.dkd.tui; - -import java.security.Permission; - -/** - * @author Doug Lawrie - * @since 2.0 - * @version 2.0.41 - */ -public class ExitDeniedSecurityManager extends SecurityManager { - - /** - * @author Doug Lawrie - * @since 2.0 - * @version 2.0.41 - */ - public static final class ExitSecurityException extends SecurityException { - - private static final long serialVersionUID = 1321581078611017533L; - private final int status; - - /** - * @param status - */ - public ExitSecurityException(final int status) { - this.status = status; - } - - - /** - * @return the exit code - */ - public int getStatus() { - return this.status; - } - } - - @Override - public void checkExit(final int status) { - throw new ExitSecurityException(status); - } - - @Override - public void checkPermission(final Permission perm) { - // Should override every method with empty - } -} \ No newline at end of file diff --git a/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest.java b/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest.java index 025534d..535d9ca 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; diff --git a/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest2.java b/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest2.java index 6c35be7..d3d8439 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest2.java +++ b/TULIP/test/lu/list/itis/dkd/tui/TangibleApplicationTest2.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; @@ -29,7 +32,7 @@ import java.util.logging.Level; /** * Test case for testing the {@link TangibleApplication} class. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 2.0 * @version 2.0.41 */ @@ -212,7 +215,7 @@ public class TangibleApplicationTest2 { /** * Class implementing the abstract {@link TangibleApplication} for test purposes. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 11/05/2015 * @version 1 */ @@ -238,7 +241,7 @@ public class TangibleApplicationTest2 { /** * Class implementing the abstract {@link TangibleApplication} for test purposes. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 11/05/2015 * @version 1 */ @@ -264,7 +267,7 @@ public class TangibleApplicationTest2 { /** * Class implementing the abstract {@link TangibleApplication} for test purposes. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 11/05/2015 * @version 1 */ @@ -290,7 +293,7 @@ public class TangibleApplicationTest2 { /** * Class implementing the abstract {@link TangibleObjectManager} for test purposes. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] + * @author Nicolas GILMARD * @since 11/05/2015 * @version 1 */ diff --git a/TULIP/test/lu/list/itis/dkd/tui/TangibleInterfaceManagerTest.java b/TULIP/test/lu/list/itis/dkd/tui/TangibleInterfaceManagerTest.java index 744b7ca..60666df 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/TangibleInterfaceManagerTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/TangibleInterfaceManagerTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui; @@ -40,7 +43,7 @@ import java.util.logging.Logger; * @version 1.0.2 */ public class TangibleInterfaceManagerTest { - private String propertiesLocation = "test_properties.properties"; + private String propertiesLocation = "test_properties.properties"; //$NON-NLS-1$ private TangibleApplication application; private TangibleInterfaceManager interfaceManager; @@ -75,12 +78,12 @@ public class TangibleInterfaceManagerTest { public void testTangibleInterfaceManager() throws IllegalArgumentException, IllegalAccessException, NoSuchFieldException, SecurityException { assertThat(interfaceManager, is(notNullValue())); - Field properties = TestTangibleApplication.class.getSuperclass().getDeclaredField("properties"); - Field calibrationFileURI = TangibleInterfaceManager.class.getDeclaredField("calibrationFileURI"); - Field logger = TangibleInterfaceManager.class.getDeclaredField("logger"); - Field windowHeight = TangibleInterfaceManager.class.getDeclaredField("windowHeight"); - Field windowWidth = TangibleInterfaceManager.class.getDeclaredField("windowWidth"); - Field title = TangibleInterfaceManager.class.getDeclaredField("title"); + Field properties = TestTangibleApplication.class.getSuperclass().getDeclaredField("properties"); //$NON-NLS-1$ + Field calibrationFileURI = TangibleInterfaceManager.class.getDeclaredField("calibrationFileURI"); //$NON-NLS-1$ + Field logger = TangibleInterfaceManager.class.getDeclaredField("logger"); //$NON-NLS-1$ + Field windowHeight = TangibleInterfaceManager.class.getDeclaredField("windowHeight"); //$NON-NLS-1$ + Field windowWidth = TangibleInterfaceManager.class.getDeclaredField("windowWidth"); //$NON-NLS-1$ + Field title = TangibleInterfaceManager.class.getDeclaredField("title"); //$NON-NLS-1$ // TODO Implement remaining tests. @@ -205,7 +208,7 @@ public class TangibleInterfaceManagerTest { @Override public Collection getDrawableContents() { // fail("Method not implemented in mock!"); - return new HashSet(); + return new HashSet<>(); } } @@ -237,7 +240,7 @@ public class TangibleInterfaceManagerTest { */ @Override public void defineWidgets() throws BuildException { - throw new BuildException("No widgets to build in this mock!"); + throw new BuildException("No widgets to build in this mock!"); //$NON-NLS-1$ } } } \ No newline at end of file diff --git a/TULIP/test/lu/list/itis/dkd/tui/adapter/TangibleObjectTest.java b/TULIP/test/lu/list/itis/dkd/tui/adapter/TangibleObjectTest.java index 6832ab7..ed26714 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/adapter/TangibleObjectTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/adapter/TangibleObjectTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.adapter; diff --git a/TULIP/test/lu/list/itis/dkd/tui/adapter/TuioAdapterTest.java b/TULIP/test/lu/list/itis/dkd/tui/adapter/TuioAdapterTest.java index 71f58c2..487660f 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/adapter/TuioAdapterTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/adapter/TuioAdapterTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.adapter; @@ -50,9 +53,9 @@ import java.util.logging.Logger; /** * Test case for testing the {@link TuioAdapter} class. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since [1].[0] - * @version [1].[0].[1] + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.1 */ public class TuioAdapterTest { private TuiAdapter tuiAdapter; diff --git a/TULIP/test/lu/list/itis/dkd/tui/logging/TulipLoggerTest.java b/TULIP/test/lu/list/itis/dkd/tui/logging/TulipLoggerTest.java index 65f1e2f..0a30c14 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/logging/TulipLoggerTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/logging/TulipLoggerTest.java @@ -1,23 +1,24 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.logging; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import lu.list.itis.dkd.tui.logging.EventLogger; - import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; diff --git a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothClientTest.java b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothClientTest.java index b6f2ebc..e7706d2 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothClientTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothClientTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -28,9 +31,9 @@ import java.lang.reflect.Field; /** * Test case for testing the {@link BluetoothClient} class. Need another computer for run the test. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since 1.0 - * @version 1.0.0 + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.0 */ public class BluetoothClientTest { private BluetoothClient bluetoothClient; diff --git a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothServerTest.java b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothServerTest.java index f79d036..bff2cfa 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothServerTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/BluetoothServerTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -29,9 +32,9 @@ import java.lang.reflect.Field; /** * Test case for testing the {@link BluetoothServer} class. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since 1.0 - * @version 1.0.0 + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.0 */ public class BluetoothServerTest { private BluetoothServer bluetoothServer; diff --git a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTClient.java b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTClient.java index 1473d42..0a375ad 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTClient.java +++ b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTClient.java @@ -1,3 +1,19 @@ +/** + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . + */ package lu.list.itis.dkd.tui.network.adapter; import java.io.IOException; @@ -12,9 +28,9 @@ import javax.microedition.io.StreamConnection; /** * Class which should be run on another PC for pass {@link BluetoothClientTest} tests * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since 1.0 - * @version 1.0.0 + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.0 */ public class RunForTestBTClient { diff --git a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTServer.java b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTServer.java index d873aad..8456181 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTServer.java +++ b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/RunForTestBTServer.java @@ -1,3 +1,19 @@ +/** + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . + */ package lu.list.itis.dkd.tui.network.adapter; import java.io.IOException; @@ -12,9 +28,9 @@ import javax.microedition.io.StreamConnectionNotifier; /** * Class which should be run on another PC for pass {@link BluetoothServerTest} tests * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since 1.0 - * @version 1.0.0 + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.0 */ public class RunForTestBTServer { diff --git a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpClientTest.java b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpClientTest.java index a4c5f4f..f4df0c7 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpClientTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpClientTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -28,9 +31,9 @@ import java.net.ServerSocket; /** * Test case for testing the {@link TcpClient} class. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since 1.0 - * @version 1.0.0 + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.0 */ public class TcpClientTest { diff --git a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpServerTest.java b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpServerTest.java index 38d254d..45faa8a 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpServerTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/TcpServerTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -29,9 +32,9 @@ import java.net.Socket; /** * Test case for testing the {@link TcpServer} class. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since 1.0 - * @version 1.0.0 + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.0 */ public class TcpServerTest { private TcpServer tcpServer; diff --git a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/XbeeAdapterTest.java b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/XbeeAdapterTest.java index 04ab992..f6ec2f5 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/network/adapter/XbeeAdapterTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/network/adapter/XbeeAdapterTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.network.adapter; @@ -31,9 +34,9 @@ import java.lang.reflect.Field; /** * Test case for testing the {@link XbeeAdapter} class. * - * @author Nicolas GILMARD [nicolas.gilmard@list.lu] - * @since 1.0 - * @version 1.0.0 + * @author Nicolas GILMARD + * @since 2.0 + * @version 2.0.0 */ public class XbeeAdapterTest { diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/CalibrationTest.java b/TULIP/test/lu/list/itis/dkd/tui/utility/CalibrationTest.java index 0bf122a..867cd0b 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/CalibrationTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/CalibrationTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; @@ -33,14 +36,13 @@ import java.io.File; * @version 1.0.2 */ public class CalibrationTest { - private static final String CALIBRATION_URI = "test_calibration.xml"; + private static final String CALIBRATION_URI = "test_calibration.xml"; //$NON-NLS-1$ /** * Checking whether the correct values have been loaded. * * @throws java.lang.Exception */ - @SuppressWarnings("null") @BeforeClass public static void setUpBeforeClass() throws Exception { assertEquals(50, Calibration.getScreenLeft()); @@ -90,11 +92,11 @@ public class CalibrationTest { @AfterClass public static void tearDownAfterClass() throws Exception { try { - Calibration.saveToFile(""); - fail("This point should never have been reached!"); + Calibration.saveToFile(""); //$NON-NLS-1$ + fail("This point should never have been reached!"); //$NON-NLS-1$ } catch (IllegalArgumentException e) { - Calibration.saveToFile("output_" + CALIBRATION_URI); - File file = new File("output_" + CALIBRATION_URI); + Calibration.saveToFile("output_" + CALIBRATION_URI); //$NON-NLS-1$ + File file = new File("output_" + CALIBRATION_URI); //$NON-NLS-1$ assertNotNull(file); assertTrue(file.exists()); assertFalse(file.isDirectory()); diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/CameraCoordinatesTest.java b/TULIP/test/lu/list/itis/dkd/tui/utility/CameraCoordinatesTest.java index c90c73e..a3bf51b 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/CameraCoordinatesTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/CameraCoordinatesTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; @@ -36,7 +39,7 @@ public class CameraCoordinatesTest { */ @BeforeClass public static void setUpBeforeClass() throws Exception { - Calibration.loadFromFile("calibration.xml"); + Calibration.loadFromFile("calibration.xml"); //$NON-NLS-1$ } /** diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/CoordinateStateTest.java b/TULIP/test/lu/list/itis/dkd/tui/utility/CoordinateStateTest.java index 2149885..48789e8 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/CoordinateStateTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/CoordinateStateTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/IDMapperTest.java b/TULIP/test/lu/list/itis/dkd/tui/utility/IDMapperTest.java index 4d48a7e..5ca8bdb 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/IDMapperTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/IDMapperTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; @@ -32,10 +35,10 @@ import java.util.Properties; * @version 1.0.2 */ public class IDMapperTest { - private static Properties properties = new Properties(); + private static Properties properties = new Properties(); /** The URI of the properties file as qualified from this file. */ - private static String propertiesFileURI = "test_properties.properties"; + private static String propertiesFileURI = "test_properties.properties"; //$NON-NLS-1$ /** * @throws java.lang.Exception @@ -45,17 +48,17 @@ public class IDMapperTest { try (FileInputStream inputStream = new FileInputStream(new File(propertiesFileURI))) { properties.load(inputStream); } catch (IOException ioe) { - System.err.println("The properties file or values thereof could not be loaded!"); + System.err.println("The properties file or values thereof could not be loaded!"); //$NON-NLS-1$ ioe.printStackTrace(); } } /** * Test method for {@link lu.list.itis.dkd.tui.utility.IDMapper#remapCursorId(int)} as well as - * {@link IDMapper#initialise(Properties)}. + * {@link IDMapper#initialise(Properties)}. The test checks initialisation as well as the + * correct handling of a non positive value by expecting an exception to be thrown. */ - @SuppressWarnings("null") - @Test + @Test(expected = IllegalArgumentException.class) public void testRemapCursorIDAndInitialse() { assertEquals(1024, IDMapper.remapCursorId(0)); IDMapper.initialise(properties); @@ -63,10 +66,7 @@ public class IDMapperTest { assertEquals(2098, IDMapper.remapCursorId(50)); assertEquals(2048, IDMapper.remapCursorId(0)); - try { - IDMapper.remapCursorId(-1); - fail("An error should have been thrown!"); - } catch (IllegalArgumentException iae) {} + IDMapper.remapCursorId(-1); + fail("An error should have been thrown!"); //$NON-NLS-1$ } - -} +} \ No newline at end of file diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/PointTest.java b/TULIP/test/lu/list/itis/dkd/tui/utility/PointTest.java index dd3404f..cd9c04d 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/PointTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/PointTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/ScreenCoordinatesTest.java b/TULIP/test/lu/list/itis/dkd/tui/utility/ScreenCoordinatesTest.java index 1bb6f50..200e890 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/ScreenCoordinatesTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/ScreenCoordinatesTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; @@ -36,7 +39,7 @@ public class ScreenCoordinatesTest { */ @BeforeClass public static void setUpBeforeClass() throws Exception { - Calibration.loadFromFile("calibration.xml"); + Calibration.loadFromFile("calibration.xml"); //$NON-NLS-1$ } /** diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/TableCoordinatesTest.java b/TULIP/test/lu/list/itis/dkd/tui/utility/TableCoordinatesTest.java index e0ba9f7..44502da 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/TableCoordinatesTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/TableCoordinatesTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; @@ -36,7 +39,7 @@ public class TableCoordinatesTest { */ @BeforeClass public static void setUpBeforeClass() throws Exception { - Calibration.loadFromFile("calibration.xml"); + Calibration.loadFromFile("calibration.xml"); //$NON-NLS-1$ } /** diff --git a/TULIP/test/lu/list/itis/dkd/tui/utility/UtilityTests.java b/TULIP/test/lu/list/itis/dkd/tui/utility/UtilityTests.java index 1f3987f..e41c213 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/utility/UtilityTests.java +++ b/TULIP/test/lu/list/itis/dkd/tui/utility/UtilityTests.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.utility; @@ -26,4 +29,6 @@ import org.junit.runners.Suite.SuiteClasses; */ @RunWith(Suite.class) @SuiteClasses({CalibrationTest.class, CameraCoordinatesTest.class, PointTest.class, ScreenCoordinatesTest.class, TableCoordinatesTest.class, CoordinateStateTest.class, IDMapperTest.class}) -public class UtilityTests {} +public class UtilityTests { + /** Test suite bodies are always empty. */ +} diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/BaseWidgetTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/BaseWidgetTest.java index 9f5cda7..bfeb3f9 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/BaseWidgetTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/BaseWidgetTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; @@ -18,7 +21,6 @@ import static org.junit.Assert.fail; import lu.list.itis.dkd.tui.utility.Calibration; import lu.list.itis.dkd.tui.utility.Point; -import lu.list.itis.dkd.tui.widget.BaseWidget; import lu.list.itis.dkd.tui.widget.builder.BaseWidgetBuilder; import lu.list.itis.dkd.tui.widget.corona.ShapeFactory; import lu.list.itis.dkd.tui.widget.corona.builder.ShadowBuilder; diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/StatefulWidgetTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/StatefulWidgetTest.java index 50cb9af..3ee7316 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/StatefulWidgetTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/StatefulWidgetTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget; diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/AttenuatorTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/AttenuatorTest.java index 4dbda11..acc010f 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/AttenuatorTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/AttenuatorTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/FunctionStateTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/FunctionStateTest.java index f867921..f5a5795 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/FunctionStateTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/FunctionStateTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -33,10 +36,9 @@ import org.junit.Test; * @since 1.0 * @version 1.0.2 */ -@SuppressWarnings("null") public class FunctionStateTest { private FunctionState func, func2, func3; - private static Point point, pointEnough, pointToLittle; + private static Point point, pointEnough, pointToLittle; /** * Setting up fields before testing. diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/LimboStateTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/LimboStateTest.java index e4c5c85..3468c35 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/LimboStateTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/LimboStateTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -32,7 +35,6 @@ import org.junit.Test; * @since 1.0 * @version 1.0.2 */ -@SuppressWarnings("null") public class LimboStateTest { private LimboState limbo, limbo2, limbo3; private static Point point, pointEnough, pointToLittle; diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/MovementStateTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/MovementStateTest.java index c7bdc47..cc60d2c 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/MovementStateTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/MovementStateTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -32,10 +35,9 @@ import org.junit.Test; * @since 1.0 * @version 1.0.2 */ -@SuppressWarnings("null") public class MovementStateTest { private MovementState movement, movement2, movement3; - private static Point point, pointEnough, pointToLittle; + private static Point point, pointEnough, pointToLittle; /** * Setting up fields before testing. diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/RotationStateTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/RotationStateTest.java index 9301b99..7c60ee3 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/RotationStateTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/RotationStateTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -32,10 +35,9 @@ import org.junit.Test; * @since 1.0 * @version 1.0.2 */ -@SuppressWarnings("null") public class RotationStateTest { private RotationState rotation, rotation2, rotation3; - private static Point point, pointEnough, pointToLittle; + private static Point point, pointEnough, pointToLittle; /** * Setting up fields before testing. diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateManagerTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateManagerTest.java index 0f6e8d6..479378b 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateManagerTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateManagerTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -44,7 +47,7 @@ import java.util.Collection; */ public class StateManagerTest { private static StateManager manager; - private static Point point, pointEnough, pointToLittle, pointEvenMore; + private static Point point, pointEnough, pointToLittle, pointEvenMore; /** * Setting up fields before testing. @@ -84,7 +87,6 @@ public class StateManagerTest { * {@link lu.list.itis.dkd.tui.widget.state.StateManager#drop(lu.list.itis.dkd.tui.utility.Point)} * . */ - @SuppressWarnings("null") @Test public void testDrop() { Multimap stateMap = getStateMap(manager.getClass()); @@ -176,7 +178,6 @@ public class StateManagerTest { * {@link lu.list.itis.dkd.tui.widget.state.StateManager#lift(lu.list.itis.dkd.tui.utility.Point)} * . */ - @SuppressWarnings("null") @Test public void testLift() { Multimap stateMap = getStateMap(manager.getClass()); @@ -301,7 +302,6 @@ public class StateManagerTest { * * @throws InterruptedException */ - @SuppressWarnings("null") @Test public void testMoveAndIsMoving() throws InterruptedException { Multimap stateMap = getStateMap(manager.getClass()); @@ -395,7 +395,6 @@ public class StateManagerTest { * * @throws InterruptedException */ - @SuppressWarnings("null") @Test public void testRotateAndIsRotating() throws InterruptedException { Multimap stateMap = getStateMap(manager.getClass()); @@ -485,7 +484,6 @@ public class StateManagerTest { * {@link lu.list.itis.dkd.tui.widget.state.StateManager#function(lu.list.itis.dkd.tui.utility.Point)} * . */ - @SuppressWarnings("null") @Test public void testFunction() { Multimap stateMap = getStateMap(manager.getClass()); @@ -559,24 +557,24 @@ public class StateManagerTest { @SuppressWarnings("unchecked") private Multimap getStateMap(Class managerClass) { try { - Field states = managerClass.getDeclaredField("states"); + Field states = managerClass.getDeclaredField("states"); //$NON-NLS-1$ states.setAccessible(true); return (Multimap) states.get(manager); } catch (NoSuchFieldException e) { - System.err.println("Error accessing field! No such field!"); + System.err.println("Error accessing field! No such field!"); //$NON-NLS-1$ e.printStackTrace(); fail(); } catch (SecurityException e) { - System.err.println("Error accessing field! Access not permitted!"); + System.err.println("Error accessing field! Access not permitted!"); //$NON-NLS-1$ e.printStackTrace(); fail(); } catch (IllegalArgumentException e) { - System.err.println("Error accessing field! Field not found for instance!"); + System.err.println("Error accessing field! Field not found for instance!"); //$NON-NLS-1$ e.printStackTrace(); fail(); } catch (IllegalAccessException e) { - System.err.println("Error accessing field for instance! Access not permitted!"); + System.err.println("Error accessing field for instance! Access not permitted!"); //$NON-NLS-1$ e.printStackTrace(); fail(); } diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateTests.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateTests.java index e653ee3..fc4fa4e 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateTests.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/StateTests.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -26,4 +29,6 @@ import org.junit.runners.Suite.SuiteClasses; */ @RunWith(Suite.class) @SuiteClasses({AttenuatorTest.class, FunctionStateTest.class, LimboStateTest.class, MovementStateTest.class, RotationStateTest.class, StateManagerTest.class, StillStateTest.class, TransitionTest.class}) -public class StateTests {} +public class StateTests { + /** Test suite bodies are always empty. */ +} diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/StillStateTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/StillStateTest.java index cb69f34..5e32bc0 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/StillStateTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/StillStateTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -32,7 +35,6 @@ import org.junit.Test; * @since 1.0 * @version 1.0.2 */ -@SuppressWarnings("null") public class StillStateTest { private StillState still, still2, still3; private static Point point, pointEnough, pointToLittle; diff --git a/TULIP/test/lu/list/itis/dkd/tui/widget/state/TransitionTest.java b/TULIP/test/lu/list/itis/dkd/tui/widget/state/TransitionTest.java index b25a60b..0688fb0 100644 --- a/TULIP/test/lu/list/itis/dkd/tui/widget/state/TransitionTest.java +++ b/TULIP/test/lu/list/itis/dkd/tui/widget/state/TransitionTest.java @@ -1,15 +1,18 @@ /** - * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish - * to use this code for any purpose, please contact the author(s). - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY - * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. + * + * This file is part of TULIP. + * + * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU + * Lesser General Public License as published by the Free Software Foundation, either version 3 of + * the License. + * + * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even + * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with TULIP. If + * not, see . */ package lu.list.itis.dkd.tui.widget.state; @@ -32,12 +35,11 @@ import org.junit.Test; public class TransitionTest { private static Transition transition, transition2, transition3; private static MovementState from, to; - private static LimboState limbo; + private static LimboState limbo; /** * Setting up variables. */ - @SuppressWarnings("null") @BeforeClass public static void setup() { from = new MovementState(new Point(0, 0, 0)); -- GitLab