001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    
005    package graphlab.plugins.reports.ui;
006    
007    import graphlab.platform.core.BlackBoard;
008    import graphlab.plugins.reports.extension.GraphReportExtensionHandler;
009    import graphlab.ui.components.GComponentInterface;
010    
011    import java.awt.*;
012    
013    public class ReportsSideBar implements GComponentInterface {
014        public Component getComponent(BlackBoard b) {
015    
016            ReportsUI reportsUI = ((ReportsUI) b.getData(GraphReportExtensionHandler.REPORTS_SIDEBAR));
017    //        reportsUI.reCalculateReports();
018            return reportsUI.initWrapper();
019    
020        }
021    }