Interface PriorityProvider

All Known Subinterfaces:
AMConfigurator, BrowserContextAMConfigurator, BrowserTabTreeDragAndDropHandler, BrowserToolbarAMConfigurator, ConfiguratorWithPriority, DependencyMatrixAMConfigurator, DependencyMatrixCellAMConfigurator, DiagramContextAMConfigurator, DiagramContextToolbarAMConfigurator, PriorityProvider, RepresentationTextCreator.RepresentationTextProvider, TargetElementAMConfigurator
All Known Implementing Classes:
ActivityDiagramContextAMConfigurator, ActivityDiagramShortcutsConfigurator, AnyDiagramShortcutsConfigurator, BaseDiagramContextAMConfigurator, BaseDiagramContextToolbarAMConfigurator, BaseDiagramShortcutsConfigurator, BaseDiagramToolbarConfigurator, ClassDiagramContextAMConfigurator, ClassDiagramShortcutsConfigurator, CollaborationDiagramContextAMConfigurator, CommunicationDiagramShortcutsConfigurator, ComponentDiagramShortcutsConfigurator, CompositeStructureDiagramContextAMConfigurator, DeploymentDiagramShortcutsConfigurator, DiagramTransferableDragAndDropHandler, ObjectDiagramShortcutsConfigurator, PackageDiagramShortcutsConfigurator, ProfileDiagramShortcutsConfigurator, SequenceDiagramContextAMConfigurator, SequenceDiagramShortcutsConfigurator, StateDiagramContextAMConfigurator, StateDiagramShortcutsConfigurator, UseCaseDiagramShortcutsConfigurator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@OpenApiAll @FunctionalInterface public interface PriorityProvider
An interface for marking objects that provide a priority.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    High priority.
    static final int
    Low priority.
    static final int
    Medium priority.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns priority of this object.
    static void
    sort(List<? extends PriorityProvider> providers)
    Sorts given list of providers by priority
  • Field Details

  • Method Details

    • getPriority

      int getPriority()
      Returns priority of this object.
      Returns:
      priority of this object.
    • sort

      static void sort(List<? extends PriorityProvider> providers)
      Sorts given list of providers by priority
      Parameters:
      providers - providers