1 package org.enhydra.shark.swingclient.workflowadmin.application.actions; 2 3 import java.awt.event.*; 4 import java.util.Map ; 5 6 import org.enhydra.shark.swingclient.*; 7 import org.enhydra.shark.swingclient.workflowadmin.*; 8 import org.enhydra.shark.swingclient.workflowadmin.application.*; 9 10 16 public class AddApplicationMapping extends ActionBase { 17 18 public AddApplicationMapping (ApplicationMappingManagement pm) { 19 super(pm); 20 } 21 22 public void actionPerformed(ActionEvent e) { 23 ApplicationMappingManagement pmm=(ApplicationMappingManagement)actionPanel; 24 SharkAdmin workflowAdmin=pmm.getWorkflowAdmin(); 25 26 Map allProc=null; 27 try { 28 allProc=SharkAdmin.getApplicationMappingsAdmin().getToolAgentsInfo(); 29 } catch (Exception ex) { 30 } 31 ApplicationMapping pm=new ApplicationMapping( 32 pmm, 33 pmm.getApplicationKeyToApplication().values(), 34 allProc); 35 pm.showDialog(); 36 } 37 38 } 39 | Popular Tags |