Class LabelProviderFactory

    • Constructor Detail

      • LabelProviderFactory

        public LabelProviderFactory()
        Creates a new instance of LabelProviderFactory.
    • Method Detail

      • create

        public StaticAnalysisLabelProvider create​(String id)
        Finds the label provider for the static analysis tool with the specified ID.
        Parameters:
        id - the ID of the tool to find
        Returns:
        The label provider of the selected static analysis tool. If the tool is not found then a default label provider is returned.
      • create

        public StaticAnalysisLabelProvider create​(String id,
                                                  @CheckForNull
                                                  String name)
        Finds the label provider for the static analysis tool with the specified ID.
        Parameters:
        id - the ID of the tool to find
        name - the name of the tool (might be empty or null)
        Returns:
        The label provider of the selected static analysis tool. If the tool is not found then a default label provider is returned.