com.atlassian.jira.plugin.projectpanel.impl
Class VersionsProjectTabPanel
java.lang.Object
com.atlassian.jira.plugin.projectpanel.impl.AbstractProjectTabPanel
com.atlassian.jira.plugin.projectpanel.impl.VersionsProjectTabPanel
- All Implemented Interfaces:
- ProjectTabPanel
public class VersionsProjectTabPanel
- extends AbstractProjectTabPanel
Method Summary |
String |
getHtml(Browser browser)
Run this tab panel for a given Browser action. |
protected boolean |
isFixForVersionsFieldVisible(Long projectId)
Returns true if the fixfor versions field is visible in at least one scheme, false otherwise. |
boolean |
showPanel(ProjectActionSupport action,
org.ofbiz.core.entity.GenericValue project)
Returns true if versions field is visible and project has at least one version |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionsProjectTabPanel
public VersionsProjectTabPanel(JiraAuthenticationContext authenticationContext,
ProjectManager projectManager,
VersionManager versionManager,
ApplicationProperties applicationProperties,
PermissionManager permissionManager)
getHtml
public String getHtml(Browser browser)
- Description copied from interface:
ProjectTabPanel
- Run this tab panel for a given Browser action.
- Parameters:
browser
- The current Browser action
- Returns:
- HTML result of the tab panel.
showPanel
public boolean showPanel(ProjectActionSupport action,
org.ofbiz.core.entity.GenericValue project)
- Returns true if versions field is visible and project has at least one version
- Specified by:
showPanel
in interface ProjectTabPanel
- Overrides:
showPanel
in class AbstractProjectTabPanel
- Parameters:
action
- project actionproject
- project generic value
- Returns:
- true if project has at least one version and fixfor versions field is visible
isFixForVersionsFieldVisible
protected boolean isFixForVersionsFieldVisible(Long projectId)
- Returns true if the fixfor versions field is visible in at least one scheme, false otherwise.
- Parameters:
projectId
- project ID
- Returns:
- true if the fixfor versions field is visible in at least one scheme, false otherwise.
Copyright © 2002-2009 Atlassian. All Rights Reserved.