Class NumberingSequencer
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.layout.sequence.NameSequencer
-
- com.nomagic.magicdraw.uml.symbols.layout.sequence.NumberingSequencer
-
- All Implemented Interfaces:
Sequencer
,java.util.Comparator<ShapeElement>
@OpenApiAll public class NumberingSequencer extends 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 Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description NumberingSequencer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ShapeElement o1, ShapeElement o2)
java.lang.String
getName()
The name of the sequencer-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.layout.sequence.NameSequencer
compareStrings
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Sequencer
The name of the sequencer- Specified by:
getName
in interfaceSequencer
- Overrides:
getName
in classNameSequencer
- Returns:
- sequencer name
-
compare
public int compare(ShapeElement o1, ShapeElement o2)
- Specified by:
compare
in interfacejava.util.Comparator<ShapeElement>
- Specified by:
compare
in interfaceSequencer
- Overrides:
compare
in classNameSequencer
-
-