Class NetViewModelImpl
- java.lang.Object
-
- org.processmining.dataawareexplorer.explorer.netview.impl.NetViewModelImpl
-
- All Implemented Interfaces:
NetView
public class NetViewModelImpl extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.processmining.dataawareexplorer.explorer.netview.impl.NetViewAbstractImpl.ConfigurationPanelImplconfigPanelprotected ModelDecorationDataImpldecorationDataprotected ExplorerContextexplorerContextprotected ExplorerModelexplorerModelprotected InfoDataImplinfoDataprotected ExplorerUpdaterupdater
-
Constructor Summary
Constructors Constructor Description NetViewModelImpl(ExplorerContext explorerContext, ExplorerUpdater updater, ExplorerModel explorerInput)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doublecomputeAvgAtomsPerTransition(org.processmining.datapetrinets.DataPetriNet net)protected doublecomputeAvgAtomsPerTransition(org.processmining.models.graphbased.directed.petrinet.elements.Place place)protected static java.lang.StringconvertGuardToEdgeLabel(org.processmining.datapetrinets.expression.GuardExpression guard)ConfigurationPanelgetConfigurationPanel()protected org.processmining.framework.plugin.PluginContextgetContext()InfoDatagetInfoData()ModelDecorationDatagetModelDecorationData()protected voidsetGuardLabel(org.processmining.datapetrinets.DataPetriNet net, org.processmining.models.graphbased.directed.petrinet.elements.Transition transition, org.processmining.datapetrinets.expression.GuardExpression guard)voidupdateData()Called on a background thread whenever the input data changed.voidupdateUI()Called on the EDT thread after the data has been updated
-
-
-
Field Detail
-
explorerModel
protected final ExplorerModel explorerModel
-
decorationData
protected final ModelDecorationDataImpl decorationData
-
infoData
protected final InfoDataImpl infoData
-
configPanel
protected final org.processmining.dataawareexplorer.explorer.netview.impl.NetViewAbstractImpl.ConfigurationPanelImpl configPanel
-
explorerContext
protected final ExplorerContext explorerContext
-
updater
protected final ExplorerUpdater updater
-
-
Constructor Detail
-
NetViewModelImpl
public NetViewModelImpl(ExplorerContext explorerContext, ExplorerUpdater updater, ExplorerModel explorerInput)
-
-
Method Detail
-
updateData
public void updateData() throws NetVisualizationExceptionDescription copied from interface:NetViewCalled on a background thread whenever the input data changed. For example, the alignment changed, the current filter changed, etc.- Specified by:
updateDatain interfaceNetView- Throws:
NetVisualizationException
-
convertGuardToEdgeLabel
protected static java.lang.String convertGuardToEdgeLabel(org.processmining.datapetrinets.expression.GuardExpression guard)
-
setGuardLabel
protected void setGuardLabel(org.processmining.datapetrinets.DataPetriNet net, org.processmining.models.graphbased.directed.petrinet.elements.Transition transition, org.processmining.datapetrinets.expression.GuardExpression guard)
-
computeAvgAtomsPerTransition
protected double computeAvgAtomsPerTransition(org.processmining.datapetrinets.DataPetriNet net)
-
computeAvgAtomsPerTransition
protected double computeAvgAtomsPerTransition(org.processmining.models.graphbased.directed.petrinet.elements.Place place)
-
getModelDecorationData
public ModelDecorationData getModelDecorationData()
- Specified by:
getModelDecorationDatain interfaceNetView
-
getInfoData
public InfoData getInfoData()
- Specified by:
getInfoDatain interfaceNetView
-
updateUI
public void updateUI()
Description copied from interface:NetViewCalled on the EDT thread after the data has been updated
-
getConfigurationPanel
public ConfigurationPanel getConfigurationPanel()
- Specified by:
getConfigurationPanelin interfaceNetView
-
getContext
protected org.processmining.framework.plugin.PluginContext getContext()
-
-