Search in sources :

Example 1 with SimplePointComponent

use of com.serotonin.m2m2.gviews.component.SimplePointComponent in project ma-modules-public by infiniteautomation.

the class GraphicalViewDwr method saveSimplePointComponent.

@DwrPermission(user = true)
public ProcessResult saveSimplePointComponent(String viewComponentId, boolean displayPointName, String styleAttribute) {
    SimplePointComponent c = (SimplePointComponent) getViewComponent(viewComponentId);
    c.setDisplayPointName(displayPointName);
    c.setStyleAttribute(styleAttribute);
    resetPointComponent(c);
    return new ProcessResult();
}
Also used : SimplePointComponent(com.serotonin.m2m2.gviews.component.SimplePointComponent) ProcessResult(com.serotonin.m2m2.i18n.ProcessResult) DwrPermission(com.serotonin.m2m2.web.dwr.util.DwrPermission)

Aggregations

SimplePointComponent (com.serotonin.m2m2.gviews.component.SimplePointComponent)1 ProcessResult (com.serotonin.m2m2.i18n.ProcessResult)1 DwrPermission (com.serotonin.m2m2.web.dwr.util.DwrPermission)1