@Override public SVGBasicShapeViewImpl addChild(final SVGPrimitive<?> child) { childViewHandler.addChild(child); return this; }
@Override @SuppressWarnings("unchecked") public SVGBasicShapeViewImpl addSVGChild(final SVGContainer parent, final SVGBasicShapeView child) { childViewHandler.addSVGChild(parent, child); return this; }
@Override public SVGShapeView build(final String name, final SVGPrimitiveShape primitiveShape, final double width, final double height, final boolean resizable) { return new SVGShapeViewImpl(name, primitiveShape, width, height, resizable); } }
private SVGBasicShapeView diagramBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_DIAGRAMICON).setDraggable(false).setID("diagramIcon").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("diagram", mainShape, width, height); return view; }
private SVGBasicShapeView stageBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_STAGE__TAKV).setDraggable(false).setID("stage__Takv").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff"), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("stage", mainShape, width, height); SVGPrimitiveShape stage__JMKo = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_STAGE__JMKO).setDraggable(false).setID("stage__JMKo").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#393f44").setStrokeWidth(1.50), true, null); view.addChild(stage__JMKo); return view; }
@Override //Override to increase visibility for Unit Tests public HandlerManager getHandlerManager() { return super.getHandlerManager(); }
private SVGBasicShapeView intermediateNoneEventBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_EVENT_BACKGROUND).setDraggable(false).setID("event-background").setX(0.00).setY(0.00).setAlpha(0.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("intermediateNoneEvent", mainShape, width, height); return view; }
private SVGBasicShapeView laneBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(650.00, 250.00).setCornerRadius(0.00).setDraggable(false).setID("lane__KJXc").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#f2f2f2"), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("lane", mainShape, width, height); SVGPrimitiveShape lane__zdpU = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(650.00, 250.00).setCornerRadius(0.00).setDraggable(false).setID("lane__zdpU").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(0.50), true, null); view.addChild(lane__zdpU); return view; }
@Override public SVGShapeViewImpl addChild(final SVGPrimitive<?> child) { childViewHandler.addChild(child); return this; }
@Override public SVGShapeViewImpl addSVGChild(final SVGContainer parent, final SVGBasicShapeView child) { childViewHandler.addSVGChild(parent, child); return this; }
private SVGBasicShapeView rectangleBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(448.00, 448.00).setCornerRadius(15.00).setDraggable(false).setID("rectangle__O2Gz").setX(0.00).setY(0.00).setAlpha(0.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("rectangle", mainShape, width, height); return view; }
private SVGBasicShapeView embeddedSubProcessBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(650.00, 250.00).setCornerRadius(2.00).setDraggable(false).setID("subProcess-background").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff"), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("embeddedSubProcess", mainShape, width, height); SVGPrimitiveShape subProcess_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(650.00, 250.00).setCornerRadius(2.00).setDraggable(false).setID("subProcess-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#393f44").setStrokeWidth(1.50), true, null); view.addChild(subProcess_border); return view; }
private SVGBasicShapeView textAnnotationBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_TEXTANNOTATION__I4JQ).setDraggable(false).setID("textAnnotation__i4Jq").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeColor("#000000").setStrokeWidth(1.50), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("textAnnotation", mainShape, width, height); return view; }
private SVGBasicShapeView noneTaskBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeAlpha(0.00), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("noneTask", mainShape, width, height); SVGPrimitiveShape task_border = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(150.00, 98.00).setCornerRadius(2.00).setDraggable(false).setID("task-border").setX(0.00).setY(0.00).setAlpha(1.00).setListening(false).setScale(1.00,1.00).setOffset(0.00,0.00).setStrokeColor("#000000").setStrokeWidth(1.50), true, null); view.addChild(task_border); return view; }
private SVGBasicShapeView businessKnowledgeModelBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_BUSINESSKNOWLEDGEMODEL__4RPW).setDraggable(false).setID("businessKnowledgeModel__4RPw").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeColor("#000000").setStrokeWidth(1.50), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("businessKnowledgeModel", mainShape, width, height); return view; }
private SVGBasicShapeView inputDataBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_INPUTDATA__8B1Z).setDraggable(false).setID("inputData__8B1Z").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeColor("#000000").setStrokeWidth(1.50), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("inputData", mainShape, width, height); return view; }
private SVGBasicShapeView knowledgeSourceBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.MultiPath(VALUE_KNOWLEDGESOURCE__1SSA).setDraggable(false).setID("knowledgeSource__1SSA").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeColor("#000000").setStrokeWidth(1.50), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("knowledgeSource", mainShape, width, height); return view; }
private SVGBasicShapeView rectangleBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(448.00, 448.00).setCornerRadius(15.00).setDraggable(false).setID("rectangle__sJZ2").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillAlpha(0.00).setStrokeColor("#000000").setStrokeWidth(5.00), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("rectangle", mainShape, width, height); return view; }
private SVGBasicShapeView decisionServiceBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(200.00, 200.00).setCornerRadius(40.00).setDraggable(false).setID("decision__cSJx").setX(0.00).setY(0.00).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeColor("#000000").setStrokeWidth(3.00), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("decisionService", mainShape, width, height); return view; }
private SVGBasicShapeView decisionBasicView(final double width, final double height) { SVGPrimitiveShape mainShape = SVGPrimitiveFactory.newSVGPrimitiveShape(new com.ait.lienzo.client.core.shape.Rectangle(100.00, 50.00).setCornerRadius(0.00).setDraggable(false).setID("decision__4TZ4").setX(6.50).setY(6.50).setAlpha(1.00).setListening(true).setScale(1.00,1.00).setOffset(0.00,0.00).setFillColor("#ffffff").setStrokeColor("#000000").setStrokeWidth(1.50), false, null); final SVGBasicShapeViewImpl view = new SVGBasicShapeViewImpl("decision", mainShape, width, height); return view; }