public class ImageDocumentEditor extends java.lang.Object implements DocumentEditor
Constructor and Description |
---|
ImageDocumentEditor() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(FileDocument doc,
Member mbr)
Returns true if the editor accepts the member to edit the document.
|
java.lang.String |
getButtonLabel(java.lang.String lang,
FileDocument doc,
Member mbr)
Return the localized label used for the button (if only this editor is available).
|
java.lang.String |
getIcon(FileDocument doc,
Member mbr)
Returns the icon of the editor.
|
java.lang.String |
getName(java.lang.String lang)
Returns the localized name of the editor.
|
java.lang.String |
getUrl(FileDocument doc,
Member mbr,
java.lang.String baseUrl)
Returns the URL to edit the document.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLinkAttributes, getLinkCss, getMenuLabel
public boolean accept(FileDocument doc, Member mbr)
DocumentEditor
accept
in interface DocumentEditor
doc
- the documentmbr
- the memberpublic java.lang.String getUrl(FileDocument doc, Member mbr, java.lang.String baseUrl)
DocumentEditor
getUrl
in interface DocumentEditor
doc
- the documentmbr
- the memberbaseUrl
- the base URL of the sitepublic java.lang.String getName(java.lang.String lang)
DocumentEditor
getName
in interface DocumentEditor
lang
- the languagepublic java.lang.String getIcon(FileDocument doc, Member mbr)
DocumentEditor
getIcon
in interface DocumentEditor
doc
- the documentmbr
- the documentpublic java.lang.String getButtonLabel(java.lang.String lang, FileDocument doc, Member mbr)
DocumentEditor
getButtonLabel
in interface DocumentEditor
lang
- the languagedoc
- the documentmbr
- the documentCopyright © 2001-2019 Jalios SA. All Rights Reserved.