Uses of Class
lu.kbra.modelizer_next.document.ModelDocument
Packages that use ModelDocument
Package
Description
Shared configuration, application constants, platform helpers, and small utility types used by
the application and bootstrap modules.
Undo and redo support based on complete document snapshots.
JSON serialization, deserialization, and import support for modern Modelizer documents and
legacy/online formats.
Canvas behavior split into small mixin-style interfaces.
Swing dialogs used to edit classes, fields, links, comments, style palettes, names, and export
settings.
Main window, menus, toolbar, document session handling, and frame-level controllers.
-
Uses of ModelDocument in lu.kbra.modelizer_next.common
Methods in lu.kbra.modelizer_next.common that return ModelDocumentModifier and TypeMethodDescriptionstatic ModelDocumentSampleDocumentFactory.create()Creates a new default instance for this factory. -
Uses of ModelDocument in lu.kbra.modelizer_next.history
Methods in lu.kbra.modelizer_next.history with parameters of type ModelDocumentModifier and TypeMethodDescriptionstatic DocumentSnapshotDocumentSnapshot.from(ModelDocument document) Creates a value from the supplied input.voidUndoRedoManager.recordState(ModelDocument document) Records the state in history.booleanUndoRedoManager.redo(ModelDocument document) Restores the next snapshot in the redo history.voidUndoRedoManager.reset(ModelDocument document) Clears the current state and starts a new history baseline.voidDocumentSnapshot.restoreInto(ModelDocument target) Restores the into.booleanDocumentSnapshot.sameDocumentState(ModelDocument document) Checks whether the document state is the same.booleanUndoRedoManager.undo(ModelDocument document) Restores the previous snapshot in the undo history. -
Uses of ModelDocument in lu.kbra.modelizer_next.json
Methods in lu.kbra.modelizer_next.json that return ModelDocumentModifier and TypeMethodDescriptionstatic ModelDocumentLegacyModelizerImporter.importFile(File file) Imports the file.static ModelDocumentModernModelizerImporter.importFile(File file) Imports the file.static ModelDocumentOnlineModelizerImporter.importFile(File file) Imports the file.static ModelDocumentModernModelizerImporter.importString(String file) Imports the string. -
Uses of ModelDocument in lu.kbra.modelizer_next.ui.canvas
Methods in lu.kbra.modelizer_next.ui.canvas that return ModelDocumentModifier and TypeMethodDescriptiondefault ModelDocumentDiagramCanvasExt.getDocument()Returns the document on the active canvas.Constructors in lu.kbra.modelizer_next.ui.canvas with parameters of type ModelDocumentModifierConstructorDescriptionDiagramCanvas(MainFrame mainFrame, ModelDocument modelDocument, PanelType panelType, DocumentChangeListener documentEventListener) Creates a diagram canvas instance. -
Uses of ModelDocument in lu.kbra.modelizer_next.ui.dialogs
Methods in lu.kbra.modelizer_next.ui.dialogs with parameters of type ModelDocumentModifier and TypeMethodDescriptionstatic CommentEditorDialog.ResultCommentEditorDialog.showDialog(Component parent, ModelDocument document, CommentModel initialComment, PanelType panelType) Shows the dialog.static LinkEditorDialog.ResultLinkEditorDialog.showDialog(Component parent, ModelDocument document, LinkModel linkModel, PanelType panelType) Shows the dialog. -
Uses of ModelDocument in lu.kbra.modelizer_next.ui.frame
Methods in lu.kbra.modelizer_next.ui.frame that return ModelDocumentModifier and TypeMethodDescriptionDocumentSession.getDocument()Returns the document.MainFrame.getDocument()MainFrameDocumentController.getDocument()Returns the document.Methods in lu.kbra.modelizer_next.ui.frame with parameters of type ModelDocumentModifier and TypeMethodDescriptionstatic booleanDocumentSessionLoader.confirmModernDocumentVersion(Component parent, ModelDocument loadedDocument) Confirms whether the document should be loaded even if it has been written in a newer version of the software.static booleanDocumentSessionLoader.confirmModernDocumentVersion(ModelDocument loadedDocument, DocumentLoadHandler handler) Confirms whether the document should be loaded even if it has been written in a newer version of the software, using the givenDocumentLoadHandler.static booleanMainFrame.confirmModernDocumentVersion(Component parent, ModelDocument loadedDocument) Confirms whether the modern document version should continue.static booleanMainFrame.confirmModernDocumentVersion(ModelDocument loadedDocument, DocumentLoadHandler handler) Confirms whether the modern document version should continue.Constructors in lu.kbra.modelizer_next.ui.frame with parameters of type ModelDocumentModifierConstructorDescriptionDocumentSession(ModelDocument document) Creates a document session instance.DocumentSession(ModelDocument document, File currentFile) Creates a document session instance.MainFrame(ModelDocument document)