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();
}
Aggregations