Class ListElementTerminalNode

    • Constructor Detail

      • ListElementTerminalNode

        public ListElementTerminalNode​(IPartialModelNode parent,
                                       ComparisonNode node,
                                       String mainLabel,
                                       String otherLabel,
                                       IImageProvider imageProvider,
                                       String label,
                                       IComparisonSession comparisonSession)
        Constructs partial node for the specified comparison node.
        Parameters:
        parent - the parent partial model node
        node - the comparison node, cannot be null
        mainLabel - representation of the MAIN side
        otherLabel - representation of the OTHER side
        imageProvider - the image provider
        label - the list element label
        comparisonSession - the comparison session
      • ListElementTerminalNode

        protected ListElementTerminalNode​(IPartialModelNode parent,
                                          String representation,
                                          org.eclipse.emf.ecore.EStructuralFeature parentFeature,
                                          int mainPosition,
                                          int otherPosition,
                                          ComparisonSide objectSide,
                                          IImageProvider imageProvider,
                                          String label,
                                          IComparisonSession comparisonSession)
        Constructs partial node when the comparison node is absent. Called to create equal partial nodes, see IPartialEqualNode.
        Parameters:
        parent - the parent partial model node
        representation - the object's representation
        parentFeature - the object's parent feature, not null
        mainPosition - the object's position from the MAIN side
        otherPosition - the object's position from the OTHER side
        objectSide - the object's side
        imageProvider - the image provider
        label - the list element label
        comparisonSession - the comparison session