Class MatrixCell
java.lang.Object
com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
com.nomagic.magicdraw.dependencymatrix.datamodel.cell.MatrixCell
Single matrix element representation - holds information about elements and relations according to the criteria
-
Field Summary
Fields inherited from class com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
EMPTY_CELL, EMPTY_EDITABLE_CELL, EMPTY_READONLY_CELL, UNKNOWN_CELL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionColumn node.Dependency entry listRow node.getView()
Creates or returns already created matrix view objectvoid
setDependencies
(Collection<DependencyEntry> dependencies) Set new collection with cell dependency listtoString()
Methods inherited from class com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
getStaticCell, isEditable, isStaticCell, isUnknownEditableState, isUnknownStaticCell
-
Constructor Details
-
MatrixCell
-
-
Method Details
-
getRowNode
Row node.- Returns:
- row node.
-
getColumnNode
Column node.- Returns:
- column node.
-
getDependencies
Description copied from class:AbstractMatrixCell
Dependency entry list- Specified by:
getDependencies
in classAbstractMatrixCell
- Returns:
- dependency entries or empty list if not exits
-
setDependencies
Description copied from class:AbstractMatrixCell
Set new collection with cell dependency list- Specified by:
setDependencies
in classAbstractMatrixCell
- Parameters:
dependencies
- new dependency list for the cell
-
toString
-
getView
Description copied from class:AbstractMatrixCell
Creates or returns already created matrix view object- Overrides:
getView
in classAbstractMatrixCell
- Returns:
- matrix cell view object
-
getDescription
- Overrides:
getDescription
in classAbstractMatrixCell
- Returns:
- representative text describing this cell
-