public interface AttachmentEditor extends Serializable
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.
|
String getName()
AttachmentRendererManager
will
be used.String getTitle(I18nManager i18nManager)
com.vaadin.terminal.Resource getImage()
AttachmentEditorComponent getEditor(Attachment attachment, String taskId, String processInstanceId)
attachment
- the attachment to edit. Null if the editor should
create a new attachment when submitted.Copyright © 2016 Alfresco. All rights reserved.