Package com.nomagic.magicdraw.utils
Class StateChangeHandler
- java.lang.Object
-
- com.nomagic.magicdraw.utils.StateChangeHandler
-
@OpenApi public class StateChangeHandler extends java.lang.Object
Class handling state changes in model and symbols.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateChangeHandler.DirtyType
Defines how much dirty is project.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDirty(BaseElement element)
Returns true if given element has been modified and is not yet saved.
-
-
-
Method Detail
-
isDirty
@OpenApi public boolean isDirty(BaseElement element)
Returns true if given element has been modified and is not yet saved. IndividualPresentationElement
is not tracked, itsDiagramPresentationElement
is used instead.- Parameters:
element
- element- Returns:
- true if element is dirty
-
-