Interface ModelElementsPanelEditHandler

  • All Superinterfaces:
    TablePanelEditHandler

    public interface ModelElementsPanelEditHandler
    extends TablePanelEditHandler
    defines methods which are called by ModelElementsPanel for using an additional - selection column.
    • Method Detail

      • getSelectionValue

        java.lang.Boolean getSelectionValue​(cern.accsoft.steering.jmad.domain.elem.Element element,
                                            java.lang.String attributeName)
        Parameters:
        element -
        attributeName -
        Returns:
        true if the given attribute of the given element is selected.
      • setSelectionValue

        void setSelectionValue​(cern.accsoft.steering.jmad.domain.elem.Element element,
                               java.lang.String attributeName,
                               boolean value)
        sets the attribute of the element as selected / deselected
        Parameters:
        element - the element, for which to set the attribute as selected
        attributeName - the attributName to select
        value - true for select, false for deselect