Class AbstractMatrixCell
- java.lang.Object
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
-
@OpenApiAll public abstract class AbstractMatrixCell extends java.lang.ObjectBase cell for all matrix cells
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractMatrixCellEMPTY_CELLReturns static empty matrix cellstatic AbstractMatrixCellEMPTY_EDITABLE_CELLDeprecated.useEMPTY_CELLstatic AbstractMatrixCellEMPTY_READONLY_CELLDeprecated.useEMPTY_CELLstatic AbstractMatrixCellUNKNOWN_CELLDeprecated.useEMPTY_CELL
-
Constructor Summary
Constructors Constructor Description AbstractMatrixCell()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract java.util.Collection<DependencyEntry>getDependencies()Dependency entry listjava.lang.StringgetDescription()static AbstractMatrixCellgetStaticCell(ReadOnlyFlags readOnlyFlags)Deprecated.deprecated after removal of non-editable cellsMatrixCellViewgetView()Creates or returns already created matrix view objectbooleanisEditable()Deprecated.isEditable is always true, the editable state is checked when trying to create/delete cell valuestatic booleanisStaticCell(AbstractMatrixCell value)Deprecated.deprecated after removal of non-editable cellsbooleanisUnknownEditableState()Deprecated.unknown editable state is always false, the editable state is checked when trying to create/delete cell valuestatic booleanisUnknownStaticCell(AbstractMatrixCell cell)Deprecated.deprecated after removal of non-editable cellsabstract voidsetDependencies(java.util.Collection<DependencyEntry> dependencies)Set new collection with cell dependency list
-
-
-
Field Detail
-
EMPTY_CELL
public static final AbstractMatrixCell EMPTY_CELL
Returns static empty matrix cell
-
EMPTY_EDITABLE_CELL
@Deprecated public static final AbstractMatrixCell EMPTY_EDITABLE_CELL
Deprecated.useEMPTY_CELL
-
EMPTY_READONLY_CELL
@Deprecated public static final AbstractMatrixCell EMPTY_READONLY_CELL
Deprecated.useEMPTY_CELL
-
UNKNOWN_CELL
@Deprecated public static final AbstractMatrixCell UNKNOWN_CELL
Deprecated.useEMPTY_CELL
-
-
Method Detail
-
isEditable
@Deprecated public boolean 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 public boolean isUnknownEditableState()
Deprecated.unknown editable state is always false, the editable state is checked when trying to create/delete cell value
-
getDependencies
public abstract java.util.Collection<DependencyEntry> getDependencies()
Dependency entry list- Returns:
- dependency entries or empty list if not exits
-
setDependencies
public abstract void setDependencies(java.util.Collection<DependencyEntry> dependencies)
Set new collection with cell dependency list- Parameters:
dependencies- new dependency list for the cell
-
getView
public MatrixCellView getView()
Creates or returns already created matrix view object- Returns:
- matrix cell view object
-
getDescription
@CheckForNull public java.lang.String getDescription()
- Returns:
- representative text describing this cell
-
getStaticCell
@Deprecated public static AbstractMatrixCell getStaticCell(ReadOnlyFlags readOnlyFlags)
Deprecated.deprecated after removal of non-editable cells
-
isUnknownStaticCell
@Deprecated public static boolean isUnknownStaticCell(AbstractMatrixCell cell)
Deprecated.deprecated after removal of non-editable cells
-
isStaticCell
@Deprecated public static boolean isStaticCell(AbstractMatrixCell value)
Deprecated.deprecated after removal of non-editable cells
-
-