CCM NG/ccm-cms: ReportPane in ContentSectionPage enabled
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4522 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 78d0833d99
pull/2/head
parent
cd80317c6c
commit
6aee634451
|
|
@ -128,7 +128,7 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
private ContentTypeAdminPane m_typePane;
|
||||
//private LayoutPanel m_userAdminPane;
|
||||
private LayoutPanel m_csePane;
|
||||
//ToDo NG private ReportPane m_reportPane;
|
||||
private ReportPane m_reportPane;
|
||||
|
||||
/**
|
||||
* Creates the content section index page containing - a Navigaton bar for
|
||||
|
|
@ -157,7 +157,7 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
// folder) which moved to the FolderAdminPane
|
||||
//m_userAdminPane = getUserAdminPane();
|
||||
m_csePane = getCSEPane();
|
||||
//ToDo NG m_reportPane = getReportPane();
|
||||
m_reportPane = getReportPane();
|
||||
|
||||
// The panes
|
||||
m_tabbedPane = createTabbedPane();
|
||||
|
|
@ -220,6 +220,7 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
/**
|
||||
* Creates, and then caches, the browse pane. Overriding this method to
|
||||
* return null will prevent this tab from appearing.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
protected FolderAdminPane getFolderAdminPane() {
|
||||
|
|
@ -242,10 +243,10 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
// }
|
||||
// return m_browsePane;
|
||||
// }
|
||||
|
||||
/**
|
||||
* Creates, and then caches, the search pane. Overriding this method to
|
||||
* return null will prevent this tab from appearing.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
// ToDo NG
|
||||
|
|
@ -258,7 +259,6 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
// }
|
||||
// return m_searchPane;
|
||||
// }
|
||||
|
||||
// ToDo NG
|
||||
// protected ImagesPane getImagesPane() {
|
||||
// if (m_imagesPane == null) {
|
||||
|
|
@ -266,7 +266,6 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
// }
|
||||
// return m_imagesPane;
|
||||
// }
|
||||
|
||||
// ToDo NG
|
||||
// protected RoleAdminPane getRoleAdminPane() {
|
||||
// if (m_rolePane == null) {
|
||||
|
|
@ -274,7 +273,6 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
// }
|
||||
// return m_rolePane;
|
||||
// }
|
||||
|
||||
/**
|
||||
* Creates, and then caches, the workflow administration pane. Overriding
|
||||
* this method to return null will prevent this tab from appearing.
|
||||
|
|
@ -308,7 +306,6 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
// }
|
||||
// return m_categoryPane;
|
||||
// }
|
||||
|
||||
/**
|
||||
* Creates, and then caches, the content type administration pane.
|
||||
* Overriding this method to return null will prevent this tab from
|
||||
|
|
@ -340,13 +337,12 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
return m_csePane;
|
||||
}
|
||||
|
||||
// ToDo NG
|
||||
// protected ReportPane getReportPane() {
|
||||
// if (m_reportPane == null) {
|
||||
// m_reportPane = new ReportPane();
|
||||
// }
|
||||
// return m_reportPane;
|
||||
// }
|
||||
protected ReportPane getReportPane() {
|
||||
if (m_reportPane == null) {
|
||||
m_reportPane = new ReportPane();
|
||||
}
|
||||
return m_reportPane;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the specified component, with the specified tab name, to the tabbed
|
||||
|
|
@ -401,7 +397,6 @@ public class ContentSectionPage extends CMSPage implements ActionListener {
|
|||
tab(pane, "cms.ui.cse", getCSEPane());
|
||||
// ToDo NG tab(pane, "cms.ui.reports", getReportPane());
|
||||
|
||||
|
||||
return pane;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue