1 package org.enhydra.shark.swingclient.workflowadmin.report; 2 3 import java.awt.*; 4 5 import javax.swing.*; 6 7 import org.enhydra.shark.swingclient.*; 8 import org.enhydra.shark.swingclient.workflowadmin.*; 9 10 16 public class ReportManagement extends ActionPanel { 17 18 private JTabbedPane tabbedPane; 19 private SharkAdmin workflowAdmin; 20 21 private ProcessReportManagement processReportManagement; 22 private UserReportManagement userReportManagement; 23 private WorkitemReportManagement workitemReportManagement; 24 25 public ReportManagement (SharkAdmin wa) { 26 super(); 27 28 this.workflowAdmin=wa; 30 processReportManagement=new ProcessReportManagement(wa); 31 userReportManagement=new UserReportManagement(wa); 32 workitemReportManagement=new WorkitemReportManagement(wa); 33 34 super.init(); 35 } 36 37 protected void createActions () {} 38 39 protected Component createCenterComponent () { 41 tabbedPane=new JTabbedPane(); 42 tabbedPane.addTab( 43 ResourceManager.getLanguageDependentString("ProcessKey"), 44 processReportManagement); 45 tabbedPane.addTab( 46 ResourceManager.getLanguageDependentString("UserKey"), 47 userReportManagement); 48 tabbedPane.addTab(ResourceManager.getLanguageDependentString("WorkitemKey"), 49 workitemReportManagement); 50 return tabbedPane; 51 } 52 53 public void clear () { 54 tabbedPane.setSelectedIndex(0); 55 } 59 60 public synchronized void refresh (boolean mandatoryRefreshing) { 61 } 65 66 public ProcessReportManagement getProcessReportManagement () { 67 return processReportManagement; 68 } 69 70 public UserReportManagement getUserReportManagement () { 71 return userReportManagement; 72 } 73 74 public WorkitemReportManagement getWorkitemReportManagement () { 75 return workitemReportManagement; 76 } 77 78 } 79 | Popular Tags |