Class LogFilterUI


  • public class LogFilterUI
    extends java.lang.Object
    Simple log filter. Allows the user to use the following filters in the given order: 1. Filter events using the lifecycle transition classification. 2. Filter traces on start events using the standard classification (concept name and lifecycle transition). 3. Filter traces on end events using the standard classification (concept name and lifecycle transition). 4. Filter events using the standard classification (concept name and lifecycle transition). During steps 2, 3, and 4, the user can use a slider to indicate how much coverage s/he wants. The most occurring events/traces will then be selected until the coverage has been reached.
    Author:
    hverbeek
    • Constructor Summary

      Constructors 
      Constructor Description
      LogFilterUI​(org.processmining.contexts.uitopia.UIPluginContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.swing.JComponent configureAnyScrollable​(javax.swing.JComponent scrollable, java.lang.String title, java.lang.String description)  
      protected javax.swing.JComponent configureList​(javax.swing.JList<java.lang.Object> list, java.lang.String title, java.lang.String description)  
      org.deckfour.xes.model.XLog filter​(org.deckfour.xes.model.XLog log)
      Runs the simple log filter on the given log.
      java.lang.String getName()  
      protected javax.swing.JComponent packLeftAligned​(javax.swing.JComponent component)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • colorBg

        protected java.awt.Color colorBg
      • colorOuterBg

        protected java.awt.Color colorOuterBg
      • colorListBg

        protected java.awt.Color colorListBg
      • colorListBgSelected

        protected java.awt.Color colorListBgSelected
      • colorListFg

        protected java.awt.Color colorListFg
      • colorListFgSelected

        protected java.awt.Color colorListFgSelected
      • colorListEnclosureBg

        protected java.awt.Color colorListEnclosureBg
      • colorListHeader

        protected java.awt.Color colorListHeader
      • colorListDescription

        protected java.awt.Color colorListDescription
    • Constructor Detail

      • LogFilterUI

        public LogFilterUI​(org.processmining.contexts.uitopia.UIPluginContext context)
    • Method Detail

      • getName

        public java.lang.String getName()
      • filter

        public org.deckfour.xes.model.XLog filter​(org.deckfour.xes.model.XLog log)
        Runs the simple log filter on the given log.
        Parameters:
        log - The given log.
        Returns:
        The filtered log (depends on the settings chosen by the user).
      • configureList

        protected javax.swing.JComponent configureList​(javax.swing.JList<java.lang.Object> list,
                                                       java.lang.String title,
                                                       java.lang.String description)
      • configureAnyScrollable

        protected javax.swing.JComponent configureAnyScrollable​(javax.swing.JComponent scrollable,
                                                                java.lang.String title,
                                                                java.lang.String description)
      • packLeftAligned

        protected javax.swing.JComponent packLeftAligned​(javax.swing.JComponent component)