Class ElementSelectionManagerImpl

    • Constructor Detail

      • ElementSelectionManagerImpl

        public ElementSelectionManagerImpl()
    • Method Detail

      • getSelectedElements

        public java.util.List<cern.accsoft.steering.jmad.domain.elem.Element> getSelectedElements()
        Description copied from interface: ElementSelectionManager
        returns all the selected elements in the order as they appear in the sequence. The order is independent of the time when selecting the individual elements.
        Specified by:
        getSelectedElements in interface ElementSelectionManager
        Returns:
        all the actually selected elements
      • setSelectedElements

        public void setSelectedElements​(java.util.List<cern.accsoft.steering.jmad.domain.elem.Element> selectedElements,
                                        cern.accsoft.steering.jmad.domain.elem.Element selectedElement)
        Description copied from interface: ElementSelectionManager
        Sets the given elements as the actually selected ones
        Specified by:
        setSelectedElements in interface ElementSelectionManager
        Parameters:
        selectedElements - all the selected elements (migth be an empty list)
        selectedElement - the element which was most recently selected. might be null