public class FileAttachmentEditor extends Object implements AttachmentEditor
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_ATTACHMENT_TYPE |
| Constructor and Description |
|---|
FileAttachmentEditor() |
| Modifier and Type | Method and Description |
|---|---|
AttachmentEditorComponent |
getEditor(Attachment attachment,
String taskId,
String processInstanceId)
Get the component to display to edit the given attachment.
|
com.vaadin.terminal.Resource |
getImage()
Get the image to display in the list of possible editors.
|
String |
getName()
Get the name of this editor.
|
String |
getTitle(I18nManager i18nManager)
Gets the human-readable name for the type of related content
this class is capable of rendering.
|
public static final String FILE_ATTACHMENT_TYPE
public String getName()
AttachmentEditorAttachmentRendererManager will
be used.getName in interface AttachmentEditorpublic String getTitle(I18nManager i18nManager)
AttachmentEditorgetTitle in interface AttachmentEditorpublic com.vaadin.terminal.Resource getImage()
AttachmentEditorgetImage in interface AttachmentEditorpublic AttachmentEditorComponent getEditor(Attachment attachment, String taskId, String processInstanceId)
AttachmentEditorgetEditor in interface AttachmentEditorattachment - the attachment to edit. Null if the editor should
create a new attachment when submitted.Copyright © 2016 Alfresco. All rights reserved.