Class FullTextSearchSourceFileChange

    • Constructor Summary

      Constructors 
      Constructor Description
      FullTextSearchSourceFileChange​(String name, org.eclipse.handly.model.ISourceFile sourceFile, boolean changeForbidden)
      Creates a change that initially contains only an empty root edit.
      FullTextSearchSourceFileChange​(String name, org.eclipse.handly.model.ISourceFile sourceFile, org.eclipse.text.edits.TextEdit edit, boolean changeForbidden)
      Creates a change with the given edit tree.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FullTextSearchSourceFileChange createClone()
      Creates clone of change
      • Methods inherited from class org.eclipse.handly.refactoring.SourceFileChange

        addEdit, addEdits, addGroupedEdits, addGroupedEdits, getAffectedObjects, getBase, getCurrentContent, getCurrentContent, getEdit, getModifiedElement, getPreviewContent, getPreviewContent, getPreviewDocument, getPreviewEdit, getPreviewEdits, getSaveMode, initializeValidationData, isValid, perform, setBase, setKeepPreviewEdits, setSaveMode
      • Methods inherited from class org.eclipse.ltk.core.refactoring.TextEditBasedChange

        addChangeGroup, addTextEditGroup, getChangeGroups, getKeepPreviewEdits, getName, getTextType, hasOneGroupCategory, setTextType
      • Methods inherited from class org.eclipse.ltk.core.refactoring.Change

        dispose, getAdapter, getDescriptor, getParent, setEnabledShallow
    • Constructor Detail

      • FullTextSearchSourceFileChange

        public FullTextSearchSourceFileChange​(String name,
                                              org.eclipse.handly.model.ISourceFile sourceFile,
                                              boolean changeForbidden)
        Creates a change that initially contains only an empty root edit.
        Type Parameters:
        code - true if changes is forbidden for perform, false otherwise
        Parameters:
        name - the change's name, mainly used to render the change in the UI, can't be null
        sourceFile - the source file this change works on, can't be null
      • FullTextSearchSourceFileChange

        public FullTextSearchSourceFileChange​(String name,
                                              org.eclipse.handly.model.ISourceFile sourceFile,
                                              org.eclipse.text.edits.TextEdit edit,
                                              boolean changeForbidden)
        Creates a change with the given edit tree. The structure of the tree may be modified later.
        Type Parameters:
        code - true if changes is forbidden for perform, false otherwise
        Parameters:
        name - the change's name, mainly used to render the change in the UI, can't be null
        sourceFile - the source file this change works on, can't be null
        edit - the root of the change's edit tree, can't be null