Class OpenedDiagramValidator

java.lang.Object
com.nomagic.magicdraw.validation.DiagramValidator
com.nomagic.magicdraw.validation.OpenedDiagramValidator
All Implemented Interfaces:
com.nomagic.magicdraw.core.diagram.DiagramsChangeListener, ValidationRule

@OpenApiAll public abstract class OpenedDiagramValidator extends DiagramValidator implements com.nomagic.magicdraw.core.diagram.DiagramsChangeListener
Works the same as the base rule DiagramValidator, but narrows the scope down only to currently opened diagrams. When creating annotations, the diagrams in scope should be retrieved by using DiagramValidator.getDiagrams() method.
  • Constructor Details

    • OpenedDiagramValidator

      public OpenedDiagramValidator()
  • Method Details