Class NumberingSequencer

java.lang.Object
com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.NameSequencer
com.nomagic.magicdraw.uml.symbols.layout.sequence.NumberingSequencer
All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.Sequencer, Comparator<ShapeElement>

@OpenApiAll public class NumberingSequencer extends com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.NameSequencer
Sorts by numbering ID. Takes the numbering ID and sorts them alphanumerically. The shapes that do not have ID's are placed at the end
  • Field Details

  • Constructor Details

    • NumberingSequencer

      public NumberingSequencer()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.Sequencer
      The name of the sequencer
      Specified by:
      getName in interface com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.Sequencer
      Overrides:
      getName in class com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.NameSequencer
      Returns:
      sequencer name
    • compare

      public int compare(ShapeElement o1, ShapeElement o2)
      Specified by:
      compare in interface Comparator<ShapeElement>
      Specified by:
      compare in interface com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.Sequencer
      Overrides:
      compare in class com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.NameSequencer