public class NetViewModelImpl
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.processmining.dataawareexplorer.explorer.netview.impl.NetViewAbstractImpl.ConfigurationPanelImpl |
configPanel |
protected ModelDecorationDataImpl |
decorationData |
protected ExplorerContext |
explorerContext |
protected ExplorerModel |
explorerModel |
protected InfoDataImpl |
infoData |
protected ExplorerUpdater |
updater |
Constructor and Description |
---|
NetViewModelImpl(ExplorerContext explorerContext,
ExplorerUpdater updater,
ExplorerModel explorerInput) |
Modifier and Type | Method and Description |
---|---|
protected double |
computeAvgAtomsPerTransition(org.processmining.datapetrinets.DataPetriNet net) |
protected double |
computeAvgAtomsPerTransition(org.processmining.models.graphbased.directed.petrinet.elements.Place place) |
protected static java.lang.String |
convertGuardToEdgeLabel(org.processmining.datapetrinets.expression.GuardExpression guard) |
ConfigurationPanel |
getConfigurationPanel() |
protected org.processmining.framework.plugin.PluginContext |
getContext() |
InfoData |
getInfoData() |
ModelDecorationData |
getModelDecorationData() |
protected void |
setGuardLabel(org.processmining.datapetrinets.DataPetriNet net,
org.processmining.models.graphbased.directed.petrinet.elements.Transition transition,
org.processmining.datapetrinets.expression.GuardExpression guard) |
void |
updateData()
Called on a background thread whenever the input data changed.
|
void |
updateUI()
Called on the EDT thread after the data has been updated
|
protected final ExplorerModel explorerModel
protected final ModelDecorationDataImpl decorationData
protected final InfoDataImpl infoData
protected final org.processmining.dataawareexplorer.explorer.netview.impl.NetViewAbstractImpl.ConfigurationPanelImpl configPanel
protected final ExplorerContext explorerContext
protected final ExplorerUpdater updater
public NetViewModelImpl(ExplorerContext explorerContext, ExplorerUpdater updater, ExplorerModel explorerInput)
public void updateData() throws NetVisualizationException
NetView
updateData
in interface NetView
NetVisualizationException
protected static java.lang.String convertGuardToEdgeLabel(org.processmining.datapetrinets.expression.GuardExpression guard)
protected void setGuardLabel(org.processmining.datapetrinets.DataPetriNet net, org.processmining.models.graphbased.directed.petrinet.elements.Transition transition, org.processmining.datapetrinets.expression.GuardExpression guard)
protected double computeAvgAtomsPerTransition(org.processmining.datapetrinets.DataPetriNet net)
protected double computeAvgAtomsPerTransition(org.processmining.models.graphbased.directed.petrinet.elements.Place place)
public ModelDecorationData getModelDecorationData()
getModelDecorationData
in interface NetView
public InfoData getInfoData()
getInfoData
in interface NetView
public void updateUI()
NetView
public ConfigurationPanel getConfigurationPanel()
getConfigurationPanel
in interface NetView
protected org.processmining.framework.plugin.PluginContext getContext()