public final class DesignerShapeRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DesignerShapeRegistry.ShapeDescriptor |
Constructor and Description |
---|
DesignerShapeRegistry() |
Modifier and Type | Method and Description |
---|---|
static DesignerShapeRegistry |
get(DesignerContext context)
This is how you get an instance of the registry.
|
java.util.List<java.lang.String> |
getCategories() |
java.util.List<DesignerShapeRegistry.ShapeDescriptor> |
getShapes(java.lang.String category) |
void |
register(java.lang.Class<? extends RMShape> shapeClass) |
public static DesignerShapeRegistry get(DesignerContext context)
public void register(java.lang.Class<? extends RMShape> shapeClass)
public java.util.List<java.lang.String> getCategories()
public java.util.List<DesignerShapeRegistry.ShapeDescriptor> getShapes(java.lang.String category)