Package lu.kbra.modelizer_next.ui.canvas
Interface ElementEditor
- All Superinterfaces:
DiagramCanvasExt
- All Known Implementing Classes:
DiagramCanvas
Contains edit dialogs and update helpers for canvas elements.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidbindCommentToTarget(String commentId, SelectedElement target) Binds the comment to target.default voidOpens or applies editing for the class.default voideditComment(String commentId) Opens or applies editing for the comment.default voidOpens or applies editing for the field.default voidOpens or applies editing for the link.Methods inherited from interface lu.kbra.modelizer_next.ui.canvas.DiagramCanvasExt
getCanvas, getDocument, getFrame, getPanelType
-
Method Details
-
bindCommentToTarget
Binds the comment to target.- Parameters:
commentId- id of the comment to look up or modifytarget- target value used by the operation
-
editClass
Opens or applies editing for the class.- Parameters:
classId- id of the class to look up or modify
-
editComment
Opens or applies editing for the comment.- Parameters:
commentId- id of the comment to look up or modify
-
editField
Opens or applies editing for the field.- Parameters:
classId- id of the class to look up or modifyfieldId- id of the field to look up or modify
-
editLink
Opens or applies editing for the link.- Parameters:
linkId- id of the link to look up or modify
-