Skip navigation links
Eclipse Platform
Oxygen (4.7)
org.eclipse.ltk.ui.refactoring

Class TextEditChangeNode

    • Constructor Detail

      • TextEditChangeNode

        public TextEditChangeNode(TextEditBasedChange change)
        Creates a new text edit change node for the given change.
        Parameters:
        change - the TextEditBasedChange this node represents in the preview tree
    • Method Detail

      • createTextEditGroupNode

        public static TextEditChangeNode.ChildNode createTextEditGroupNode(TextEditChangeNode.ChildNode parent,
                                                                           TextEditBasedChangeGroup changeGroup)
        Creates a new child node for the given parent and change group.
        Parameters:
        parent - the parent of the new child node
        changeGroup - the TextEditBasedChangeGroup this child node represents in the preview tree
        Returns:
        the new child node
      • createTextEditGroupNode

        public static TextEditChangeNode.ChildNode createTextEditGroupNode(TextEditChangeNode parent,
                                                                           TextEditBasedChangeGroup changeGroup)
        Creates a new child node for the given parent and change group.
        Parameters:
        parent - the parent of the new child node
        changeGroup - the TextEditBasedChangeGroup this child node represents in the preview tree
        Returns:
        the new child node
      • getTextEditBasedChange

        public final TextEditBasedChange getTextEditBasedChange()
        Returns the TextEditBasedChange this node is associated with.
        Overrides:
        getTextEditBasedChange in class org.eclipse.ltk.internal.ui.refactoring.InternalTextEditChangeNode
        Returns:
        the TextEditBasedChange
      • getText

        public String getText()
        Returns the text used to render this node in the UI.
        Overrides:
        getText in class org.eclipse.ltk.internal.ui.refactoring.AbstractChangeNode
        Returns:
        a human readable representation of this node
      • getImageDescriptor

        public ImageDescriptor getImageDescriptor()
        Returns the image descriptor used to render this node in the UI.
        Overrides:
        getImageDescriptor in class org.eclipse.ltk.internal.ui.refactoring.AbstractChangeNode
        Returns:
        the image descriptor representing this node
      • createChildNodes

        protected TextEditChangeNode.ChildNode[] createChildNodes()
        Specified by:
        createChildNodes in class org.eclipse.ltk.internal.ui.refactoring.InternalTextEditChangeNode


Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.