brainslug.flow.renderer.DefaultSkin Maven / Gradle / Ivy
package brainslug.flow.renderer;
import java.util.ArrayList;
import java.util.List;
public class DefaultSkin extends Skin {
public DefaultSkin() {
loadShapes(getShapes());
}
protected List getShapes() {
List shapes = new ArrayList();
shapes.add(new ShapeInfo(Shapes.EndEvent, "shapes/BPMN/End-Event.shape", shapeStyle()));
shapes.add(new ShapeInfo(Shapes.StartEvent, "shapes/BPMN/Start-Event.shape", shapeStyle()));
shapes.add(new ShapeInfo(Shapes.GatewayExclusive, "shapes/BPMN/Gateway-Exclusive-XOR-Data-Based.shape", shapeStyle()));
shapes.add(new ShapeInfo(Shapes.GatewayParallel, "shapes/BPMN/Gateway-Parallel-AND.shape", shapeStyle()));
shapes.add(new ShapeInfo(Shapes.IntermediateEvent, "shapes/BPMN/Intermediate-Event.shape", shapeStyle()));
return shapes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy