OGEMA Applications :: Widget Sample Apps


License

License

GroupId

GroupId

org.ogema.widgets
ArtifactId

ArtifactId

widget-apps
Last Version

Last Version

2.2.1
Release Date

Release Date

Type

Type

pom
Description

Description

OGEMA Applications :: Widget Sample Apps

Download widget-apps

Filename Size
widget-apps-2.2.1.pom 1 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.ogema.widgets/widget-apps/ -->
<dependency>
    <groupId>org.ogema.widgets</groupId>
    <artifactId>widget-apps</artifactId>
    <version>2.2.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.ogema.widgets/widget-apps/
implementation 'org.ogema.widgets:widget-apps:2.2.1'
// https://jarcasting.com/artifacts/org.ogema.widgets/widget-apps/
implementation ("org.ogema.widgets:widget-apps:2.2.1")
'org.ogema.widgets:widget-apps:pom:2.2.1'
<dependency org="org.ogema.widgets" name="widget-apps" rev="2.2.1">
  <artifact name="widget-apps" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.ogema.widgets', module='widget-apps', version='2.2.1')
)
libraryDependencies += "org.ogema.widgets" % "widget-apps" % "2.2.1"
[org.ogema.widgets/widget-apps "2.2.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • app-collections
  • BatteryStateMonitoring
  • basic-room-link
  • device-configuration
  • datalog-bathing-v2
  • datalog-priceprovider
  • datalog-resadmin-v2
  • activate-log-modus
  • datalog-sensact
  • reveal-test-2
  • room-link
  • schedule-viewer-rooms
  • widget-test-1
  • widget-test-2
  • widget-test-3
  • widget-test-4

ogema-widgets

The OGEMA widgets framework provides a small web framework for building OGEMA user pages.

Getting started

Follow the steps below to run OGEMA with the widgets framework. Prerequisite: Java 8

  1. Download the demokit
  2. Go to the demokit rundirectory and execute the start.sh (for bash compatible shells) script or the start.cmd (Windows shell)
  3. Open the site https://localhost:8443/ogema/index.html in your Browser and accept the warning about the untrusted certificate
  4. Login with default credentials master/master

Developing apps

Documentation: https://ogema-source.net/apidocsextended/ Tutorials and resources about OGEMA are available on the OGEMA Wiki and the community Wiki

For widget-specific information see https://community.ogema-source.net/xwiki/bin/view/Main/The%20OGEMA%20Widgets%20framework/

Examples

Example apps can be found in the subfolder src/widget-apps and in the tutorial repository.

Build yourself

Prerequisite: Maven 3

Go to the src folder and execute mvn clean install -DskipTests

Components

API

  • ogema-gui-api

Implementation

  • ogema-js-bundle (+ extended API)
  • widget-collection (The base widgets)
  • widget-extended (Widgets adapted to OGEMA Resources and ResourcePatterns)
  • widget-experimental (Widgets in even more experimental stadium)
  • icon-service-impl (Retrieve icons associated to OGEMA Resource types)
  • name-service-impl (Defines naming rules for OGEMA Resources)
  • messaging (Tools for messaging, and implementation of basic messaging services)

Tools

  • widget-tools: A set of useful OGEMA tool apps that provide a GUI, mostly based on widgets
  • simulations: Provides an API for simulation providers, and a GUI that shows all available simulations in the system (based on widgets)
  • widget-exam-base: Test base and tests for the widgets framework

Sample apps

  • widget-apps
org.ogema.widgets

OGEMA

Versions

Version
2.2.1
2.2.0