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