Package lu.kbra.modelizer_next.ui.canvas
Class CopyPasteSpecialElementVisitor
java.lang.Object
lu.kbra.modelizer_next.ui.canvas.CopyPasteSpecialElementVisitor
- All Implemented Interfaces:
ElementVisitor
Visitor used by the copy/cut/paste-special popup.
-
Constructor Summary
ConstructorsConstructorDescriptionCopyPasteSpecialElementVisitor(CopyPasteSpecialData data, StylePalette defaultPalette) -
Method Summary
Modifier and TypeMethodDescriptionvisitClipboardSnapshot(ClipboardSnapshot snapshot) Visits the whole snapshot before the per-element hooks run.visitCopiedLink(CopiedLink copiedLink) visitPastedClass(ClassModel classModel) visitPastedComment(CommentModel commentModel) visitPastedField(FieldModel fieldModel) visitPastedLink(LinkModel linkModel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface lu.kbra.modelizer_next.ui.canvas.ElementVisitor
visitCopiedClass, visitCopiedComment, visitCopiedField
-
Constructor Details
-
CopyPasteSpecialElementVisitor
-
-
Method Details
-
visitClipboardSnapshot
Description copied from interface:ElementVisitorVisits the whole snapshot before the per-element hooks run.- Specified by:
visitClipboardSnapshotin interfaceElementVisitor- Parameters:
snapshot- copied snapshot value- Returns:
- snapshot to continue with
-
visitCopiedLink
- Specified by:
visitCopiedLinkin interfaceElementVisitor
-
visitPastedClass
- Specified by:
visitPastedClassin interfaceElementVisitor
-
visitPastedField
- Specified by:
visitPastedFieldin interfaceElementVisitor
-
visitPastedComment
- Specified by:
visitPastedCommentin interfaceElementVisitor
-
visitPastedLink
- Specified by:
visitPastedLinkin interfaceElementVisitor
-