Class 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.
    • Field Detail

      • openedDiagramsService

        private com.nomagic.magicdraw.core.diagram.OpenedDiagramsService openedDiagramsService
    • Constructor Detail

      • OpenedDiagramValidator

        public OpenedDiagramValidator()