Inheritance diagram for com.arcle.rmt.superwaba.vc.DocumentWindowController:
Public Member Functions | |
DocumentWindowController (Document doc) | |
void | viewInitialized (View v) |
Called by the view showing that it has been initialized. | |
void | cmdCloseWindow () |
Handles the "Close" command. | |
void | cmdDeleteDocument () |
Handles the "Delete" command. | |
Document | getDocument () |
Returns the currently edited document. | |
Protected Member Functions | |
MessageBox | createDeleteMessageBox () |
Factory method to create Message Box for delete document operation. | |
Private Attributes | |
Document | _document = null |
The document being edited. |
Definition at line 84 of file DocumentWindowController.java.
|
Definition at line 86 of file DocumentWindowController.java. References com.arcle.rmt.superwaba.vc.DocumentWindowController._document. |
|
Handles the "Close" command.
Definition at line 107 of file DocumentWindowController.java. References com.arcle.rmt.superwaba.vc.ControllerBase.getView(). Referenced by com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.onEvent(). |
|
Handles the "Delete" command. Closes the document window and deletes the associated document.. Definition at line 117 of file DocumentWindowController.java. References com.arcle.rmt.superwaba.vc.DocumentWindowController.createDeleteMessageBox(), com.arcle.rmt.superwaba.vc.DocumentWindowController.getDocument(), com.arcle.rmt.superwaba.vc.ControllerBase.getView(), and com.arcle.rmt.superwaba.model.Document.setDeleted(). Referenced by com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.onEvent(). |
|
Factory method to create Message Box for delete document operation.
Definition at line 133 of file DocumentWindowController.java. Referenced by com.arcle.rmt.superwaba.vc.DocumentWindowController.cmdDeleteDocument(). |
|
Returns the currently edited document.
Definition at line 152 of file DocumentWindowController.java. References com.arcle.rmt.superwaba.vc.DocumentWindowController._document. Referenced by com.arcle.rmt.superwaba.vc.DocumentWindowController.cmdDeleteDocument(), and com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.getDocument(). |
|
Called by the view showing that it has been initialized.
Reimplemented from com.arcle.rmt.superwaba.vc.ControllerBase. Definition at line 94 of file DocumentWindowController.java. Referenced by com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.initCompleted(). |
|
The document being edited.
Definition at line 163 of file DocumentWindowController.java. Referenced by com.arcle.rmt.superwaba.vc.DocumentWindowController.DocumentWindowController(), and com.arcle.rmt.superwaba.vc.DocumentWindowController.getDocument(). |