Class AbstractMatrixCell
java.lang.Object
com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
- Direct Known Subclasses:
MatrixCell
Base cell for all matrix cells
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AbstractMatrixCell
Returns static empty matrix cellstatic final AbstractMatrixCell
Deprecated.static final AbstractMatrixCell
Deprecated.useEMPTY_CELL
static final AbstractMatrixCell
Deprecated.useEMPTY_CELL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<DependencyEntry>
Dependency entry liststatic AbstractMatrixCell
getStaticCell
(ReadOnlyFlags readOnlyFlags) Deprecated.deprecated after removal of non-editable cellsgetView()
Creates or returns already created matrix view objectboolean
Deprecated.isEditable is always true, the editable state is checked when trying to create/delete cell valuestatic boolean
isStaticCell
(AbstractMatrixCell value) Deprecated.deprecated after removal of non-editable cellsboolean
Deprecated.unknown editable state is always false, the editable state is checked when trying to create/delete cell valuestatic boolean
Deprecated.deprecated after removal of non-editable cellsabstract void
setDependencies
(Collection<DependencyEntry> dependencies) Set new collection with cell dependency list
-
Field Details
-
EMPTY_CELL
Returns static empty matrix cell -
EMPTY_EDITABLE_CELL
Deprecated.useEMPTY_CELL
-
EMPTY_READONLY_CELL
Deprecated.useEMPTY_CELL
-
UNKNOWN_CELL
Deprecated.useEMPTY_CELL
-
-
Constructor Details
-
AbstractMatrixCell
public AbstractMatrixCell()
-
-
Method Details
-
isEditable
Deprecated.isEditable is always true, the editable state is checked when trying to create/delete cell valueto check whether a relation based on dependency criteria can be created/deleted between element nodes useMatrixDataHelper.isEditable(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Diagram, com.nomagic.magicdraw.dependencymatrix.datamodel.ElementNode, com.nomagic.magicdraw.dependencymatrix.datamodel.ElementNode)
-
isUnknownEditableState
Deprecated.unknown editable state is always false, the editable state is checked when trying to create/delete cell value -
getDependencies
Dependency entry list- Returns:
- dependency entries or empty list if not exits
-
setDependencies
Set new collection with cell dependency list- Parameters:
dependencies
- new dependency list for the cell
-
getView
Creates or returns already created matrix view object- Returns:
- matrix cell view object
-
getDescription
- Returns:
- representative text describing this cell
-
getStaticCell
Deprecated.deprecated after removal of non-editable cells -
isUnknownStaticCell
Deprecated.deprecated after removal of non-editable cells -
isStaticCell
Deprecated.deprecated after removal of non-editable cells
-
EMPTY_CELL