Class CProjectGantt
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocallapp.wfm.project.ux.structure.CProjectStructureBaseView
overit.geocallapp.wfm.project.ux.structure.gantt.CProjectGantt
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Badgeable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable,GanttView.GanttViewSelectionListener<BOProjectActivity,,BOProjectActivity> GanttViewTooltipManager
public class CProjectGantt
extends CProjectStructureBaseView
implements GanttView.GanttViewSelectionListener<BOProjectActivity,BOProjectActivity>, GanttViewTooltipManager
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ProjectGanttViewprotected static final doubleprotected Map<String, OperationPlanning> protected static final Stringprotected static final Stringprotected static final Stringprotected ProjectGanttTooltipBuilderstatic final StringFields inherited from class overit.geocallapp.wfm.project.ux.structure.CProjectStructureBaseView
cutTree, filterPanel, focusActivity, form, header, IGNORE_NOT_LEAVES_MESSAGE, NO_SELECTION_MESSAGE, PRESERVE_ANCESTORS_TAG, project, projectTree, searchParams, structureFilter, visualizedTree, woAssociationActivityFields inherited from class overit.geocall.basic.ui.Container
_rofields, _rules, DALINK_NO, DALINK_YES, DATE_MAX, DATE_MIN, TIME_MAX, TIME_MIN, TYPE_ACTION, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_DTZ, TYPE_EURO, TYPE_FILE, TYPE_FILES, TYPE_INTEGER, TYPE_LONG, TYPE_LONGARRAY, TYPE_MAP, TYPE_MAXDATE, TYPE_MAXTIME, TYPE_MEASURE, TYPE_MINDATE, TYPE_MINTIME, TYPE_NEWACTION, TYPE_STRING, TYPE_STRINGARRAY, TYPE_SUBSET, TYPE_SUBSETRANGE, TYPE_SUPPORT, TYPE_TIMERANGEFields inherited from class overit.geocall.ui.Control
_blank, _cleaner, _dblink, _enabled, _ro, _title, altEventIconsList, altIcon, ariaDescription, ariaLabel, badge, badgeformat, FILTER_PREFIXES, LABEL_ATTRIBUTE, LABEL_IN_LINE_ATTRIBUTE, STATE_BLANK, STATE_NORMAL, STATE_RO, STATE_ROBLANKFields inherited from class overit.geocall.ui.Component
_basic, _childrenContainers, _currentId, _gridalign, _gridcols, _gridrows, _gridvalign, _iconElement, _id, _keylabel, _label, _layoutName, _name, _parentContainer, _registryName, _shortcut, _tabindex, _transformations, _valuesContainer, aliasField, BR, configHidden, configuredLabel, configuredLabelInLine, defaultHidden, ELEMENT_BR, ELEMENT_NULL, entityContainer, entityName, extendedField, fullHeight, important, labelInLine, layoutLabel, PIXEL_IMG, safeInlineService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateRowMenuItems(Menu menu, UIMessage uim) protected StringgetExecutedTooltip(String activityId, String blockId, boolean expanded) protected DategetMinDate(Date a, Date b) protected doubleprotected StringgetPlannedTooltip(String activityId, String blockId, boolean expanded) protected StringgetProgrammedTooltip(String activityId, String blockId, boolean expanded) protected BOProjectActivityprotected Stringprotected StringgetTooltip(String param) protected Map<String, OperationPlanning> indexPlannedSlotByActivityId(List<OperationPlanning> plannedSlots) protected voidprotected List<OperationPlanning> loadPlanningSlots(Long projectId) booleanbooleanbooleanonExpandBranch(UIMessage uim) booleanonExpandLevel(UIMessage uim) booleanonGanttMenu(UIMessage uim) booleanonPlaceOnStart(UIMessage uim) voidbooleanbooleanbooleanonSelectAll(UIMessage uim) voidbooleanbooleanonShowLegend(UIMessage uim) booleanbooleanprotected voidprotected ProjectGanttTooltipBuilderprotected voidprotected voidMethods inherited from class overit.geocallapp.wfm.project.ux.structure.CProjectStructureBaseView
addActivity, areAllLeaves, cancelActivities, checkParentStatus, checkProjectActivityStatus, checkProjectStatus, closeActivities, disableFocusOnActivityMode, enableFocusOnActivityMode, evolveProjectActivitiesStatus, getStructureFilter, loadProject, loadProjectActivities, loadWorkorderId, onAddActivity, onAddActivityAfter, onAddActivityBefore, onAddActivityBelow, onAddFirstLevelActivity, onAssociateWoOperations, onConfirmCancelActivities, onCutActivity, onDeleteActivity, onEditActivity, onEditActivityRelations, onFilterTab, onFocusOnActivity, onGenericActivityDebriefing, onGoToPlanningParameters, onOpen, onPasteActivity, onPasteActivityAfter, onPasteActivityBefore, onPasteActivityBelow, onPasteFirstLevelActivity, onSearchProjectActivities, onSelectedOperationsAssociation, onUnfocusActivity, onViewActivity, onViewProjectDiary, onViewWorkorder, pasteActivity, prepareOperationsIds, prepareSearchFilters, pushPage, releaseActivities, reload, searchProjectActivities, showAddActivity, showConfirmAlert, showDeleteActivity, showFilterPanel, showFocusOnActivity, showUnfocusActivity, showViewWorkorderMethods inherited from class overit.geocall.basic.ui.Container
alert, applyRule, getBASIC, getBLANK, getHtml, getRO, getROField, onClose, onOpenChildContainer, onRestore, onRule, prepareName, rulesNewValues, setROField, setValues, setValuesMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, getState, getTITLE, getValues, getWM, isEnabled, isEnabledBasedOnFunction, isFunctionEnabled, isImportant, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setConfiguredProperty, setDBLINK, setENABLED, setFUNCTION, setModelProperties, setRO, setTitle, setTITLEMethods inherited from class overit.geocall.ui.Component
adapt, ajaxQuery, appendAttribute, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getDefaultLayoutLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isLabelInLine, onInit, setActivable, setActive, setAliasField, setBASIC, setConfigHidden, setDEFAULTHIDDEN, setEntityName, setExtendedField, setFULLHEIGHT, setGRIDALIGN, setGRIDCOLS, setGRIDROWS, setGRIDVALIGN, setICON, setIdentity, setIMPORTANT, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, setNAME, setREGISTRYNAME, setTooltip, setup, setValuesContainer, stringForJs, tabIndexerMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, getRoot, getSchema, setNodeId, setParent, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.ui.Badgeable
badgeFormat, makeBadgedIcon
-
Field Details
-
XML_PATH
- See Also:
-
PLACE_ON_START_OFFSET
protected static final double PLACE_ON_START_OFFSET- See Also:
-
RN_GANTT_VIEW
- See Also:
-
RN_GANTT_ACTIVITIES
- See Also:
-
RN_CONFIG_PANEL
- See Also:
-
ganttView
-
tooltipBuilder
-
plannedSlots
-
statusColorMap
-
-
Constructor Details
-
CProjectGantt
public CProjectGantt()
-
-
Method Details
-
preparePage
protected void preparePage()- Specified by:
preparePagein classCProjectStructureBaseView
-
indexPlannedSlotByActivityId
protected Map<String,OperationPlanning> indexPlannedSlotByActivityId(List<OperationPlanning> plannedSlots) -
loadPlanningSlots
protected List<OperationPlanning> loadPlanningSlots(Long projectId) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
initComponents
protected void initComponents()- Overrides:
initComponentsin classCProjectStructureBaseView
-
updateGanttView
protected void updateGanttView() -
onShowConfigurationPanel
-
onGanttMenu
-
onRowBlockClicked
-
onClearSelection
-
onSelectAll
-
onSelectionChanged
- Specified by:
onSelectionChangedin interfaceGanttView.GanttViewSelectionListener<BOProjectActivity,BOProjectActivity>
-
onTreeItemContextMenu
-
onTreeItemCliCcked
-
onRowBlockContextMenu
-
generateRowMenuItems
- Specified by:
generateRowMenuItemsin classCProjectStructureBaseView
-
onExpandLevel
-
onExpandBranch
-
onCollapseBranch
-
onPlaceOnStart
-
getMinDate
-
onReload
- Overrides:
onReloadin classCProjectStructureBaseView
-
onShowLegend
-
getTooltip
- Specified by:
getTooltipin interfaceGanttViewTooltipManager
-
getRelationTooltip
-
getPlannedTooltip
-
getProgrammedTooltip
-
getExecutedTooltip
-
tooltipBuilder
-
getPixels
-
getProjectActivityKey
- Specified by:
getProjectActivityKeyin classCProjectStructureBaseView
-
getProjectActivity
- Specified by:
getProjectActivityin classCProjectStructureBaseView
-
updateView
protected void updateView()- Specified by:
updateViewin classCProjectStructureBaseView
-