com.atlassian.jira.plugin.projectpanel.fragment.impl
Class FiltersMenuFragment
java.lang.Object
com.atlassian.jira.plugin.projectpanel.fragment.impl.FiltersMenuFragment
- All Implemented Interfaces:
- MenuFragment
- Direct Known Subclasses:
- FiltersMenuComponentFragment, FiltersMenuVersionFragment
public class FiltersMenuFragment
- extends Object
- implements MenuFragment
Displays a Project Filters dropdown on the browse project page.
- Since:
- v4.0
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
FiltersMenuFragment
public FiltersMenuFragment(WebFragmentWebComponent webFragmentWebComponent)
getId
public String getId()
- Description copied from interface:
MenuFragment
- The id of the fragment div
- Specified by:
getId
in interface MenuFragment
- Returns:
- a valid html id string that represents this menu item/frag.
getHtml
public String getHtml(BrowseContext ctx)
- Description copied from interface:
MenuFragment
- The Html representation of this menu. Typically an anchor followed by an unordered list.
- Specified by:
getHtml
in interface MenuFragment
- Parameters:
ctx
- The context under which this menu is being used. Project, component, version...
- Returns:
- valid html for this menu fragment
showFragment
public boolean showFragment(BrowseContext ctx)
- Description copied from interface:
MenuFragment
- Whether or not to show this menu fragment.
- Specified by:
showFragment
in interface MenuFragment
- Parameters:
ctx
- The context under which this menu is being used. Project, component, version...
- Returns:
- true is the menu should be shown, false otherwise.
Copyright © 2002-2012 Atlassian. All Rights Reserved.