| 4 | | '''The gnogno GUI components framework was revised to work with RDF2Go and SWT, together with some architectural changes, to be compatible with the [http://nepomuk.semanticdesktop.org NEPOMUK] platform. Leo started the update late 2006 and its seems to be working in April 2007.''' |
| 5 | | |
| 6 | | |
| 7 | | For the new version (1.0) you need to refer to the SVN: |
| 8 | | * https://gnowsis.opendfki.de/repos/gnowsis/trunk/gnogno2go/doc/gnognogui_framework_tutorial.html |
| 9 | | |
| 10 | | For the old version, see this tutorial for more info: |
| 11 | | * http://www.gnowsis.org/statisch/0.8/doc/gnognogui_framework_tutorial.html |
| 12 | | |
| 13 | | = Screencast = |
| 14 | | There is a [http://www.dfki.uni-kl.de/~sauermann/2007/05/31/edited_web.html 20 minute screencast] showing some basic components. |
| 15 | | |
| 16 | | {{{ |
| 17 | | #!html |
| 18 | | <a href="http://www.dfki.uni-kl.de/~sauermann/2007/05/31/edited_web.html" title="Photo Sharing"><img src="http://farm1.static.flickr.com/223/523115588_0fe3f961da_m.jpg" width="240" height="147" alt="gnogno screencast" /></a> |
| 19 | | }}} |
| 20 | | |
| 21 | | = Download = |
| 22 | | Download the source and binary from SVN: |
| 23 | | |
| 24 | | Current version: '''checkout both projects to Eclipse''' |
| 25 | | * https://gnowsis.opendfki.de/repos/gnowsis/trunk/gnogno2go/ |
| 26 | | * https://gnowsis.opendfki.de/repos/gnowsis/trunk/gnogno2go-dependencies/ |
| 27 | | |
| 28 | | Old version |
| 29 | | * https://gnowsis.opendfki.de/repos/gnowsis/trunk/gnogno-comp |
| 30 | | |
| 31 | | = Example Application = |
| 32 | | An example application that shows how GnoGno works is '''the foaf editor foafme''', you can retrieve the project from SVN |
| 33 | | |
| 34 | | * http://foafme.opendfki.de/ |
| 35 | | * https://foafme.opendfki.de/wiki/Development - instructions how to get the source of foafme 1.0 |
| 36 | | |
| 37 | | = Development = |
| 38 | | We are using Eclipse OSGI projects/plugins as project format. The reason for this is to be able to export the whole framework either as a normal Jar or as an OSGI plugin, which allows you to easily use the framework within RCP applications. Actually, both distribution ways are the same, its always the same jar. |
| 39 | | |
| 40 | | To develop, you need both gnogno2go and gnogno2go-dependencies and Eclipse. |
| 41 | | |
| 42 | | Currently, much is missing or in a limbo state, because of the move to RDF2Go and to a slimmer architecture, but the code is getting cleaner every day. |
| 43 | | |
| 44 | | = FAQ = |
| 45 | | '''Q:How to automatically create GUIs using gnogno?''' |
| 46 | | |
| 47 | | A:GnoGno has automatic resource renderers. One is the RDFResourceRenderer in SWT. These components should interpret [http://www.w3.org/2005/04/fresnel-info/ fresnel] descriptions, but they don't do yet. The fresnel configuration has to be done on the level of !GnoFactories, its valid accross a whole application. Additionally, '''property ranges''' are read by some of the GUI components to correctly format values and set the correct datatype URIs in created statements. The Method [http://www.gnowsis.org/statisch/gnogno2go-0.8/javadoc/org/gnogno/gui/dataset/binder/AbstractPropertyToComponentBinder.html#getDatatype() getDatatype()] does this. |
| | 4 | * '''[https://dev.nepomuk.semanticdesktop.org/wiki/GnognoComp] - click here''' |