Class ClasspathFixProcessor.ClasspathFixProposal

  • Enclosing class:

    public abstract static class ClasspathFixProcessor.ClasspathFixProposal
    extends Object
    A proposal to fix a class path issue.
    • Constructor Detail

      • ClasspathFixProposal

        public ClasspathFixProposal()
    • Method Detail

      • createChange

        public abstract Change createChange​(IProgressMonitor monitor)
                                     throws CoreException
        Returns the change to invoke when the proposal is selected.
        monitor - the progress monitor
        the change
        CoreException - thrown when the creation of the change failed
      • getDisplayString

        public abstract String getDisplayString()
        Returns the string to be displayed in a list of proposals.
        the string to be displayed
      • getAdditionalProposalInfo

        public abstract String getAdditionalProposalInfo()
        Returns optional additional information about the proposal. The additional information will be presented to assist the user in deciding if the selected proposal is the desired choice.
        the additional information or null
      • getImage

        public abstract Image getImage()
        Returns the image to be displayed in the list of completion proposals. The image would typically be shown to the left of the display string.
        the image to be shown or null if no image is desired
      • getRelevance

        public abstract int getRelevance()
        Returns the relevance of this completion proposal.

        The relevance is used to determine if this proposal is more relevant than another proposal.

        the relevance of this completion proposal