org.processmining.plugins.log.logfilters.ui
Class LogFilterUI

java.lang.Object
  extended by org.processmining.plugins.log.logfilters.ui.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

Field Summary
protected  java.awt.Color colorBg
           
protected  java.awt.Color colorListBg
           
protected  java.awt.Color colorListBgSelected
           
protected  java.awt.Color colorListDescription
           
protected  java.awt.Color colorListEnclosureBg
           
protected  java.awt.Color colorListFg
           
protected  java.awt.Color colorListFgSelected
           
protected  java.awt.Color colorListHeader
           
protected  java.awt.Color colorOuterBg
           
 
Constructor Summary
LogFilterUI(org.processmining.contexts.uitopia.UIPluginContext context)
           
 
Method Summary
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 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.
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

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 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)