1 package org.enhydra.shark.swingclient.workflowadmin.monitoring.actions; 2 3 import java.awt.event.*; 4 5 6 import org.enhydra.jawe.xml.elements.*; 7 import org.enhydra.shark.swingclient.*; 8 import org.enhydra.shark.swingclient.workflowadmin.*; 9 import org.enhydra.shark.swingclient.workflowadmin.monitoring.*; 10 11 17 public class ManuallyStartActivity extends ActionBase { 18 19 public ManuallyStartActivity (ManageActivities ma) { 20 super(ma); 21 } 22 23 public void actionPerformed(ActionEvent e) { 24 ManageActivities ma=(ManageActivities)actionPanel; 25 Activity selAct=ma.getSelectedActivity(); 26 if (selAct!=null) { 27 try { 28 SharkAdmin.getExecAmin().startActivity(ma.getProcess().key(),"",selAct.getID()); 29 } catch (Exception ex){} 30 ma.updateListDisplay(selAct); 31 ma.updateProcessView(); 32 } 33 } 34 35 } 36 37 | Popular Tags |