Commit fd72fd30 authored by Eric Tobias's avatar Eric Tobias

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.
parent 9ed9555a
...@@ -15,7 +15,7 @@ Current development ...@@ -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. 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 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). 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).
......
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<project name="TULIP" default="all" basedir=".">
<property name='build' location='dist' />
<property name='application.version' value='1.0'/>
<property name='application.name' value='TULIP'/>
<property name='distribution' value='${application.name}-${application.version}'/>
<tstamp><format property='build.time' pattern='yyyy-MM-dd HH:mm:ss'/></tstamp>
<path id='compile.classpath'>
<fileset dir='libs'>
<include name='*.jar'/>
</fileset>
</path>
<condition property='jdk.javadoc.visible' value='true' else='false'>
<http url='http://java.sun.com/javase/8/docs/api/' />
</condition>
<echo>
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}
</echo>
<echo>Creating build directory</echo>
<mkdir dir="${build}"/>
<mkdir dir="bin"/>
<target name='clean' description="Delete all build artifacts." >
<delete includeEmptyDirs="true">
<fileset dir='${build}'/>
</delete>
<delete includeEmptyDirs="true">
<fileset dir='bin'/>
</delete>
<mkdir dir="bin"/>
<mkdir dir="${build}"/>
<mkdir dir="${build}/javadoc"/>
<mkdir dir="${build}/assets"/>
</target>
<target name='compile' description='Compile source files.'>
<javac includeantruntime="false" srcdir="src" destdir="bin">
<classpath refid='compile.classpath'/>
</javac>
</target>
<target name='jar' description='Create a jar file for distribution.' depends="compile">
<jar destfile='${build}/${distribution}.jar'>
<fileset dir="bin"/>
<zipgroupfileset dir="libs" includes="*.jar"/>
</jar>
</target>
<target name="source and doc" description="Bundle sources and javadoc in a jar" depends="javadoc">
<jar compress="${jar.compress}" basedir="src" jarfile="${build}/${distribution}-sources.jar" />
<jar compress="${jar.compress}" basedir="${build}/javadoc/" jarfile="${build}/${distribution}-javadoc.jar" />
<copy file="calibration.xml" todir="${build}/"/>
<copy file="properties.properties" todir="${build}/"/>
<copy todir="${build}/assets">
<fileset dir="assets"/>
</copy>
<jar compress="${jar.compress}" basedir="test" jarfile="${build}/${distribution}-test.jar" />
</target>
<target name='javadoc' description='Generate javadoc.' >
<javadoc
use='true' author='true' version='true'
access='package'
sourcepath='src'
packagenames='*.*'
destdir='${build}/javadoc'
windowtitle='${application.name} ${application.version}'
noqualifier='java.*:javax.*:com.sun.*'
linksource='true' >
<tag name="invariant" scope="all" description="Invariant:"/>
<tag name="post" scope="all" description="Postcondition:"/>
<tag name="pre" scope="all" description="Precondition:"/>
<classpath refid='compile.classpath'/>
<link href='http://java.sun.com/javase/8/docs/api/'/>
<header><![CDATA[<h1>${application.name} ${application.version}</h1>]]></header>
</javadoc>
</target>
<target name='distribution' description='Create zip file with project code and resources.'>
<zip destfile='${build}/${distribution}.zip'>
<zipfileset dir='${build}'/>
</zip>
</target>
<target name='all' description='Create all build artifacts.'
depends='clean, jar, javadoc, source and doc, distribution'>
<echo>Finished creating all build artifacts.</echo>
</target>
</project>
\ No newline at end of file
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui; package lu.list.itis.dkd.tui;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui; package lu.list.itis.dkd.tui;
......
/** /**
* Access to enclosing constructor TangibleInterfaceManager.TUIKeyAdapter() is emulated by a * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* 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 file is part of TULIP.
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * General Public License for more details.
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
* You should have received a copy of the GNU Lesser General Public License along with TULIP. If
* not, see <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui; package lu.list.itis.dkd.tui;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui; package lu.list.itis.dkd.tui;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.adapter; package lu.list.itis.dkd.tui.adapter;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.adapter; package lu.list.itis.dkd.tui.adapter;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.adapter; package lu.list.itis.dkd.tui.adapter;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.adapter; package lu.list.itis.dkd.tui.adapter;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.content; package lu.list.itis.dkd.tui.content;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.content; package lu.list.itis.dkd.tui.content;
...@@ -29,7 +32,7 @@ import java.awt.Graphics2D; ...@@ -29,7 +32,7 @@ import java.awt.Graphics2D;
*/ */
@NonNullByDefault @NonNullByDefault
public abstract class Content implements Comparable<Content> { public abstract class Content implements Comparable<Content> {
protected int drawPriority = 50; protected int drawPriority = 50;
protected String identifier; protected String identifier;
/** /**
...@@ -67,7 +70,8 @@ public abstract class Content implements Comparable<Content> { ...@@ -67,7 +70,8 @@ public abstract class Content implements Comparable<Content> {
/** /**
* Getter method for the draw priority. The method will have to do the computation to account * 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. * @return The draw priority of this content instance.
*/ */
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.content; package lu.list.itis.dkd.tui.content;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.content; package lu.list.itis.dkd.tui.content;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 <http://www.gnu.org/licenses/lgpl-3.0.html>.
*/ */
package lu.list.itis.dkd.tui.content; package lu.list.itis.dkd.tui.content;
......
/** /**
* Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved. If you wish * Copyright Luxembourg Institute of Science and Technology, 2015. All rights reserved.
* to use this code for any purpose, please contact the author(s). *
* * This file is part of TULIP.
* 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 * TULIP is free software: you can redistribute it and/or modify it under the terms of the GNU
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * Lesser General Public License as published by the Free Software Foundation, either version 3 of
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * the License.
* 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, * TULIP is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with TULIP. If