Interface TabPanel<D extends TabPanelModuleDescriptor,C extends BrowseContext>
- All Known Subinterfaces:
ComponentTabPanel,ProjectTabPanel,VersionTabPanel
- All Known Implementing Classes:
AbstractFragmentBasedTabPanel,AbstractFragmentBasedVersionTabPanel,AbstractProjectTabPanel,ComponentsProjectTabPanel,ComponentsVersionsProjectTabPanel,GenericProjectTabPanel,GenericTabPanel,GenericTabPanel,GenericVersionsProjectTabPanel,IssuesProjectTabPanel,IssuesVersionTabPanel,ReferenceProjectTabPanel,ReportsProjectTabPanel,SummaryProjectTabPanel,SummaryVersionTabPanel
Unified interface for all fragment-based tab panels.
- Since:
- v4.0
-
Method Summary
-
Method Details
-
init
Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor. This is usually used for rendering velocity views.- Parameters:
descriptor- the descriptor for this module as defined in the plugin xml descriptor.
-
getHtml
Used to render the tab.- Parameters:
ctx- The current context the tab is rendering in.- Returns:
- Escaped string with the required html.
-
showPanel
Determine whether or not to show this.- Parameters:
ctx- The current context the tab is rendering in.- Returns:
- True if the conditions are right to display tab, otherwise false.
-