public static class DiagramLabelProvider.NodeDecorator extends Object
Constructor and Description |
---|
NodeDecorator(String type,
LabelPosition labelPosition)
Creates a node decorator, with given type and position
|
Modifier and Type | Method and Description |
---|---|
LabelPosition |
getPosition() |
String |
getType() |
public NodeDecorator(String type, LabelPosition labelPosition)
type
- decorator type; corresponds to the type defined in components.xml filelabelPosition
- position of the decorator relatively to the center of the decorated nodepublic String getType()
public LabelPosition getPosition()
Copyright © 2020. All rights reserved.