Pimo Editor

An embeddable JSP widget that allows editing Things from your PimoOntology. Allows adding relations and facts about things, edit classes, create new classes, properties, etc.

More features are:

  • a timeline

Source:

Documentation:

The project is developed both as Eclipse Web Project and as OSGi plugin.

Authors

  • Leo Sauermann, Gunnar Grimnes, Benjamin Horak, Andreas Lauer, Martin Klinkigt (from DFKI)

Installation

PimoEditor is part of PSEW and Nepomuk. It is installed in the bundle/plugin org.opendfki.pimoeditor.

Features

PimoEditor allows you to....

annotate resources

The method

public List<GnoResourceWithStatement> findAnnotationsForInput(URI resource, String[] terms);

provides for a given resource and a set of terms (entered by the user) suggestions for annotations.

The suggestions are generated using PimoQuery and the TagRecommender.

Usage

PimoEditor is a form-based viewer and editor for single resources. It is used by embedding a web-browser into your application and showing the pimoeditor, or by embedding the editor in your JSP pages using a JSP-include command.

Embedding PIMOEditor in Desktop Applications using a Web-Browser

You can show a pimoeditor for any resource whereever you need it, just use a URI of the following scheme:

Most programming environments can embed a browser (in Microsoft Programming, use the InternetExplorer? ActiveX control, in Java there are wrappers for this). Create a browser control and set the URL

As the URI scheme may change, you should use the provided Nepomuk service to get the right URI:

import de.opendfki.pimoeditor.osgi.PimoEditorService;
...
// we have to show a pimoeditor for resource identified by "url"
ServiceReference sr = bundlecontext.getServiceReference(PimoEditorService.class.getName());
PimoEditorService pimoeditorservice=(PimoEditorService) bundlecontext.getService(sr);
String browserurl = pimoeditorservice.getPlainViewerForResource(url);
browser.setUrl(browserurl);

Using the service allows you to easily get a URL that can be shown in a browser. Examine the other methods of the PimoEditorService? for more options.

Embedding PimoEditor in web applications

If you have a JSP application, you can embed PimoEditor. This is explained here:

See Also: