public interface CmsImageManager
Modifier and Type | Method and Description |
---|---|
Binary |
getImageBinary(Node node) |
org.eclipse.swt.graphics.Point |
getImageSize(Node node) |
java.lang.String |
getImageTag(Node node)
The related <img> tag, with src, width and height set.
|
java.lang.StringBuilder |
getImageTagBuilder(Node node,
org.eclipse.swt.graphics.Point size)
The related <img> tag, with url, width and height set.
|
java.lang.String |
getImageUrl(Node node)
Returns the remotely accessible URL of the image (registering it if
needed) @return null if not available
|
org.eclipse.swt.graphics.Image |
getSwtImage(Node node) |
java.lang.Boolean |
load(Node node,
org.eclipse.swt.widgets.Control control,
org.eclipse.swt.graphics.Point size)
Load image in control
|
java.lang.String |
uploadImage(Node parentNode,
java.lang.String fileName,
java.io.InputStream in) |
java.lang.Boolean load(Node node, org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Point size) throws RepositoryException
RepositoryException
org.eclipse.swt.graphics.Point getImageSize(Node node) throws RepositoryException
RepositoryException
java.lang.String getImageTag(Node node) throws RepositoryException
RepositoryException
java.lang.StringBuilder getImageTagBuilder(Node node, org.eclipse.swt.graphics.Point size) throws RepositoryException
RepositoryException
java.lang.String getImageUrl(Node node) throws RepositoryException
RepositoryException
Binary getImageBinary(Node node) throws RepositoryException
RepositoryException
org.eclipse.swt.graphics.Image getSwtImage(Node node) throws RepositoryException
RepositoryException
java.lang.String uploadImage(Node parentNode, java.lang.String fileName, java.io.InputStream in) throws RepositoryException
RepositoryException
Copyright © 2007–2020. All rights reserved.