Package lu.kbra.modelizer_next.ui.canvas
Interface ElementDeleter
- All Superinterfaces:
DiagramCanvasExt
- All Known Implementing Classes:
DiagramCanvas
Contains deletion actions for the current canvas selection.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddeleteClass(String classId) Deletes the class.default voiddeleteComment(String commentId) Deletes the comment.default voiddeleteField(String classId, String fieldId) Deletes the field.default voiddeleteLink(String linkId) Deletes the link.Methods inherited from interface lu.kbra.modelizer_next.ui.canvas.DiagramCanvasExt
getCanvas, getDocument, getFrame, getPanelType
-
Method Details
-
deleteClass
Deletes the class.- Parameters:
classId- id of the class to look up or modify
-
deleteComment
Deletes the comment.- Parameters:
commentId- id of the comment to look up or modify
-
deleteField
Deletes the field.- Parameters:
classId- id of the class to look up or modifyfieldId- id of the field to look up or modify
-
deleteLink
Deletes the link.- Parameters:
linkId- id of the link to look up or modify
-