package com.cisco.trex.stl.gui.controllers.capture;

import com.exalttech.trex.util.Initialization;
import javafx.fxml.FXML;
import javafx.scene.layout.HBox;
import org.controlsfx.control.CheckComboBox;

public class PortFilterController extends HBox {
    
    @FXML
    private CheckComboBox rxFilter;
    
    @FXML
    private CheckComboBox txFilter;

    public PortFilterController() {
        Initialization.initializeFXML(this, "/fxml/pkt_capture/PortFilter.fxml");
    }
}

@@ -197,16 +197,40 @@
 boBox;%0A%0A
+import java.util.List;%0A%0A
 public c
@@ -496,11 +496,226 @@
 );%0A    %7D
+%0A%0A    public List%3CInteger%3E getRxPorts() %7B%0A        return rxFilter.getCheckModel().getCheckedIndices();%0A    %7D%0A    public List%3CInteger%3E getTxPorts() %7B%0A        return txFilter.getCheckModel().getCheckedIndices();%0A    %7D
 %0A%7D%0A

Add getRxPorts and getTxPorts