Klasse ComponentFilterTable

java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ComponentFilterTable

public class ComponentFilterTable extends Object
This class implements a table, in which properties can be filtered.
  • Konstruktordetails

    • ComponentFilterTable

      public ComponentFilterTable(org.eclipse.swt.widgets.Composite parent, Controller controller)
      Creates a new instance.
      Parameter:
      parent -
      controller -
      properties -
      entries -
  • Methodendetails

    • addSelectionListener

      public void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
      Adds a selection listener.
      Parameter:
      listener -
    • clear

      public void clear()
      Clears the table.
    • getIndexOfEntry

      public int getIndexOfEntry(String entry)
      Returns the entries.
      Parameter:
      entry -
      Gibt zurück:
    • getProperties

      public List<String> getProperties()
      Returns the properties.
      Gibt zurück:
    • getSelectedEntry

      public String getSelectedEntry()
      Returns the currently selected entry.
      Gibt zurück:
    • getSelectedProperty

      public String getSelectedProperty()
      Returns the currently selected property.
      Gibt zurück:
    • isSelected

      public boolean isSelected(String entry, String property)
      Returns whether the given property is selected for the given entry.
      Parameter:
      entry -
      property -
      Gibt zurück:
    • setEnabled

      public void setEnabled(boolean enabled)
      Enable/disable.
      Parameter:
      enabled -
    • setLayoutData

      public void setLayoutData(Object layoutData)
      Sets layout data.
      Parameter:
      layoutData -
    • setPermitted

      public void setPermitted(List<String> entries, Map<String,Set<String>> permitted)
      Specifies the properties permitted per entry
      Parameter:
      entries -
      permitted -
    • setProperties

      public void setProperties(List<String> properties)
      Sets new properties. Clears the table
      Parameter:
      properties -
    • setSelected

      public void setSelected(String entry, String property, boolean selected)
      Sets the given property selected for the given entry.
      Parameter:
      entry -
      property -
      selected -