jetbrains.buildServer.web.openapi
Class SimpleCustomTab
java.lang.Object
jetbrains.buildServer.web.openapi.SimplePageExtension
jetbrains.buildServer.web.openapi.SimpleCustomTab
- All Implemented Interfaces:
- CustomTab, PageExtension
- Direct Known Subclasses:
- AdminPage, AgentDetailsTab, BuildTab, BuildTypeTab, ProjectTab, ViewLogTab
public class SimpleCustomTab
- extends SimplePageExtension
- implements CustomTab
CustomTab implementation
|
Method Summary |
java.lang.String |
getTabId()
Returns tab identifier |
java.lang.String |
getTabTitle()
Returns title to use as custom tab name |
boolean |
isVisible()
Return false if the tab should be active (i.e. |
void |
setTabTitle(java.lang.String title)
Setter of the tab title text, may be used from spring context |
| Methods inherited from class jetbrains.buildServer.web.openapi.SimplePageExtension |
addCssFile, addJsFile, fillModel, getCssPaths, getIncludeUrl, getJsPaths, getPlaceId, getPluginName, isAvailable, isGet, isPost, register, setIncludeUrl, setPlaceId, setPluginName, setPosition, toString, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleCustomTab
public SimpleCustomTab(@NotNull
PagePlaces pagePlaces)
SimpleCustomTab
public SimpleCustomTab(@NotNull
PagePlaces pagePlaces,
@NotNull
PlaceId placeId,
@NotNull
java.lang.String tabId,
@NotNull
java.lang.String includeUrl,
@NotNull
java.lang.String title)
getTabId
@NotNull
public final java.lang.String getTabId()
- Description copied from interface:
CustomTab
- Returns tab identifier
- Specified by:
getTabId in interface CustomTab
- Returns:
- tab identifier
getTabTitle
@NotNull
public java.lang.String getTabTitle()
- Description copied from interface:
CustomTab
- Returns title to use as custom tab name
- Specified by:
getTabTitle in interface CustomTab
- Returns:
- tab title
isVisible
public boolean isVisible()
- Description copied from interface:
CustomTab
- Return false if the tab should be active (i.e. handle requests) but not visible for some reason
- Specified by:
isVisible in interface CustomTab
- Returns:
- see above
setTabTitle
public void setTabTitle(@NotNull
java.lang.String title)
- Setter of the tab title text, may be used from spring context
- Parameters:
title - tab title