1 package org.enhydra.shark.swingclient.workflowadmin.instantiation.actions; 2 3 import java.awt.event.*; 4 5 import javax.swing.*; 6 7 8 import org.enhydra.shark.api.client.wfmodel.*; 9 import org.enhydra.shark.swingclient.*; 10 import org.enhydra.shark.swingclient.workflowadmin.*; 11 import org.enhydra.shark.swingclient.workflowadmin.instantiation.*; 12 13 19 public class ViewProcess extends ActionBase { 20 21 public ViewProcess (ProcessInstantiationManagement pim) { 22 super(pim); 23 } 24 25 public void actionPerformed(ActionEvent e) { 26 ProcessInstantiationManagement pim=(ProcessInstantiationManagement)actionPanel; 27 SharkAdmin workflowAdmin=pim.getWorkflowAdmin(); 28 29 WfProcessMgr spm=pim.getSelectedProcessMgr(); 30 if (spm==null) return; 31 pim.getProcessViewer().showDialog(); 32 } 33 } 34 | Popular Tags |