Examples of WidgetPositionRequest


Examples of org.graylog2.rest.resources.dashboards.requests.WidgetPositionRequest

        final ImmutableList.Builder<WidgetPositionRequest> widgetPositions = ImmutableList.builder();
        for (DashboardWidget dashboardWidget : dashboardDescription.getDashboardWidgets()) {
            final org.graylog2.dashboards.widgets.DashboardWidget widget = createDashboardWidget(dashboardWidget, userName);
            dashboardService.addWidget(dashboard, widget);

            final WidgetPositionRequest widgetPosition = new WidgetPositionRequest(widget.getId(),
                    dashboardWidget.getCol(), dashboardWidget.getRow());
            widgetPositions.add(widgetPosition);
        }

        // FML: We need to reload the dashboard because not all fields (I'm looking at you, "widgets") is set in the
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.