├── .gitignore ├── README.md ├── build ├── com.eclipsesource.tabris.demos.build │ ├── .project │ ├── Tabris Demos build.launch │ └── pom.xml ├── com.eclipsesource.tabris.demos.feature │ ├── .project │ ├── build.properties │ ├── feature.xml │ ├── pom.xml │ └── rootfiles │ │ ├── launch.ini │ │ └── web.xml └── com.eclipsesource.tabris.demos.product │ ├── .project │ ├── assembly.xml │ ├── com.eclipsesource.tabris.demos.product │ └── pom.xml └── com.eclipsesource.tabris.demos ├── .classpath ├── .project ├── .settings ├── org.eclipse.core.resources.prefs ├── org.eclipse.jdt.core.prefs ├── org.eclipse.jdt.ui.prefs ├── org.eclipse.pde.core.prefs └── org.eclipse.pde.prefs ├── META-INF └── MANIFEST.MF ├── Tabris Demos.launch ├── build.properties ├── epl-v10.html ├── gallery ├── IRS46_nasa.jpg ├── IRS46_nasa_thumb.jpg ├── catseye.jpg ├── catseye_thumb.jpg ├── heic0305a.jpg ├── heic0305a_thumb.jpg ├── heic0401a.jpg ├── heic0401a_thumb.jpg ├── heic0405a.jpg ├── heic0405a_thumb.jpg ├── heic0407a.jpg ├── heic0407a_thumb.jpg ├── heic0407b.jpg ├── heic0407b_thumb.jpg ├── heic0409a.jpg ├── heic0409a_thumb.jpg ├── heic0414a.jpg ├── heic0414a_thumb.jpg ├── heic0502a.jpg ├── heic0502a_thumb.jpg ├── heic0514a.jpg ├── heic0514a_thumb.jpg ├── heic0515a.jpg ├── heic0515a_thumb.jpg ├── heic0604a.jpg ├── heic0604a_thumb.jpg ├── heic0910e.jpg ├── heic0910e_thumb.jpg ├── ngc4414.jpg ├── ngc4414_thumb.jpg ├── opo0110a.jpg ├── opo0110a_thumb.jpg ├── opo0505a.jpg ├── opo0505a_thumb.jpg ├── opo9901a.jpg ├── opo9901a_thumb.jpg ├── orion-nebula.jpg └── orion-nebula_thumb.jpg ├── images ├── action.png ├── action_search.png ├── action_settings.png ├── action_share.png ├── action_theme.png ├── add_page.png ├── add_root_page.png ├── book_a_history.jpg ├── book_after_visiting.jpg ├── book_autobiografy.jpg ├── book_how_literature.jpg ├── book_schroder.jpg ├── book_store_ui.png ├── book_the_dinner.jpg ├── book_vampires.jpg ├── browser.png ├── dontPanic.png ├── envelope.png ├── ernie.png ├── global_action.png ├── hal.png ├── hal_160.png ├── hal_240.png ├── hal_360.png ├── hal_480.png ├── inbox.png ├── line-width-medium.png ├── line-width-thick.png ├── line-width-thin.png ├── mail.png ├── maps.png ├── openurl.png ├── page_all_books.png ├── page_favorite_books.png ├── page_popular_books.png ├── phone.png ├── redo.png ├── remove_root_page.png ├── rubber_grip.png ├── sms.png ├── star-bg.jpg └── undo.png ├── pom.xml ├── src └── com │ └── eclipsesource │ └── tabris │ └── demos │ ├── Activator.java │ ├── Configuration.java │ ├── button │ └── Questions.java │ ├── enron │ ├── EnronDataset.java │ ├── EnronDatasetIndexer.java │ ├── EnronExample.java │ └── ExampleUtil.java │ ├── entrypoints │ ├── AppEventsDemo.java │ ├── AppLauncherDemo.java │ ├── ButtonControlsDemo.java │ ├── CameraDemo.java │ ├── ClientDeviceDemo.java │ ├── DrawDemo.java │ ├── GalleryDemo.java │ ├── GeolocationDemo.java │ ├── InputControlsDemo.java │ ├── KeyboardDemo.java │ ├── PdfDemo.java │ ├── ScrollDemo.java │ ├── SimpleTreeDemo.java │ ├── SwipeDemo.java │ ├── UiDemo.java │ ├── VideoDemo.java │ ├── VirtualTreeDemo.java │ └── VisualGuideDemo.java │ ├── hal │ └── Hal9000.java │ ├── swipe │ ├── DictionarySwipeItem.java │ └── DictionarySwipeItemProvider.java │ └── ui │ ├── AllBooksPage.java │ ├── Book.java │ ├── BookDetailsPage.java │ ├── BookFilter.java │ ├── BookProvider.java │ ├── BookSearchAction.java │ ├── BooksContentProvider.java │ ├── BooksLabelProvider.java │ ├── BooksListPage.java │ ├── ChangeThemeAction.java │ ├── Constants.java │ ├── FavoriteBooksPage.java │ ├── PopularBooksPage.java │ ├── ReadBookPage.java │ ├── SearchResultsPage.java │ ├── SettingsAction.java │ ├── SettingsPage.java │ ├── ShareAction.java │ └── dynamic │ ├── DynamicAction.java │ ├── DynamicPage.java │ └── DynamicUIDemo.java └── tabris.target /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | bin 3 | target 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Tabris Demos 2 | ============ 3 | 4 | This repository contains a single Eclipse project with sources for all demos shown in the [Tabris Screencasts](http://developer.eclipsesource.com/tabris/demos/). The steps to get this running are described [here](http://developer.eclipsesource.com/tabris/docs/1.4/getting-started/samples/). After running this project the following Entrypoints are available: 5 | 6 | * http://SERVER:9090/input 7 | * http://SERVER:9090/buttons 8 | * http://SERVER:9090/simple-tree 9 | * http://SERVER:9090/location 10 | * http://SERVER:9090/draw 11 | * http://SERVER:9090/launcher 12 | * http://SERVER:9090/camera 13 | * http://SERVER:9090/gallery 14 | * http://SERVER:9090/video 15 | * http://SERVER:9090/keyboard 16 | * http://SERVER:9090/virtual-tree (Read the note below!) 17 | * http://SERVER:9090/swipe 18 | * http://SERVER:9090/appevents 19 | * http://SERVER:9090/ui 20 | * http://SERVER:9090/dynamic-ui 21 | * http://SERVER:9090/device 22 | 23 | To list all available Entrypoints: http://SERVER:9090/index.json 24 | 25 | Please replace SERVER with your ip address. 26 | 27 | IMPORTANT: Virtual Tree 28 | ----------------------- 29 | To run the virtual tree example you need to download the [Enron Email Dataset](http://www.cs.cmu.edu/~enron/) 30 | to your local machine. After this is done you need to change the constant DEFAULT_DATASET_DIR within the 31 | com.eclipsesource.tabris.demos.enron.EnronExample class to point to your maildir destination. 32 | After this please point your web browser to http://SERVER:9090/virtual-tree. It may take som eminutes before 33 | the ui will be displayed because the example needs to create some .index files. Don't worry, this happens only once. 34 | 35 | Build 36 | ----- 37 | There are some build projects located in the build directory. The build compiles the demo project into a war file that can be deployed 38 | on a servlet container. The build uses [Maven Tycho](http://eclipse.org/tycho/) and can be launched when Maven 3 is installed. Simply step to the build/com.eclipsesource.tabris.demos.build folder and run "mvn clean verify". After the build has succeeded you will find the .war file within the build/com.eclipsesource.tabris.demos.product/target folder. 39 | 40 | Alternatively you can use the [Eclipse m2e Tooling](http://eclipse.org/m2e/) and run the launch configuration located in build/com.eclipsesource.tabris.demos.build. 41 | 42 | License 43 | ------- 44 | The code is published under the terms of the [Eclipse Public License, version 1.0](http://www.eclipse.org/legal/epl-v10.html). 45 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.build/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.eclipsesource.tabris.demos.build 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.build/Tabris Demos build.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.build/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 4.0.0 7 | 8 | 3.0.0 9 | 10 | 11 | com.eclipsesource 12 | tabris-demos-parent 13 | 3.17.0-SNAPSHOT 14 | pom 15 | 16 | Tabris Demos 17 | 18 | 19 | 20 | 2.1.0 21 | org.eclipse.tycho 22 | true 23 | 24 | 2.4 25 | 1.4.1 26 | 27 | demos 28 | ${basedir} 29 | UTF-8 30 | 31 | 32 | 33 | ../../com.eclipsesource.tabris.demos 34 | ../com.eclipsesource.tabris.demos.feature 35 | ../com.eclipsesource.tabris.demos.product 36 | 37 | 38 | 39 | 40 | tabris-repo 41 | p2 42 | http://download.eclipsesource.com/technology/tabris/downloads/releases/3.17.0 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | ${tycho-groupid} 51 | tycho-maven-plugin 52 | ${tycho-version} 53 | true 54 | 55 | 56 | 57 | 58 | ${tycho-groupid} 59 | tycho-compiler-plugin 60 | ${tycho-version} 61 | 62 | ${project.build.sourceEncoding} 63 | 64 | 65 | 66 | 67 | 68 | org.eclipse.tycho 69 | target-platform-configuration 70 | ${tycho-version} 71 | 72 | p2 73 | 74 | 75 | linux 76 | gtk 77 | x86_64 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | ${tycho-groupid} 86 | tycho-packaging-plugin 87 | ${tycho-version} 88 | 89 | yyyyMMdd-HHmm 90 | 91 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.feature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.eclipsesource.tabris.demos.feature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml,\ 2 | rootfiles/ 3 | 4 | root=rootfiles 5 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.feature/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | Official Tabris Demos 10 | 11 | 12 | 13 | Copyright (c) 2012, 2021 EclipseSource and others. 14 | All rights reserved. This program and the accompanying materials 15 | are made available under the terms of the Eclipse Public License v1.0 16 | which accompanies this distribution, and is available at 17 | http://www.eclipse.org/legal/epl-v10.html 18 | 19 | Contributors: 20 | EclipseSource - initial API and implementation 21 | 22 | 23 | 24 | EPL v1.0 25 | 26 | 27 | 33 | 34 | 40 | 41 | 47 | 48 | 54 | 55 | 61 | 62 | 68 | 69 | 75 | 76 | 82 | 83 | 89 | 90 | 96 | 97 | 103 | 104 | 110 | 111 | 117 | 118 | 124 | 125 | 131 | 132 | 138 | 139 | 145 | 146 | 152 | 153 | 159 | 160 | 166 | 167 | 173 | 174 | 180 | 181 | 187 | 188 | 194 | 195 | 201 | 202 | 203 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 4.0.0 8 | 9 | 10 | tabris-demos-parent 11 | com.eclipsesource 12 | 3.17.0-SNAPSHOT 13 | ../com.eclipsesource.tabris.demos.build/ 14 | 15 | 16 | com.eclipsesource 17 | com.eclipsesource.tabris.demos.feature 18 | 3.17.0-SNAPSHOT 19 | eclipse-feature 20 | 21 | 22 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.feature/rootfiles/launch.ini: -------------------------------------------------------------------------------- 1 | # Eclipse Runtime Configuration Overrides 2 | # These properties are loaded prior to starting the framework and can also be used to override System Properties 3 | # @null is a special value used to override and clear the framework's copy of a System Property prior to starting the framework 4 | # "*" can be used together with @null to clear System Properties that match a prefix name. 5 | 6 | osgi.*=@null 7 | org.osgi.*=@null 8 | eclipse.*=@null 9 | org.eclipse.*=@null 10 | 11 | osgi.parentClassloader=app 12 | osgi.contextClassLoaderParent=app 13 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.feature/rootfiles/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | equinoxbridgeservlet 6 | Equinox Bridge Servlet 7 | Equinox Bridge Servlet 8 | org.eclipse.equinox.servletbridge.BridgeServlet 9 | 10 | 11 | commandline 12 | -registryMultiLanguage 13 | 14 | 15 | 16 | enableFrameworkControls 17 | true 18 | 19 | 20 | 35 | 36 | 1 37 | 38 | 39 | 40 | equinoxbridgeservlet 41 | /* 42 | 43 | 44 | 45 | 46 | 20 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.product/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.eclipsesource.tabris.demos.product 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.product/assembly.xml: -------------------------------------------------------------------------------- 1 | 2 | com.eclipsesource.rap.mobile.demos.war 3 | 4 | war 5 | 6 | false 7 | 8 | 9 | ${basedir}/target/products/${artifactId}/linux/gtk/x86_64 10 | /WEB-INF 11 | 12 | plugins/javax.servlet*.jar 13 | 14 | 15 | 16 | ${basedir}/rootfiles 17 | / 18 | 19 | 20 | ${basedir}/target/products/${artifactId}/linux/gtk/x86_64/plugins 21 | /WEB-INF/lib 22 | 23 | org.eclipse.equinox.servletbridge_*.jar 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.product/com.eclipsesource.tabris.demos.product: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /build/com.eclipsesource.tabris.demos.product/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 4.0.0 8 | 9 | 10 | tabris-demos-parent 11 | com.eclipsesource 12 | 3.17.0-SNAPSHOT 13 | ../com.eclipsesource.tabris.demos.build/ 14 | 15 | 16 | com.eclipsesource 17 | com.eclipsesource.tabris.demos.product 18 | 3.17.0-SNAPSHOT 19 | eclipse-repository 20 | 21 | 22 | 23 | 24 | 25 | ${tycho-groupid} 26 | tycho-p2-director-plugin 27 | ${tycho-version} 28 | 29 | 30 | materialize-products 31 | 32 | materialize-products 33 | 34 | 35 | 36 | archive-products 37 | 38 | archive-products 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | com.google.code.maven-replacer-plugin 47 | maven-replacer-plugin 48 | ${replacer-version} 49 | 50 | 51 | verify 52 | 53 | replace 54 | 55 | 56 | 57 | 58 | target/products/${project.artifactId}/linux/gtk/x86_64/configuration/config.ini 59 | 60 | 61 | osgi.bundles= 62 | osgi.bundles=org.eclipse.equinox.servletbridge.extensionbundle, 63 | 64 | 65 | reference\\:file\\:javax.servlet.*?jar@4, 66 | 67 | 68 | 69 | 70 | CASE_INSENSITIVE 71 | UNIX_LINES 72 | 73 | 74 | 75 | 76 | 77 | 78 | org.apache.maven.plugins 79 | maven-assembly-plugin 80 | ${assembly-version} 81 | 82 | 83 | assembly.xml 84 | 85 | 86 | ${war-filename} 87 | false 88 | 89 | 90 | 91 | make-assembly 92 | verify 93 | 94 | single 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /com.eclipsesource.tabris.demos/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.eclipsesource.tabris.demos/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.eclipsesource.tabris.demos 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.eclipsesource.tabris.demos/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /com.eclipsesource.tabris.demos/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | #Mon Sep 19 22:12:05 CEST 2011 2 | eclipse.preferences.version=1 3 | formatter_profile=_RAP 4 | formatter_settings_version=12 5 | org.eclipse.jdt.ui.ignorelowercasenames=true 6 | org.eclipse.jdt.ui.importorder=java;javax;org;com; 7 | org.eclipse.jdt.ui.javadoc=false 8 | org.eclipse.jdt.ui.ondemandthreshold=99 9 | org.eclipse.jdt.ui.staticondemandthreshold=99 10 | org.eclipse.jdt.ui.text.custom_code_templates=