@UiController(value="imap_Message.edit") @UiDescriptor(value="imap-message-edit.xml") public class ImapMessageEdit extends io.jmix.ui.screen.StandardEditor<ImapMessage>
Modifier and Type | Class and Description |
---|---|
protected class |
ImapMessageEdit.InitAttachmentTask |
protected class |
ImapMessageEdit.InitBodyTask |
io.jmix.ui.screen.StandardEditor.AfterCommitChangesEvent, io.jmix.ui.screen.StandardEditor.BeforeCommitChangesEvent, io.jmix.ui.screen.StandardEditor.InitEntityEvent<E>, io.jmix.ui.screen.StandardEditor.ValidationEvent
io.jmix.ui.screen.Screen.AfterCloseEvent, io.jmix.ui.screen.Screen.AfterDetachEvent, io.jmix.ui.screen.Screen.AfterInitEvent, io.jmix.ui.screen.Screen.AfterShowEvent, io.jmix.ui.screen.Screen.BeforeCloseEvent, io.jmix.ui.screen.Screen.BeforeShowEvent, io.jmix.ui.screen.Screen.InitEvent
Modifier and Type | Field and Description |
---|---|
protected io.jmix.ui.component.Table<ImapMessageAttachment> |
attachmentsTable |
protected io.jmix.ui.executor.BackgroundWorker |
backgroundWorker |
protected io.jmix.ui.component.Label |
bodyContent |
protected io.jmix.ui.component.BrowserFrame |
bodyContentHtml |
protected io.jmix.ui.component.ScrollBoxLayout |
bodyContentScroll |
protected io.jmix.core.CoreProperties |
coreProperties |
protected io.jmix.ui.component.Button |
downloadBtn |
protected io.jmix.ui.download.Downloader |
downloader |
protected ImapAttachments |
imapAttachments |
protected io.jmix.ui.model.CollectionContainer<ImapMessageAttachment> |
imapDemoAttachmentsDc |
protected io.jmix.ui.model.DataLoader |
imapDemoAttachmentsLoader |
protected ImapManager |
imapManager |
protected io.jmix.ui.model.InstanceContainer<ImapMessageDto> |
imapMessageDtoDc |
protected io.jmix.ui.component.ProgressBar |
progressBar |
protected io.jmix.ui.UiProperties |
uiProperties |
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Constructor and Description |
---|
ImapMessageEdit() |
Modifier and Type | Method and Description |
---|---|
void |
downloadAttachment(io.jmix.ui.action.Action.ActionPerformedEvent event) |
protected void |
hideProgressBar(java.util.concurrent.atomic.AtomicInteger loadProgress) |
protected void |
initAttachments(ImapMessage msg,
java.util.concurrent.atomic.AtomicInteger loadProgress) |
protected void |
initBody(ImapMessage msg,
java.util.concurrent.atomic.AtomicInteger loadProgress) |
protected void |
selectedTabChanged(io.jmix.ui.component.TabSheet.SelectedTabChangeEvent event) |
void |
setEntityToEdit(ImapMessage item) |
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
@Autowired protected ImapManager imapManager
@Autowired protected ImapAttachments imapAttachments
@Autowired protected io.jmix.ui.component.Table<ImapMessageAttachment> attachmentsTable
@Autowired protected io.jmix.ui.model.CollectionContainer<ImapMessageAttachment> imapDemoAttachmentsDc
@Autowired protected io.jmix.ui.model.InstanceContainer<ImapMessageDto> imapMessageDtoDc
@Autowired protected io.jmix.ui.component.Label bodyContent
@Autowired protected io.jmix.ui.component.ScrollBoxLayout bodyContentScroll
@Autowired protected io.jmix.ui.component.BrowserFrame bodyContentHtml
@Autowired protected io.jmix.ui.component.ProgressBar progressBar
@Autowired protected io.jmix.ui.component.Button downloadBtn
@Autowired protected io.jmix.ui.executor.BackgroundWorker backgroundWorker
@Autowired protected io.jmix.ui.download.Downloader downloader
@Autowired protected io.jmix.ui.model.DataLoader imapDemoAttachmentsLoader
@Autowired protected io.jmix.ui.UiProperties uiProperties
@Autowired protected io.jmix.core.CoreProperties coreProperties
public void setEntityToEdit(ImapMessage item)
setEntityToEdit
in interface io.jmix.ui.screen.EditorScreen<ImapMessage>
setEntityToEdit
in class io.jmix.ui.screen.StandardEditor<ImapMessage>
@Subscribe(value="tabSheet") protected void selectedTabChanged(io.jmix.ui.component.TabSheet.SelectedTabChangeEvent event)
@Subscribe(value="attachmentsTable.download") public void downloadAttachment(io.jmix.ui.action.Action.ActionPerformedEvent event)
protected void initBody(ImapMessage msg, java.util.concurrent.atomic.AtomicInteger loadProgress)
protected void initAttachments(ImapMessage msg, java.util.concurrent.atomic.AtomicInteger loadProgress)
protected void hideProgressBar(java.util.concurrent.atomic.AtomicInteger loadProgress)