Skip to content

Commit

Permalink
add input widget to UI SitemapProviderImpl
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
  • Loading branch information
mherwege committed Mar 5, 2023
1 parent ac88faa commit 29d8b4c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import org.openhab.core.model.sitemap.sitemap.impl.FrameImpl;
import org.openhab.core.model.sitemap.sitemap.impl.GroupImpl;
import org.openhab.core.model.sitemap.sitemap.impl.ImageImpl;
import org.openhab.core.model.sitemap.sitemap.impl.InputImpl;
import org.openhab.core.model.sitemap.sitemap.impl.ListImpl;
import org.openhab.core.model.sitemap.sitemap.impl.MappingImpl;
import org.openhab.core.model.sitemap.sitemap.impl.MapviewImpl;
Expand Down Expand Up @@ -236,6 +237,10 @@ protected Sitemap buildSitemap(RootUIComponent rootComponent) {
addWidgetMappings(selectionWidget.getMappings(), component);
widget = selectionWidget;
break;
case "Input":
InputImpl inputWidget = (InputImpl) SitemapFactory.eINSTANCE.createInput();
widget = inputWidget;
break;
case "List":
ListImpl listWidget = (ListImpl) SitemapFactory.eINSTANCE.createList();
widget = listWidget;
Expand Down

0 comments on commit 29d8b4c

Please sign in to comment.