|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.change_vision.jude.api.inf.model.IDiagram
public IDiagram
Interface for diagrams.
| Field Summary |
|---|
| Fields inherited from class com.change_vision.jude.api.inf.model.INamedElement |
|---|
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY |
| Method Summary | |
|---|---|
abstract String |
exportImage(String outputDir,
String format,
double dpi)
Export diagram images. |
abstract Rectangle2D |
getBoundRect()
Return a rectangle representing the boundary of the diagram. |
abstract IPresentation[] |
getPresentations()
Get presentations on a diagram or cells on a CRUD. |
abstract HashMap |
getProperties()
Get Properties. |
abstract String |
getProperty(String key)
Get Properties. |
abstract String[] |
getText()
Deprecated. Get texts on the diagram. |
abstract void |
setProperties(Map map)
Set Properties. |
abstract void |
setProperty(String key,
String value)
Set Property. |
| Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement |
|---|
getAlias1, getAlias2, getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility |
| Methods inherited from class com.change_vision.jude.api.inf.model.IElement |
|---|
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValues, getTypeModifier, hasStereotype, hasStereotype, isReadOnly, removeStereotype, setTypeModifier |
| Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner |
|---|
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks |
| Method Detail |
|---|
abstract String[] getText()
abstract IPresentation[] getPresentations()
InvalidUsingException - nvalidUsingException occurs.
Keys:
ILLEGAL_USE_ERROR_KEY - if Presentation API is used in astah* community.
Values:
Error messages for exceptions.abstract HashMap getProperties()
abstract String getProperty(String key)
key - Key of Property.
abstract void setProperty(String key,
String value)
key - Key of Property.
value
Value of Property.
InvalidEditingException - InvalidEditingException occurs.
Keys:
ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community.
PARAMETER_ERROR_KEY - if a parameter is not set properly.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
READ_ONLY_KEY - if a read-only element is edited.
Values:
Error messages for exceptions.abstract void setProperties(Map map)
map - Properties.
InvalidEditingException - InvalidEditingException occurs.
Keys:
ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community.
PARAMETER_ERROR_KEY - if a parameter is not set properly.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
READ_ONLY_KEY - if a read-only element is edited.
Values:
Error messages for exceptions.abstract Rectangle2D getBoundRect()
abstract String exportImage(String outputDir,
String format,
double dpi)
outputDir - Output directoryformat - Image format. "png" or "jpg" or "emf"dpi - Resolution of the images. Use 96dpi as default if the value of the scope is invalid.
InvalidUsingException - InvalidUsingException occurs if the image export is failed (e.g. called by non-plugin)
InvalidExportImageException - InvalidExportImageException occurs.getBoundRect()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||