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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(ShapeElement o1, ShapeElement o2) getName()The name of the sequencerMethods inherited from class com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.NameSequencer
compareStringsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
NumberingSequencer
public NumberingSequencer()
-
-
Method Details
-
getName
Description copied from interface:com.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.SequencerThe name of the sequencer- Specified by:
getNamein interfacecom.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.Sequencer- Overrides:
getNamein classcom.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.NameSequencer- Returns:
- sequencer name
-
compare
- Specified by:
comparein interfaceComparator<ShapeElement>- Specified by:
comparein interfacecom.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.Sequencer- Overrides:
comparein classcom.dassault_systemes.modeler.foundation.diagram.ylayout.sequence.NameSequencer
-