public ManagerOutputWindow open(final ProcessInstance instance) { // open the main management window ManagerOutputWindow mngrWin = windows.get(instance); if (mngrWin == null) { mngrWin = new ManagerOutputWindow( new Action[] { new LoadAction((Engine) instance.getFactory()), new StartAction((ProcessInstance) instance), new StopAction((ProcessInstance) instance) }); windows.put(instance, mngrWin); } // *** mngrWin.attach(instance); return mngrWin; }