Class IEclipsePreferences.NodeChangeEvent

    • Constructor Detail

      • NodeChangeEvent

        public NodeChangeEvent​(Preferences parent,
                               Preferences child)
        Constructor for a new node change event object.
        Parameters:
        parent - the parent node
        child - the child node
    • Method Detail

      • getParent

        public Preferences getParent()
        Return the parent node for this event. This is the parent of the node which was added or removed.
        Returns:
        the parent node
      • getChild

        public Preferences getChild()
        Return the child node for this event. This is the node which was added or removed.

        Note: The child node may have been removed as a result of the bundle supplying its implementation being un-installed. In this case the only method which can safely be called on the child is #name().

        Returns:
        the child node