public class ComputationCellModel extends CellModel
cellNameProperty
Modifier and Type | Field and Description |
---|---|
org.processmining.framework.plugin.ProMCanceller |
canceller |
int |
indexOfInputOwner |
YLog |
inputLog |
java.util.List<YLog> |
inputLogs |
javafx.beans.property.SimpleBooleanProperty |
isComputing |
Constructor and Description |
---|
ComputationCellModel(org.processmining.contexts.uitopia.UIPluginContext context,
int index,
org.processmining.framework.plugin.ProMCanceller canceller,
java.util.List<YLog> eventLogs) |
Modifier and Type | Method and Description |
---|---|
void |
addFilterModel(int index,
FilterButtonModel model) |
void |
addFilterModels(java.util.List<FilterButtonModel> models)
Adds all FilterButtonModels in a collection to this model.
|
void |
cancelCompute() |
void |
compute() |
void |
computeWithTask(javafx.concurrent.Task<java.lang.Void> computeTask)
Compute the cell by computing each of its individual filters in the
appropriate order
|
javafx.collections.ObservableList<FilterButtonModel> |
getFilters() |
javafx.collections.ObservableList<YLog> |
getOutputLogs() |
java.lang.String |
getViewTypeName() |
javax.swing.JComponent |
getVisualization(org.deckfour.uitopia.api.model.ViewType type) |
java.util.List<org.deckfour.uitopia.api.model.ViewType> |
getVisualizers() |
static void |
handleError(java.lang.Exception e) |
void |
removeFilter(FilterButtonModel filter) |
void |
saveOutputLog()
exports the output event log of this cell to the workspace.
|
void |
selectFilter(FilterButtonModel model) |
void |
setCellName(java.lang.String cellName)
Sets cellName of cell model to cellName and fires a change event
|
void |
setIndex(int index) |
void |
setInputLog(YLog log) |
void |
setInputLogs(java.util.List<YLog> eventLogs) |
void |
setOutputLogs(javafx.collections.ObservableList<YLog> outputLogs) |
void |
setViewTypeName(java.lang.String viewTypeName) |
bindCellName, cellNameProperty, getCellName, getContext, getIndex, getProperty, getStatusBar, isHidden, setContext, setHidden, setStatusBar
public org.processmining.framework.plugin.ProMCanceller canceller
public YLog inputLog
public java.util.List<YLog> inputLogs
public int indexOfInputOwner
public javafx.beans.property.SimpleBooleanProperty isComputing
public ComputationCellModel(org.processmining.contexts.uitopia.UIPluginContext context, int index, org.processmining.framework.plugin.ProMCanceller canceller, java.util.List<YLog> eventLogs)
public void setCellName(java.lang.String cellName)
CellModel
setCellName
in class CellModel
cellName
- The name to give to the cellpublic javafx.collections.ObservableList<FilterButtonModel> getFilters()
public void addFilterModel(int index, FilterButtonModel model)
public void addFilterModels(java.util.List<FilterButtonModel> models)
models
- collection of FilterButtonModels. Adds all FilterButtonModels
in a collection to this model.public void removeFilter(FilterButtonModel filter)
public void setInputLog(YLog log)
public void setInputLogs(java.util.List<YLog> eventLogs)
public void setOutputLogs(javafx.collections.ObservableList<YLog> outputLogs)
public javafx.collections.ObservableList<YLog> getOutputLogs()
public void selectFilter(FilterButtonModel model)
public void saveOutputLog()
public java.util.List<org.deckfour.uitopia.api.model.ViewType> getVisualizers()
public javax.swing.JComponent getVisualization(org.deckfour.uitopia.api.model.ViewType type)
public static void handleError(java.lang.Exception e)
public void compute()
public void computeWithTask(javafx.concurrent.Task<java.lang.Void> computeTask)
computeTask
- javafx task which is used to check whether the user cancelled
the compute taskpublic void cancelCompute()
public java.lang.String getViewTypeName()
public void setViewTypeName(java.lang.String viewTypeName)