1 package org.enhydra.shark.corbaclient.workflowadmin.instantiation.actions; 2 3 import java.awt.event.*; 4 5 6 import org.omg.WorkflowModel.*; 7 import org.enhydra.shark.corbaclient.*; 8 import org.enhydra.shark.corbaclient.workflowadmin.*; 9 import org.enhydra.shark.corbaclient.workflowadmin.instantiation.*; 10 11 17 public class ProcessDescription extends ActionBase { 18 19 public ProcessDescription (ProcessInstantiationManagement pim) { 20 super(pim); 21 } 22 23 public void actionPerformed(ActionEvent e) { 24 ProcessInstantiationManagement pim=(ProcessInstantiationManagement)actionPanel; 25 SharkAdmin workflowAdmin=pim.getWorkflowAdmin(); 26 27 WfProcessMgr spm=pim.getSelectedProcessMgr(); 28 if (spm!=null) { 29 try { 30 String desc=ResourceManager.getLanguageDependentString("DescriptionKey"); 31 ItemView iv=new ItemView(workflowAdmin.getFrame(), 32 desc+" - "+spm.name(), 33 desc, 34 spm.description()); 35 iv.showDialog(); 36 } catch (Exception ex) {} 37 } 38 } 39 40 } 41 | Popular Tags |