* This is the default constructor
*/
public CapacityAnalysisDialog(JFrame owner, IEditor editor) {
super(owner, Messages.getTitle("QuantAna.CapacityPlanning"), true);
this.editor = editor;
graph = new WorkflowNetGraph(editor);
numTransGT0 = graph.getNumTransitionsGT0();
//calculateNumOfRuns();
initResourceAlloc();
numResCls = resAlloc.getNumOfResClasses();
tm = new TimeModel(1, 1.0);