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 SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
DesignerShapeRegistrypublic DesignerShapeRegistry()
 
- 
- 
Method Details- 
getThis is how you get an instance of the registry.
- 
register
- 
getCategories
- 
getShapes
- 
getDescriptorpublic Optional<DesignerShapeRegistry.ShapeDescriptor> getDescriptor(Class<? extends RMShape> shapeClass) Return a previously registered descriptor that matchesshapeClass, orOptional.empty()if not found.
 
-