Class ChangeCorrectionProposal

    • Constructor Detail

      • ChangeCorrectionProposal

        public ChangeCorrectionProposal​(String name,
                                        Change change,
                                        int relevance,
                                        Image image)
        Constructs a change correction proposal.
        Parameters:
        name - the name that is displayed in the proposal selection dialog
        change - the change that is executed when the proposal is applied or null if the change will be created by implementors of ChangeCorrectionProposalCore.createChange()
        relevance - the relevance of this proposal
        image - the image that is displayed for this proposal or null if no image is desired
      • ChangeCorrectionProposal

        public ChangeCorrectionProposal​(String name,
                                        Change change,
                                        int relevance)
        Constructs a change correction proposal. Uses the default image for this proposal.
        Parameters:
        name - The name that is displayed in the proposal selection dialog.
        change - The change that is executed when the proposal is applied or null if the change will be created by implementors of ChangeCorrectionProposalCore.createChange().
        relevance - The relevance of this proposal.