public class HistoricTaskDetailPanel extends DetailPanel
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.MarginInfo, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
Modifier and Type | Field and Description |
---|---|
protected AttachmentRendererManager |
attachmentRendererManager |
protected com.vaadin.ui.VerticalLayout |
centralLayout |
protected HistoricTaskInstance |
historicTask |
protected HistoryService |
historyService |
protected I18nManager |
i18nManager |
protected NotificationManager |
notificationManager |
protected com.vaadin.ui.GridLayout |
peopleGrid |
protected com.vaadin.ui.VerticalLayout |
peopleLayout |
protected com.vaadin.ui.VerticalLayout |
relatedContentLayout |
protected com.vaadin.ui.GridLayout |
subTaskGrid |
protected com.vaadin.ui.VerticalLayout |
subTasksLayout |
protected TaskPage |
taskPage |
protected TaskService |
taskService |
protected ViewManager |
viewManager |
mainPanel
Constructor and Description |
---|
HistoricTaskDetailPanel(HistoricTaskInstance historicTask,
TaskPage taskPage) |
Modifier and Type | Method and Description |
---|---|
void |
attach() |
protected Integer |
convertPriority(int priority)
Returns a numeric priority - low (1), medium (2) or high (3) -
based on the given numeric priority value.
|
protected void |
init() |
protected void |
initAssignee() |
protected void |
initDescription() |
protected void |
initHeader() |
protected void |
initNoRelatedContentLabel() |
protected void |
initNoSubTasksLabel() |
protected void |
initOwner() |
protected void |
initParentTaskLink() |
protected void |
initPeopleDetails() |
protected void |
initPeopleGrid() |
protected void |
initPeopleTitle() |
protected void |
initRelatedContent() |
protected com.vaadin.ui.Table |
initRelatedContentTable() |
protected void |
initRelatedContentTitle() |
protected void |
initSubTaskGrid() |
protected void |
initSubTasks() |
protected void |
initSubTaskTitle() |
protected void |
populateRelatedContent(com.vaadin.ui.Table table,
List<Attachment> attachments) |
protected void |
populateSubTasks(List<HistoricTaskInstance> subTasks) |
addComponent, addComponent, addComponentAsFirst, addDetailComponent, addDetailComponent, getMainPanel, setDetailContainer, setDetailExpandRatio, setFixedButtons
addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, paintContent, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacing
changeVariables, fireClick, getMargin, setMargin, setMargin, setMargin
addListener, addListener, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addListener, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll
addListener, addStyleName, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
protected HistoricTaskInstance historicTask
protected transient HistoryService historyService
protected transient TaskService taskService
protected transient ViewManager viewManager
protected I18nManager i18nManager
protected NotificationManager notificationManager
protected AttachmentRendererManager attachmentRendererManager
protected TaskPage taskPage
protected com.vaadin.ui.VerticalLayout centralLayout
protected com.vaadin.ui.VerticalLayout peopleLayout
protected com.vaadin.ui.GridLayout peopleGrid
protected com.vaadin.ui.VerticalLayout subTasksLayout
protected com.vaadin.ui.GridLayout subTaskGrid
protected com.vaadin.ui.VerticalLayout relatedContentLayout
public HistoricTaskDetailPanel(HistoricTaskInstance historicTask, TaskPage taskPage)
public void attach()
attach
in interface com.vaadin.ui.Component
attach
in class com.vaadin.ui.AbstractComponentContainer
protected void init()
protected void initHeader()
protected void initDescription()
protected void initParentTaskLink()
protected void initPeopleDetails()
protected void initPeopleTitle()
protected void initPeopleGrid()
protected void initOwner()
protected void initAssignee()
protected void initSubTasks()
protected void initSubTaskTitle()
protected void initSubTaskGrid()
protected void populateSubTasks(List<HistoricTaskInstance> subTasks)
protected void initNoSubTasksLabel()
protected void initRelatedContent()
protected void initRelatedContentTitle()
protected com.vaadin.ui.Table initRelatedContentTable()
protected void populateRelatedContent(com.vaadin.ui.Table table, List<Attachment> attachments)
protected void initNoRelatedContentLabel()
protected Integer convertPriority(int priority)
Copyright © 2016 Alfresco. All rights reserved.