public interface IDiagramUIModel
Modifier and Type | Field and Description |
---|---|
static java.awt.Dimension |
MAX_PREVIEW_IMAGE_SIZE |
static double |
MAX_ZOOM |
static int |
PAINT_CONNECTOR_THROUGH_LABEL_FOLLOW_DIAGRAM |
static int |
PAINT_CONNECTOR_THROUGH_LABEL_NO |
static int |
PAINT_CONNECTOR_THROUGH_LABEL_YES |
static java.lang.String |
PROPERTY_ALIGN_TO_GRID |
static java.lang.String |
PROPERTY_ALIGNTOGRID |
static java.lang.String |
PROPERTY_ALWAYS_SHOW_REFERENCE_AND_SUBDIAGRAM_RESOURCE |
static java.lang.String |
PROPERTY_AUTO_FIT_SHAPES_SIZE |
static java.lang.String |
PROPERTY_CONNECTION_POINT_STYLE |
static java.lang.String |
PROPERTY_CONNECTOR_LABEL_ORIENTATION |
static java.lang.String |
PROPERTY_CONNECTOR_LINE_JUMPS |
static java.lang.String |
PROPERTY_CONNECTOR_LINE_JUMPS_SIZE |
static java.lang.String |
PROPERTY_CONNECTOR_STYLE |
static java.lang.String |
PROPERTY_CREATION_TIME |
static java.lang.String |
PROPERTY_DIAGRAM_BACKGROUND |
static java.lang.String |
PROPERTY_DIAGRAM_PREVIEW_DATA |
static java.lang.String |
PROPERTY_DIAGRAMBACKGROUND |
static java.lang.String |
PROPERTY_DOCUMENTATION |
static java.lang.String |
PROPERTY_EDITABLE |
static java.lang.String |
PROPERTY_FOLLOW_DIAGRAM_PARENT_ELEMENT |
static java.lang.String |
PROPERTY_GLOBAL_PALETTE_OPTION |
static java.lang.String |
PROPERTY_GRID_COLOR |
static java.lang.String |
PROPERTY_GRID_HEIGHT |
static java.lang.String |
PROPERTY_GRID_VISIBLE |
static java.lang.String |
PROPERTY_GRID_WIDTH |
static java.lang.String |
PROPERTY_GRIDCOLOR |
static java.lang.String |
PROPERTY_GRIDHEIGHT |
static java.lang.String |
PROPERTY_GRIDVISIBLE |
static java.lang.String |
PROPERTY_GRIDWIDTH |
static java.lang.String |
PROPERTY_HEIGHT |
static java.lang.String |
PROPERTY_HIDDEN_DIAGRAM_ELEMENT_IDS |
static java.lang.String |
PROPERTY_HIDE_EMPTY_TAGGED_VALUES |
static java.lang.String |
PROPERTY_HTML_DOCUMENTATION |
static java.lang.String |
PROPERTY_ID |
static java.lang.String |
PROPERTY_INITIALIZE_DIAGRAM_FOR_CREATE |
static java.lang.String |
PROPERTY_LAST_MODIFIED |
static java.lang.String |
PROPERTY_LAST_VIEW_X |
static java.lang.String |
PROPERTY_LAST_VIEW_Y |
static java.lang.String |
PROPERTY_LOCKED |
static java.lang.String |
PROPERTY_MAXIMIZED |
static java.lang.String |
PROPERTY_MODEL_ELEMENT_NAME_ALIGNMENT |
static java.lang.String |
PROPERTY_NAME |
static java.lang.String |
PROPERTY_NICK_DOCUMENTATION |
static java.lang.String |
PROPERTY_NICK_HTML_DOCUMENTATION |
static java.lang.String |
PROPERTY_NICKNAME |
static java.lang.String |
PROPERTY_OPENED |
static java.lang.String |
PROPERTY_PAINT_CONNECTOR_THROUGH_LABEL |
static java.lang.String |
PROPERTY_PARENT_MODEL |
static java.lang.String |
PROPERTY_PM_AUTHOR |
static java.lang.String |
PROPERTY_PM_CREATE_DATE_TIME |
static java.lang.String |
PROPERTY_PM_DIFFICULTY |
static java.lang.String |
PROPERTY_PM_DIFFICULTY_ID
Deprecated.
|
static java.lang.String |
PROPERTY_PM_DISCIPLINE |
static java.lang.String |
PROPERTY_PM_DISCIPLINE_ID
Deprecated.
|
static java.lang.String |
PROPERTY_PM_ITERATION |
static java.lang.String |
PROPERTY_PM_ITERATION_ID
Deprecated.
|
static java.lang.String |
PROPERTY_PM_LAST_MODIFIED |
static java.lang.String |
PROPERTY_PM_PHASE |
static java.lang.String |
PROPERTY_PM_PHASE_ID
Deprecated.
|
static java.lang.String |
PROPERTY_PM_PRIORITY |
static java.lang.String |
PROPERTY_PM_PRIORITY_ID
Deprecated.
|
static java.lang.String |
PROPERTY_PM_STATUS |
static java.lang.String |
PROPERTY_PM_STATUS_ID
Deprecated.
|
static java.lang.String |
PROPERTY_PM_VERSION |
static java.lang.String |
PROPERTY_PM_VERSION_ID
Deprecated.
|
static java.lang.String |
PROPERTY_QP_SCALE_X |
static java.lang.String |
PROPERTY_QP_SCALE_Y |
static java.lang.String |
PROPERTY_QP_TRANSLATE_X |
static java.lang.String |
PROPERTY_QP_TRANSLATE_Y |
static java.lang.String |
PROPERTY_QUALITY_SCORE |
static java.lang.String |
PROPERTY_REFERENCE_CONTAINER_ID |
static java.lang.String |
PROPERTY_REQUEST_LAYOUT_TYPE |
static java.lang.String |
PROPERTY_REQUEST_VALIDATE_SNAP_TO_GRID |
static java.lang.String |
PROPERTY_SHOW_ACTIVITY_STATE_NODE_CAPTION |
static java.lang.String |
PROPERTY_SHOW_ALLOCATED_FROM |
static java.lang.String |
PROPERTY_SHOW_ALLOCATED_TO |
static java.lang.String |
PROPERTY_SHOW_CONNECTOR_NAME |
static java.lang.String |
PROPERTY_SHOW_CONSTRAINTS |
static java.lang.String |
PROPERTY_SHOW_PACKAGE_NAME_STYLE |
static java.lang.String |
PROPERTY_SHOW_STEREOTYPES |
static java.lang.String |
PROPERTY_SHOW_TAGGED_VALUES |
static java.lang.String |
PROPERTY_TRANSIT_FROM |
static java.lang.String |
PROPERTY_TRANSIT_TO |
static java.lang.String |
PROPERTY_TYPE |
static java.lang.String |
PROPERTY_WIDTH |
static java.lang.String |
PROPERTY_X |
static java.lang.String |
PROPERTY_Y |
static java.lang.String |
PROPERTY_ZOOM_RATIO |
static java.lang.String |
PROPERTY_ZOOMRATIO
Deprecated.
|
static int |
SHOW_CONNECTOR_NAME_FOLLOW_DIAGRAM |
static int |
SHOW_CONNECTOR_NAME_NO |
static int |
SHOW_CONNECTOR_NAME_YES |
static int |
SHOW_PACKAGE_NAME_STYLE_FOLLOW_DIAGRAM |
static int |
SPECIAL_ZOOM_FIT_PAGE |
static int |
SPECIAL_ZOOM_FIT_PAGE_HEIGHT |
static int |
SPECIAL_ZOOM_FIT_PAGE_WIDTH |
static int |
WITHIN_PACKAGE_BODY |
static int |
WITHIN_PACKAGE_TAB |
Modifier and Type | Method and Description |
---|---|
boolean |
addDiagramElement(IDiagramElement diagramElement) |
void |
addDiagramListener(IDiagramListener listener)
Add listener on IDiagramUIModel.
|
void |
addReference(IReference reference) |
void |
closeDiagram() |
int |
commentCount() |
java.util.Iterator |
commentIterator() |
IDiagramUIModelComment |
createComment() |
IDiagramElement |
createDiagramElement(java.lang.String shapeType) |
IDiagramElement |
createDiagramElement(java.lang.String shapeType,
boolean addToDiagram) |
IDiagramLayer |
createDiagramLayer(java.lang.String aLayerName) |
void |
delete() |
int |
diagramElementCount() |
java.util.Iterator |
diagramElementIterator() |
void |
fireModuleAddedDiagramElement(IDiagramElement diagramElement) |
IDiagramLayer |
getActiveDiagramLayer() |
java.lang.String[] |
getAllowShapeTypes() |
IDiagramUIModelComment |
getCommentAt(int index) |
int |
getConnectionPointStyle() |
int |
getConnectorLabelOrientation() |
int |
getConnectorLineJumps() |
int |
getConnectorLineJumpsSize() |
int |
getConnectorStyle() |
long |
getCreationTime() |
java.lang.String[] |
getCustomizedSortDiagramElementIds() |
IDiagramLayer |
getDefaultDiagramLayer() |
java.awt.Color |
getDiagramBackground() |
int |
getDiagramEditorHeight()
if isOpened(), get Height by this function
|
int |
getDiagramEditorWidth()
if isOpened(), get Width by this function
|
IDiagramElement |
getDiagramElementAt(int index) |
IDiagramElement |
getDiagramElementById(java.lang.String id) |
IDiagramLayer[] |
getDiagramLayers() |
IDiagramListener[] |
getDiagramListeners()
Listeners of IDiagramUIModel.
|
IDiagramProperty |
getDiagramPropertyByName(java.lang.String name) |
java.lang.String |
getDocumentation() |
java.lang.String |
getDocumentationWithReferenceModels() |
java.awt.Color |
getGridColor() |
int |
getGridHeight() |
int |
getGridWidth() |
int |
getHeight() |
java.lang.String |
getHtmlDocumentation() |
java.lang.String |
getHtmlDocumentationWithReferenceModels() |
java.lang.String |
getId() |
long |
getLastCommitted()
Date of last commit.
|
java.lang.String |
getLastCommittedUser()
User Email of last commit.
|
java.lang.String |
getLastCommittedUserName()
User Name of last commit.
|
long |
getLastModified() |
java.lang.String |
getLogicalViewType() |
int |
getModelElementNameAlignment() |
java.lang.String |
getName() |
java.lang.String |
getNickDocumentation() |
java.lang.String |
getNickDocumentationWithReferenceModels() |
java.lang.String |
getNickHtmlDocumentation() |
java.lang.String |
getNickHtmlDocumentationWithReferenceModels() |
java.lang.String |
getNickname()
Retrieve the nickname of this
IDiagramUIModel for current nickname of project. |
int |
getPaintConnectorThroughLabel() |
IModelElement |
getParentModel() |
java.lang.String |
getPmAuthor() |
java.lang.String |
getPmCreateDateTime() |
IPMDifficulty |
getPmDifficulty() |
IPMDiscipline |
getPmDiscipline() |
IPMIteration |
getPmIteration() |
java.lang.String |
getPmLastModified() |
IPMPhase |
getPmPhase() |
IPMPriority |
getPmPriority() |
IPMStatus |
getPmStatus() |
IPMVersion |
getPmVersion() |
IProject |
getProject() |
int |
getQualityScore() |
IReference |
getReferenceByIndex(int index) |
IDiagramElement[] |
getSelectedDiagramElement() |
IDiagramElement[] |
getSelectedDiagramElement(java.lang.String shapeType) |
int |
getShowActivityStateNodeCaption() |
int |
getShowConnectorName() |
int |
getShowPackageNameStyle() |
java.lang.String |
getType() |
java.lang.String |
getUserID() |
IViewpoint |
getViewpoint() |
int |
getWidth() |
int |
getX() |
int |
getY() |
double |
getZoomRatio() |
IShapeGroup |
group(IShapeGroupable[] aGroupables) |
int |
groupButtonInfoCount() |
int |
indexOfComment(IDiagramUIModelComment comment) |
int |
indexOfDiagramElement(IDiagramElement diagramElement) |
boolean |
isAlignToGrid() |
boolean |
isAllowLayout() |
boolean |
isAllowShapeType(java.lang.String shapeType) |
boolean |
isAlwaysShowReferenceAndSubdiagramResource() |
boolean |
isAutoFitShapesSize() |
boolean |
isDiagramElementEmpty() |
boolean |
isEditable() |
boolean |
isFollowDiagramParentElement() |
boolean |
isGlobalPaletteOption() |
boolean |
isGridVisible() |
boolean |
isGroupButtonInfoEmpty() |
boolean |
isInitializeDiagramForCreate() |
boolean |
isLoading()
Determines whether the Diagram is loading from project
|
boolean |
isMaximized() |
boolean |
isOpened() |
boolean |
isRequestValidateSnapToGrid() |
boolean |
isShowConstraints() |
boolean |
isShowStereotypes() |
boolean |
isShowTaggedValues() |
boolean |
isSubDiagram() |
boolean |
isSupportedInProductEdition() |
void |
layoutDiagramElement(IDiagramElement[] elements) |
void |
modified() |
void |
realCloseDiagram() |
int |
referenceCount() |
java.util.Iterator |
referenceIterator()
Returns an iterator over the model elements
IReference . |
void |
removeComment(IDiagramUIModelComment comment) |
void |
removeDiagramElement(IDiagramElement diagramElement)
Deprecated.
|
void |
removeDiagramElementAt(int index)
Deprecated.
|
void |
removeDiagramLayer(IDiagramLayer aLayer) |
void |
removeDiagramListener(IDiagramListener listener)
Remove listener from IDiagramUIModel
|
void |
removeGroupButtonInfoAt(int index) |
void |
removeReference(IReference reference) |
void |
removeReferenceByIndex(int index) |
void |
setActiveDiagramLayer(IDiagramLayer aLayer) |
void |
setAlignToGrid(boolean alignToGrid) |
void |
setAlwaysShowReferenceAndSubdiagramResource(boolean alwaysShowReferenceAndSubdiagramResource) |
void |
setAutoFitShapesSize(boolean autoFitShapesSize) |
void |
setBounds(int x,
int y,
int w,
int h) |
void |
setConnectionPointStyle(int connectionPointStyle) |
void |
setConnectorLabelOrientation(int connectorLabelOrientation) |
void |
setConnectorLineJumps(int connectorLineJumps) |
void |
setConnectorLineJumpsSize(int connectorLineJumpsSize) |
void |
setConnectorStyle(int connectorStyle) |
void |
setCreationTime(long creationTime)
Deprecated.
Date time of Creation/LastModified is non-editable
|
void |
setDiagramBackground(java.awt.Color diagramBackground) |
void |
setDocumentation(java.lang.String documentation) |
void |
setEditable(boolean editable) |
void |
setFireModified(boolean fire) |
void |
setFollowDiagramParentElement(boolean followDiagramParentElement) |
void |
setGlobalPaletteOption(boolean globalPaletteOption) |
void |
setGridColor(java.awt.Color gridColor) |
void |
setGridHeight(int gridHeight) |
void |
setGridVisible(boolean gridVisible) |
void |
setGridWidth(int gridWidth) |
void |
setHtmlDocumentation(java.lang.String htmlDocumentation) |
void |
setInitializeDiagramForCreate(boolean initializeDiagramForCreate) |
void |
setLastModified(long lastModified)
Deprecated.
Date time of Creation/LastModified is non-editable
|
void |
setMaximized(boolean maximized) |
void |
setModelElementNameAlignment(int modelElementNameAlignment) |
void |
setModelPropertyAsBoolean(java.lang.String name,
boolean value) |
void |
setModelPropertyAsColor(java.lang.String name,
java.awt.Color value) |
void |
setModelPropertyAsDouble(java.lang.String name,
double value) |
void |
setModelPropertyAsInt(java.lang.String name,
int value) |
void |
setModelPropertyAsString(java.lang.String name,
java.lang.String value) |
void |
setName(java.lang.String name) |
void |
setNickDocumentation(java.lang.String documentation) |
void |
setNickHtmlDocumentation(java.lang.String htmlDocumentation) |
void |
setNickname(java.lang.String aName)
Set the nickname of this
IDiagramUIModel for current nickname of project. |
void |
setPaintConnectorThroughLabel(int paintConnectorThroughLabel) |
void |
setPmAuthor(java.lang.String pmAuthor) |
void |
setPmCreateDateTime(java.lang.String pmCreateDateTime) |
void |
setPmDifficulty(IPMDifficulty pmDifficulty) |
void |
setPmDiscipline(IPMDiscipline pmDiscipline) |
void |
setPmIteration(IPMIteration pmIteration) |
void |
setPmLastModified(java.lang.String pmLastModified) |
void |
setPmPhase(IPMPhase pmPhase) |
void |
setPmPriority(IPMPriority pmPriority) |
void |
setPmStatus(IPMStatus pmStatus) |
void |
setPmVersion(IPMVersion pmVersion) |
void |
setQualityScore(int aQualityScore) |
void |
setRequestValidateSnapToGrid(boolean requestValidateSnapToGrid) |
void |
setShowActivityStateNodeCaption(int showActivityStateNodeCaption) |
void |
setShowConnectorName(int showConnectorName) |
void |
setShowConstraints(boolean showConstraints) |
void |
setShowPackageNameStyle(int showPackageNameStyle) |
void |
setShowStereotypes(boolean showStereotypes) |
void |
setShowTaggedValues(boolean showTaggedValues) |
void |
setSpecialZoom(int specialZoom) |
void |
setUserID(java.lang.String userID) |
void |
setZoomRatio(double zoomRatio) |
IDiagramUIModelComment[] |
toCommentArray() |
IComment[] |
toCommentModelElementArray()
Deprecated.
|
IConnectorUIModel[] |
toConnectorUIModelArray() |
IDiagramElement[] |
toDiagramElementArray() |
IDiagramElement[] |
toDiagramElementArray(java.lang.String shapeType) |
IDiagramProperty[] |
toDiagramPropertyArray() |
java.lang.String |
toPropertiesString() |
IReference[] |
toReferenceArray() |
IShapeUIModel[] |
toShapeUIModelArray() |
static final java.awt.Dimension MAX_PREVIEW_IMAGE_SIZE
static final double MAX_ZOOM
static final java.lang.String PROPERTY_OPENED
static final java.lang.String PROPERTY_ZOOMRATIO
static final java.lang.String PROPERTY_REFERENCE_CONTAINER_ID
@Deprecated static final java.lang.String PROPERTY_PM_STATUS_ID
@Deprecated static final java.lang.String PROPERTY_PM_DIFFICULTY_ID
@Deprecated static final java.lang.String PROPERTY_PM_PRIORITY_ID
@Deprecated static final java.lang.String PROPERTY_PM_VERSION_ID
@Deprecated static final java.lang.String PROPERTY_PM_ITERATION_ID
@Deprecated static final java.lang.String PROPERTY_PM_PHASE_ID
@Deprecated static final java.lang.String PROPERTY_PM_DISCIPLINE_ID
static final java.lang.String PROPERTY_PM_STATUS
static final java.lang.String PROPERTY_PM_DIFFICULTY
static final java.lang.String PROPERTY_PM_PRIORITY
static final java.lang.String PROPERTY_PM_VERSION
static final java.lang.String PROPERTY_PM_ITERATION
static final java.lang.String PROPERTY_PM_PHASE
static final java.lang.String PROPERTY_PM_DISCIPLINE
static final java.lang.String PROPERTY_PM_AUTHOR
static final java.lang.String PROPERTY_PM_CREATE_DATE_TIME
static final java.lang.String PROPERTY_PM_LAST_MODIFIED
static final java.lang.String PROPERTY_SHOW_PACKAGE_NAME_STYLE
static final java.lang.String PROPERTY_SHOW_CONNECTOR_NAME
static final java.lang.String PROPERTY_PAINT_CONNECTOR_THROUGH_LABEL
static final java.lang.String PROPERTY_TRANSIT_FROM
static final java.lang.String PROPERTY_TRANSIT_TO
static final int WITHIN_PACKAGE_BODY
static final int WITHIN_PACKAGE_TAB
static final int SHOW_PACKAGE_NAME_STYLE_FOLLOW_DIAGRAM
static final int SHOW_CONNECTOR_NAME_YES
static final int SHOW_CONNECTOR_NAME_NO
static final int SHOW_CONNECTOR_NAME_FOLLOW_DIAGRAM
static final int PAINT_CONNECTOR_THROUGH_LABEL_NO
static final int PAINT_CONNECTOR_THROUGH_LABEL_YES
static final int PAINT_CONNECTOR_THROUGH_LABEL_FOLLOW_DIAGRAM
static final java.lang.String PROPERTY_SHOW_ACTIVITY_STATE_NODE_CAPTION
static final java.lang.String PROPERTY_EDITABLE
static final java.lang.String PROPERTY_REQUEST_LAYOUT_TYPE
static final java.lang.String PROPERTY_FOLLOW_DIAGRAM_PARENT_ELEMENT
static final java.lang.String PROPERTY_AUTO_FIT_SHAPES_SIZE
static final java.lang.String PROPERTY_SHOW_TAGGED_VALUES
static final java.lang.String PROPERTY_SHOW_STEREOTYPES
static final java.lang.String PROPERTY_SHOW_CONSTRAINTS
static final java.lang.String PROPERTY_ALIGN_TO_GRID
static final java.lang.String PROPERTY_GRID_VISIBLE
static final java.lang.String PROPERTY_GRID_WIDTH
static final java.lang.String PROPERTY_GRID_HEIGHT
static final java.lang.String PROPERTY_GRID_COLOR
static final java.lang.String PROPERTY_DIAGRAM_BACKGROUND
static final java.lang.String PROPERTY_CONNECTOR_STYLE
static final java.lang.String PROPERTY_CONNECTOR_LINE_JUMPS
static final java.lang.String PROPERTY_CONNECTOR_LINE_JUMPS_SIZE
static final java.lang.String PROPERTY_CONNECTION_POINT_STYLE
static final java.lang.String PROPERTY_CONNECTOR_LABEL_ORIENTATION
static final java.lang.String PROPERTY_MODEL_ELEMENT_NAME_ALIGNMENT
static final java.lang.String PROPERTY_ZOOM_RATIO
static final int SPECIAL_ZOOM_FIT_PAGE
static final int SPECIAL_ZOOM_FIT_PAGE_WIDTH
static final int SPECIAL_ZOOM_FIT_PAGE_HEIGHT
static final java.lang.String PROPERTY_MAXIMIZED
static final java.lang.String PROPERTY_X
static final java.lang.String PROPERTY_Y
static final java.lang.String PROPERTY_WIDTH
static final java.lang.String PROPERTY_HEIGHT
static final java.lang.String PROPERTY_QUALITY_SCORE
static final java.lang.String PROPERTY_LAST_VIEW_X
static final java.lang.String PROPERTY_LAST_VIEW_Y
static final java.lang.String PROPERTY_QP_TRANSLATE_X
static final java.lang.String PROPERTY_QP_TRANSLATE_Y
static final java.lang.String PROPERTY_QP_SCALE_X
static final java.lang.String PROPERTY_QP_SCALE_Y
static final java.lang.String PROPERTY_CREATION_TIME
static final java.lang.String PROPERTY_LAST_MODIFIED
static final java.lang.String PROPERTY_DIAGRAM_PREVIEW_DATA
static final java.lang.String PROPERTY_GLOBAL_PALETTE_OPTION
static final java.lang.String PROPERTY_ALWAYS_SHOW_REFERENCE_AND_SUBDIAGRAM_RESOURCE
static final java.lang.String PROPERTY_LOCKED
static final java.lang.String PROPERTY_INITIALIZE_DIAGRAM_FOR_CREATE
static final java.lang.String PROPERTY_REQUEST_VALIDATE_SNAP_TO_GRID
static final java.lang.String PROPERTY_HIDDEN_DIAGRAM_ELEMENT_IDS
static final java.lang.String PROPERTY_PARENT_MODEL
static final java.lang.String PROPERTY_NAME
static final java.lang.String PROPERTY_ID
static final java.lang.String PROPERTY_ALIGNTOGRID
static final java.lang.String PROPERTY_GRIDVISIBLE
static final java.lang.String PROPERTY_GRIDWIDTH
static final java.lang.String PROPERTY_GRIDHEIGHT
static final java.lang.String PROPERTY_TYPE
static final java.lang.String PROPERTY_GRIDCOLOR
static final java.lang.String PROPERTY_DIAGRAMBACKGROUND
static final java.lang.String PROPERTY_HTML_DOCUMENTATION
static final java.lang.String PROPERTY_DOCUMENTATION
static final java.lang.String PROPERTY_NICK_DOCUMENTATION
static final java.lang.String PROPERTY_NICKNAME
static final java.lang.String PROPERTY_NICK_HTML_DOCUMENTATION
static final java.lang.String PROPERTY_SHOW_ALLOCATED_FROM
static final java.lang.String PROPERTY_SHOW_ALLOCATED_TO
static final java.lang.String PROPERTY_HIDE_EMPTY_TAGGED_VALUES
java.lang.String getId()
java.lang.String getType()
void setName(java.lang.String name)
java.lang.String getName()
void setNickname(java.lang.String aName)
IDiagramUIModel
for current nickname of project.
An example on how to create nickname can be found at http://knowhow.visual-paradigm.com/?p=2234aName
- the new nickname of this IDiagramUIModel
.java.lang.String getNickname()
IDiagramUIModel
for current nickname of project.
An example on how to create nickname can be found at http://knowhow.visual-paradigm.com/?p=2234IDiagramUIModel
.void setDocumentation(java.lang.String documentation)
java.lang.String getDocumentation()
java.lang.String getDocumentationWithReferenceModels()
void setHtmlDocumentation(java.lang.String htmlDocumentation)
java.lang.String getHtmlDocumentation()
java.lang.String getHtmlDocumentationWithReferenceModels()
void setNickDocumentation(java.lang.String documentation)
java.lang.String getNickDocumentation()
java.lang.String getNickDocumentationWithReferenceModels()
void setNickHtmlDocumentation(java.lang.String htmlDocumentation)
java.lang.String getNickHtmlDocumentation()
java.lang.String getNickHtmlDocumentationWithReferenceModels()
void setUserID(java.lang.String userID)
java.lang.String getUserID()
int getWidth()
int getHeight()
int getX()
int getY()
void setBounds(int x, int y, int w, int h)
int getDiagramEditorWidth()
int getDiagramEditorHeight()
boolean isOpened()
boolean isAllowShapeType(java.lang.String shapeType)
java.lang.String[] getAllowShapeTypes()
IDiagramElement createDiagramElement(java.lang.String shapeType)
IDiagramElement createDiagramElement(java.lang.String shapeType, boolean addToDiagram)
IShapeUIModel[] toShapeUIModelArray()
IConnectorUIModel[] toConnectorUIModelArray()
IDiagramElement[] toDiagramElementArray()
IDiagramElement[] toDiagramElementArray(java.lang.String shapeType)
java.util.Iterator diagramElementIterator()
boolean isDiagramElementEmpty()
boolean addDiagramElement(IDiagramElement diagramElement)
void removeDiagramElement(IDiagramElement diagramElement)
void removeDiagramElementAt(int index)
int diagramElementCount()
IDiagramElement getDiagramElementAt(int index)
int indexOfDiagramElement(IDiagramElement diagramElement)
IDiagramElement getDiagramElementById(java.lang.String id)
void fireModuleAddedDiagramElement(IDiagramElement diagramElement)
IDiagramElement[] getSelectedDiagramElement()
IDiagramElement[] getSelectedDiagramElement(java.lang.String shapeType)
void modified()
void setFireModified(boolean fire)
void setModelPropertyAsString(java.lang.String name, java.lang.String value)
void setModelPropertyAsBoolean(java.lang.String name, boolean value)
void setModelPropertyAsInt(java.lang.String name, int value)
void setModelPropertyAsColor(java.lang.String name, java.awt.Color value)
void setModelPropertyAsDouble(java.lang.String name, double value)
IDiagramProperty getDiagramPropertyByName(java.lang.String name)
IDiagramProperty[] toDiagramPropertyArray()
void setShowPackageNameStyle(int showPackageNameStyle)
int getShowPackageNameStyle()
void setShowConnectorName(int showConnectorName)
int getShowConnectorName()
void setPaintConnectorThroughLabel(int paintConnectorThroughLabel)
int getPaintConnectorThroughLabel()
void setShowActivityStateNodeCaption(int showActivityStateNodeCaption)
int getShowActivityStateNodeCaption()
void setEditable(boolean editable)
boolean isEditable()
void setFollowDiagramParentElement(boolean followDiagramParentElement)
boolean isFollowDiagramParentElement()
void setAutoFitShapesSize(boolean autoFitShapesSize)
boolean isAutoFitShapesSize()
void setShowTaggedValues(boolean showTaggedValues)
boolean isShowTaggedValues()
void setShowStereotypes(boolean showStereotypes)
boolean isShowStereotypes()
void setShowConstraints(boolean showConstraints)
boolean isShowConstraints()
void setAlignToGrid(boolean alignToGrid)
boolean isAlignToGrid()
void setGridVisible(boolean gridVisible)
boolean isGridVisible()
void setGridWidth(int gridWidth)
int getGridWidth()
void setGridHeight(int gridHeight)
int getGridHeight()
void setGridColor(java.awt.Color gridColor)
java.awt.Color getGridColor()
void setDiagramBackground(java.awt.Color diagramBackground)
java.awt.Color getDiagramBackground()
void setConnectorStyle(int connectorStyle)
int getConnectorStyle()
void setConnectorLineJumps(int connectorLineJumps)
int getConnectorLineJumps()
void setConnectorLineJumpsSize(int connectorLineJumpsSize)
int getConnectorLineJumpsSize()
void setConnectionPointStyle(int connectionPointStyle)
int getConnectionPointStyle()
void setConnectorLabelOrientation(int connectorLabelOrientation)
int getConnectorLabelOrientation()
void setModelElementNameAlignment(int modelElementNameAlignment)
int getModelElementNameAlignment()
void setZoomRatio(double zoomRatio)
double getZoomRatio()
void setSpecialZoom(int specialZoom)
void setMaximized(boolean maximized)
boolean isMaximized()
void setCreationTime(long creationTime)
long getCreationTime()
void setLastModified(long lastModified)
long getLastModified()
long getLastCommitted()
java.lang.String getLastCommittedUser()
java.lang.String getLastCommittedUserName()
void setQualityScore(int aQualityScore)
int getQualityScore()
IModelElement getParentModel()
boolean isSubDiagram()
void setGlobalPaletteOption(boolean globalPaletteOption)
boolean isGlobalPaletteOption()
void setAlwaysShowReferenceAndSubdiagramResource(boolean alwaysShowReferenceAndSubdiagramResource)
boolean isAlwaysShowReferenceAndSubdiagramResource()
void setInitializeDiagramForCreate(boolean initializeDiagramForCreate)
boolean isInitializeDiagramForCreate()
void setRequestValidateSnapToGrid(boolean requestValidateSnapToGrid)
boolean isRequestValidateSnapToGrid()
void setPmStatus(IPMStatus pmStatus)
IPMStatus getPmStatus()
void setPmDifficulty(IPMDifficulty pmDifficulty)
IPMDifficulty getPmDifficulty()
void setPmPriority(IPMPriority pmPriority)
IPMPriority getPmPriority()
void setPmVersion(IPMVersion pmVersion)
IPMVersion getPmVersion()
void setPmIteration(IPMIteration pmIteration)
IPMIteration getPmIteration()
void setPmPhase(IPMPhase pmPhase)
IPMPhase getPmPhase()
void setPmDiscipline(IPMDiscipline pmDiscipline)
IPMDiscipline getPmDiscipline()
void setPmAuthor(java.lang.String pmAuthor)
java.lang.String getPmAuthor()
void setPmCreateDateTime(java.lang.String pmCreateDateTime)
java.lang.String getPmCreateDateTime()
void setPmLastModified(java.lang.String pmLastModified)
java.lang.String getPmLastModified()
java.lang.String getLogicalViewType()
void removeGroupButtonInfoAt(int index)
int groupButtonInfoCount()
boolean isGroupButtonInfoEmpty()
boolean isAllowLayout()
void layoutDiagramElement(IDiagramElement[] elements)
void addDiagramListener(IDiagramListener listener)
listener
- listener of IDiagramUIModelIDiagramListener
,
IDiagramListener2
void removeDiagramListener(IDiagramListener listener)
listener
- listener of IDiagramUIModelIDiagramListener
,
IDiagramListener2
IDiagramListener[] getDiagramListeners()
IDiagramListener
,
IDiagramListener2
void delete()
void closeDiagram()
void realCloseDiagram()
void addReference(IReference reference)
void removeReference(IReference reference)
IReference getReferenceByIndex(int index)
void removeReferenceByIndex(int index)
int referenceCount()
java.util.Iterator referenceIterator()
IReference
.IReference[] toReferenceArray()
IDiagramUIModelComment createComment()
void removeComment(IDiagramUIModelComment comment)
IDiagramUIModelComment getCommentAt(int index)
int indexOfComment(IDiagramUIModelComment comment)
int commentCount()
java.util.Iterator commentIterator()
IDiagramUIModelComment[] toCommentArray()
IComment[] toCommentModelElementArray()
IViewpoint getViewpoint()
IDiagramLayer[] getDiagramLayers()
IDiagramLayer createDiagramLayer(java.lang.String aLayerName)
void removeDiagramLayer(IDiagramLayer aLayer)
void setActiveDiagramLayer(IDiagramLayer aLayer)
IDiagramLayer getActiveDiagramLayer()
IDiagramLayer getDefaultDiagramLayer()
IShapeGroup group(IShapeGroupable[] aGroupables)
java.lang.String[] getCustomizedSortDiagramElementIds()
java.lang.String toPropertiesString()
boolean isSupportedInProductEdition()
IProject getProject()
boolean isLoading()