Vector startPosition, Color color) {
super(editor);
this.modus = modus;
this.position = startPosition;
this.color = color;
this.dialogPart = new DialogPart(new InterfaceVectorTextfield(), name);
this.dialogPart.part.addContentListener(this);
this.createShape();
}