Class AbstractMatrixCell
- java.lang.Object
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
-
- Direct Known Subclasses:
MatrixCell
@OpenApiAll public abstract class AbstractMatrixCell extends java.lang.Object
Base cell for all matrix cells
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractMatrixCell
EMPTY_CELL
Returns static empty matrix cellstatic AbstractMatrixCell
EMPTY_EDITABLE_CELL
Deprecated.useEMPTY_CELL
static AbstractMatrixCell
EMPTY_READONLY_CELL
Deprecated.useEMPTY_CELL
static AbstractMatrixCell
UNKNOWN_CELL
Deprecated.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.String
getDescription()
static AbstractMatrixCell
getStaticCell(ReadOnlyFlags readOnlyFlags)
Deprecated.deprecated after removal of non-editable cellsMatrixCellView
getView()
Creates or returns already created matrix view objectboolean
isEditable()
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
isUnknownEditableState()
Deprecated.unknown editable state is always false, the editable state is checked when trying to create/delete cell valuestatic boolean
isUnknownStaticCell(AbstractMatrixCell cell)
Deprecated.deprecated after removal of non-editable cellsabstract void
setDependencies(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
-
-