com.atlassian.gadgets.dashboard.internal.impl
Class TabImpl
java.lang.Object
com.atlassian.gadgets.dashboard.internal.impl.TabImpl
- All Implemented Interfaces:
- Tab
public class TabImpl
- extends Object
- implements Tab
Constructor Summary |
TabImpl(com.atlassian.gadgets.dashboard.DashboardTab tab,
boolean writable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabImpl
public TabImpl(com.atlassian.gadgets.dashboard.DashboardTab tab,
boolean writable)
getDashboardId
public com.atlassian.gadgets.dashboard.DashboardId getDashboardId()
- Specified by:
getDashboardId
in interface Tab
- Returns:
- The id for the dashboard this tab represents
getTitle
public String getTitle()
- Specified by:
getTitle
in interface Tab
- Returns:
- The title of this tab
getTabUri
public URI getTabUri()
- Specified by:
getTabUri
in interface Tab
- Returns:
- The url to navigate to when clicking this tab
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interface Tab
- Returns:
- true if the current user has write permission for the tab this dashbaord represents
Copyright © 2012 Atlassian. All Rights Reserved.