Interface IvMFilterBuilder<X,Y,G extends IvMFilterGui>
-
- All Superinterfaces:
java.lang.Comparable<IvMFilterBuilder<?,?,?>>
- All Known Implementing Classes:
FilterIMTraceAnd,FilterIMTraceAny,FilterIMTraceAttribute,FilterIMTraceEndsWithEvent,FilterIMTraceFollows,FilterIMTraceOr,FilterIMTraceStartsWithEvent,FilterIMTraceWithEvent,FilterIMTraceWithEventTwice,FilterIMTraceWithoutAttribute,FilterIMTraceWithoutEvent,FilterIvMMoveAnd,FilterIvMMoveAny,FilterIvMMoveAttribute,FilterIvMMoveNo,FilterIvMMoveOr,FilterIvMTraceAnd,FilterIvMTraceAny,FilterIvMTraceAttribute,FilterIvMTraceCohort,FilterIvMTraceEndsWithEvent,FilterIvMTraceFollows,FilterIvMTraceOr,FilterIvMTraceStartsWithEvent,FilterIvMTraceWithEvent,FilterIvMTraceWithEventTwice,FilterIvMTraceWithoutAttribute,FilterIvMTraceWithoutEvent,FilterXEventAnd,FilterXEventAny,FilterXEventAttribute,FilterXEventOr,IvMFilterBuilderAbstract
public interface IvMFilterBuilder<X,Y,G extends IvMFilterGui> extends java.lang.Comparable<IvMFilterBuilder<?,?,?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallowsChildren()IvMFilterTreeNode<X>buildFilter(G gui)Creates a filter node without children.GcreateGui(java.lang.Runnable onUpdate, IvMDecoratorI decorator)java.lang.Class<Y>getChildrenTargetClass()java.lang.Class<X>getTargetClass()voidsetAttributesInfo(org.processmining.plugins.inductiveminer2.attributes.AttributesInfo attributesInfo, G gui)<TI,TO,FI,FO>
voidsetCommunicationChannel(FilterCommunicator<TI,TO,FI,FO> channel, G gui)Add a communication channel to/from a filter.java.lang.StringtoString()toString must be overridden with the name of the filter.java.lang.StringtoString(G panel)
-
-
-
Method Detail
-
toString
java.lang.String toString()
toString must be overridden with the name of the filter.- Overrides:
toStringin classjava.lang.Object- Returns:
-
toString
java.lang.String toString(G panel)
- Parameters:
panel-- Returns:
- a short description of the currently set-up filter (might be used in the tree view)
-
allowsChildren
boolean allowsChildren()
-
getTargetClass
java.lang.Class<X> getTargetClass()
-
getChildrenTargetClass
java.lang.Class<Y> getChildrenTargetClass()
-
createGui
G createGui(java.lang.Runnable onUpdate, IvMDecoratorI decorator)
-
buildFilter
IvMFilterTreeNode<X> buildFilter(G gui)
Creates a filter node without children. Note that this method may use the filter's gui to obtain settings, but must copy these in order to guarantee thread-safeness. The returned treeNode must not contain pointers to gui elements.- Returns:
-
setAttributesInfo
void setAttributesInfo(org.processmining.plugins.inductiveminer2.attributes.AttributesInfo attributesInfo, G gui)
-
setCommunicationChannel
<TI,TO,FI,FO> void setCommunicationChannel(FilterCommunicator<TI,TO,FI,FO> channel, G gui)
Add a communication channel to/from a filter. The implementation may use the gui, as this method will only be called on the gui thread.- Type Parameters:
TI-TO-FI-FO-- Parameters:
channel-gui-
-
-