|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.plugin.browsepanel.AbstractFragmentBasedTabPanel<D,C,F>
public abstract class AbstractFragmentBasedTabPanel<D extends TabPanelModuleDescriptor,C extends BrowseContext,F extends ProjectTabPanelFragment>
Abstract base for TabPanel implementers to extend. This looks
after the layout of all the fragments on the page and delegates content to the
ProjectTabPanelFragment.
| Field Summary | |
|---|---|
protected D |
moduleDescriptor
|
| Constructor Summary | |
|---|---|
AbstractFragmentBasedTabPanel()
|
|
| Method Summary | |
|---|---|
String |
createEmptyContent()
Create content for when there ae no fragments shown. |
String |
getHtml(C ctx)
Used to render the tab. |
String |
getInlineHeader()
|
protected abstract List<F> |
getLeftColumnFragments(C ctx)
|
protected List<MenuFragment> |
getMenuFragments()
|
protected abstract List<F> |
getRightColumnFragments(C ctx)
|
void |
init(D descriptor)
Initialize the tab panel panel with the plugins ProjectTabPanelModuleDescriptor. |
boolean |
showPanel(C context)
Determine whether or not to show this. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected D extends TabPanelModuleDescriptor moduleDescriptor
| Constructor Detail |
|---|
public AbstractFragmentBasedTabPanel()
| Method Detail |
|---|
public void init(D descriptor)
TabPanel
init in interface TabPanel<D extends TabPanelModuleDescriptor,C extends BrowseContext>descriptor - the descriptor for this module as defined in the plugin xml descriptor.public String getHtml(C ctx)
TabPanel
getHtml in interface TabPanel<D extends TabPanelModuleDescriptor,C extends BrowseContext>ctx - The current context the tab is rendering in.
public String getInlineHeader()
public String createEmptyContent()
protected abstract List<F> getLeftColumnFragments(C ctx)
ctx - the browse context
protected abstract List<F> getRightColumnFragments(C ctx)
ctx - the browse context
protected List<MenuFragment> getMenuFragments()
public boolean showPanel(C context)
TabPanel
showPanel in interface TabPanel<D extends TabPanelModuleDescriptor,C extends BrowseContext>context - The current context the tab is rendering in.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||