Class DesignerShapeRegistry
java.lang.Object
com.inductiveautomation.reporting.designer.api.DesignerShapeRegistry
Holds the RM shapes that are on the palette. 3rd party modules may add their own shapes here.
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic DesignerShapeRegistryget(DesignerContext context) This is how you get an instance of the registry.getDescriptor(Class<? extends RMShape> shapeClass) Return a previously registered descriptor that matchesshapeClass, orOptional.empty()if not found.void 
- 
Constructor Details
- 
DesignerShapeRegistry
public DesignerShapeRegistry() 
 - 
 - 
Method Details
- 
get
This is how you get an instance of the registry. - 
register
 - 
getCategories
 - 
getShapes
 - 
getDescriptor
public Optional<DesignerShapeRegistry.ShapeDescriptor> getDescriptor(Class<? extends RMShape> shapeClass) Return a previously registered descriptor that matchesshapeClass, orOptional.empty()if not found. 
 -