public class TaskDetailPanel 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 com.vaadin.ui.VerticalLayout |
centralLayout |
protected com.vaadin.ui.Button |
claimButton |
protected com.vaadin.ui.Button |
completeButton |
protected FormService |
formService |
protected I18nManager |
i18nManager |
protected TaskInvolvedPeopleComponent |
involvedPeople |
protected NotificationManager |
notificationManager |
protected TaskRelatedContentComponent |
relatedContent |
protected RepositoryService |
repositoryService |
protected SubTaskComponent |
subTaskComponent |
protected Task |
task |
protected FormPropertiesForm |
taskForm |
protected TaskPage |
taskPage |
protected TaskService |
taskService |
protected ViewManager |
viewManager |
mainPanel
Constructor and Description |
---|
TaskDetailPanel(Task task,
TaskPage taskPage) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEmptySpace(com.vaadin.ui.ComponentContainer container) |
void |
attach() |
protected boolean |
canUserClaimTask() |
protected String |
getProcessDisplayName(ProcessDefinition processDefinition) |
protected void |
init() |
protected void |
initClaimButton(com.vaadin.ui.HorizontalLayout layout) |
protected void |
initCreateTime(com.vaadin.ui.HorizontalLayout propertiesLayout) |
protected void |
initDescription(com.vaadin.ui.HorizontalLayout layout) |
protected void |
initDescriptionAndClaimButton() |
protected void |
initHeader() |
protected void |
initParentTaskLink() |
protected void |
initPeopleDetails() |
protected void |
initProcessLink() |
protected void |
initRelatedContent() |
protected void |
initSubTasks() |
protected void |
initTaskForm() |
protected boolean |
isCurrentUserAssignee() |
protected boolean |
isCurrentUserOwner() |
void |
notifyAssigneeChanged() |
void |
notifyOwnerChanged() |
void |
notifyPeopleInvolvedChanged() |
void |
notifyRelatedContentChanged() |
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 Task task
protected transient TaskService taskService
protected transient FormService formService
protected transient RepositoryService repositoryService
protected ViewManager viewManager
protected I18nManager i18nManager
protected NotificationManager notificationManager
protected TaskPage taskPage
protected com.vaadin.ui.VerticalLayout centralLayout
protected FormPropertiesForm taskForm
protected TaskInvolvedPeopleComponent involvedPeople
protected SubTaskComponent subTaskComponent
protected TaskRelatedContentComponent relatedContent
protected com.vaadin.ui.Button completeButton
protected com.vaadin.ui.Button claimButton
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 initCreateTime(com.vaadin.ui.HorizontalLayout propertiesLayout)
protected void initDescriptionAndClaimButton()
protected void initClaimButton(com.vaadin.ui.HorizontalLayout layout)
protected void initDescription(com.vaadin.ui.HorizontalLayout layout)
protected void initProcessLink()
protected String getProcessDisplayName(ProcessDefinition processDefinition)
protected void initParentTaskLink()
protected void initPeopleDetails()
protected void initSubTasks()
protected void initRelatedContent()
protected void initTaskForm()
protected boolean isCurrentUserAssignee()
protected boolean isCurrentUserOwner()
protected boolean canUserClaimTask()
protected void addEmptySpace(com.vaadin.ui.ComponentContainer container)
public void notifyPeopleInvolvedChanged()
public void notifyAssigneeChanged()
public void notifyOwnerChanged()
public void notifyRelatedContentChanged()
Copyright © 2016 Alfresco. All rights reserved.