All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.uni.freiburg.iig.telematik.sepia.parser.graphic.PNMLParameterPanel Maven / Gradle / Ivy

Go to download

SEPIA provides implementations for various types of Petri nets. Along Place/Transition-nets, it supports Petri nets with distinguishable token colors and defines coloured workflow nets, where coloured tokens are interpreted as data elements used during process execution. To support information flow analysis of processes, SEPIA defines so-called IF-Nets, tailored for security-oriented workflow modeling which enable users to assign security-levels (HIGH, LOW) to transitions, data elements and persons/agents participating in the process execution.

The newest version!
package de.uni.freiburg.iig.telematik.sepia.parser.graphic;

import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JCheckBox;
import javax.swing.JPanel;

public class PNMLParameterPanel extends JPanel{

	private static final long serialVersionUID = 3451964808731275078L;
	
	private JCheckBox requireNetTypeBox = null;
	private JCheckBox validationBox = null;
	
	public PNMLParameterPanel(){
		super();
		setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
		add(Box.createHorizontalGlue());
		requireNetTypeBox = new JCheckBox("Require net type attribute");
		validationBox = new JCheckBox("Validate input net");
		add(requireNetTypeBox);
		add(validationBox);
		add(Box.createHorizontalGlue());
	}
	
	public boolean requireNetType(){
		return requireNetTypeBox.isSelected();
	}
	
	public boolean validation(){
		return validationBox.isSelected();
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy