Class TaskBarPage
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocall.basic.ui.Window
overit.geocall.basic.ui.container.TaskBarPage
- 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
The class extends
Window and implements the most external container that is used to create every page of the application- See Also:
- GCApi:
- component
-
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 Stringprotected Stringprotected Stringprotected intprotected intprotected Componentprotected Stringprotected static final Stringprotected static final Stringprotected SafeInlineServicestatic final Stringstatic final Stringstatic final StringTaskBartype: the one with the menu icon in the upper right corner used to hook and unhook the barstatic final StringTaskBartype: the one with the lock in the upper right corner used to hook and unhook the barstatic final StringTaskBartype: the one with the lock in the upper right corner used to hook and unhook the barstatic final Stringstatic final StringFields inherited from class overit.geocall.basic.ui.Window
_code, _docType, _es, _eventFirewall, _gk, _restoreMethod, _restoreTo, _tz, blind, hasAnEditableComponentFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCurrentConfProfileInfo(org.apache.ecs.html.Div container) protected voidaddCurrentNodeInfo(org.apache.ecs.html.Div container) protected voidaddStackRow(org.apache.ecs.html.Div container) protected voidaddUserIcon(org.apache.ecs.html.Div container) protected voidaddViewEditableIconsFeature(org.apache.ecs.html.Div container) protected voidaddViewManagerIcon(org.apache.ecs.html.Div container) protected voidaddWizardRow(org.apache.ecs.html.Div container, EntitySet es) protected voidaddWorkAreaRow(org.apache.ecs.html.Div container, boolean withtaskbar, EntitySet es) voidEvery component can add a script to the StringBuilder, script executed when the component is displayed.voidEvery component can add a script to the StringBuilder, script executed when the component is created The method add the script that manage the custom alerts's labels translation.protected booleanManages the closing of a single viewprotected voidfillLeftStackSection(org.apache.ecs.html.Div leftSection) protected voidfillRightStackSection(org.apache.ecs.html.Div rightSection) protected booleanManages the closing of all viewsprotected org.apache.ecs.html.Bodyorg.apache.ecs.ElementgetClientBarsAndWorkArea(EntitySet es, TaskBar tb, String barMode) Returns the client TaskBar and the WorkAreaprotected org.apache.ecs.Elementprotected org.apache.ecs.Elementorg.apache.ecs.ElementgetFloatBarsAndWorkArea(EntitySet es, TaskBar tb, int mode) Returns the floating TaskBar and the WorkAreaorg.apache.ecs.ElementReturns the html code of the TaskBarPageprotected org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected XMLTreegetReachableChild(XMLTree tree, String path) Returns the child tree at the desired pathprotected org.apache.ecs.ElementMethod that can be used to extends the icons and functionalities of the right-side of the stack bar.protected org.apache.ecs.Elementorg.apache.ecs.ElementgetWorkArea(EntitySet es) Returns the WorkAreaprotected voidlogInvalidLicenseUse(Identity id, String module) protected intstatic voidvoidShows anAlertbooleanMakes a pop (close) of a page from theWindowManagerstack of pagesbooleanbooleanbooleanCloses the wizardbooleanActivate the develop mode, that republish all the scripts and css at every reload of the pagebooleanonDragDrop(HashGetter hg) Makes a drag and drop actionbooleanEnds the wizard procedurebooleanbooleanbooleanbooleanShows anAlertwith some informations about the user currently logged in the application such the image, gender, email, last connection date, last connection duration, etc.booleanBETA VERSION Manages the event of inverting the direction of right-to-leftbooleanbooleanManages the closing of a single viewbooleanPerforms the operation associated to the click on a voice of the menu of the TaskBar.booleanonMenuMode(Object o) Switchs between the hooked and unhooked state of the TaskBarbooleanonNavigate(Object o) Makes a navigation i.e. reset theWindowManagerstack and push a new pagebooleanonPipeRequest(UIMessage uim) Manages the pipe requests dispatching them to the targetPipeRequestHandler.booleanMakes a push of a page into theWindowManagerstack of pagesbooleanRestarts the wizardbooleancalls the serialization tests of thw Window,to check if the current page is serializable or not.booleanbooleanbooleanonShowProfile(UIMessage uim) booleanonStep(HashGetter hg) makes a step on the wizardbooleanprotected voidrepublishThemeForDebugMode(String theme) protected StringresolvePathFromThemeName(String theme) voidSets the title of the page, used to identify it in case of an exception during the page drawingvoidsetPageScroll(int x, int y) Sets the values of the horizontal and vertical scrolling of the pagevoidSets the savescroll attribute to the body of the pageprotected voidsetup()Setup the Componentprotected voidsetupFrameSetTitle(org.apache.ecs.html.Head head, org.apache.ecs.html.Body body) protected voidsetupWorkArea(org.apache.ecs.html.Div container, boolean withtaskbar) voidSets theComponentthat must be added to the body of the pageprotected voidprotected org.apache.ecs.html.AwizardLink(int i, String msg) Methods inherited from class overit.geocall.basic.ui.Window
activate, addClientResource, clearClientResources, current, deactivate, dispatchMessage, genCode, getClientResources, getCode, getComponentById, getComponentFromRegistry, getComponentsFromRegistry, getDocType, getDocument, getEntitySet, getEventFirewall, getGateKeeper, getRegistry, getRestoreMethod, getRestoreTo, getRoot, getSession, getTimeZone, getWM, hasAnEditableComponent, isBlind, makeSerializationTest, peekMessage, postMessage, postMessage, putComponent, putComponentInRegistry, setDOCTYPE, setHasAnEditableComponent, setIsBlind, setRestoreTo, setRestoreTo, setTimeZone, setWM, show, showPanel, showPanel, showPanel, showPanel, showPanelMethods inherited from class overit.geocall.basic.ui.Container
alert, applyRule, getBASIC, getBLANK, getRO, getROField, onClose, onOpen, 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, 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, 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, setValuesContainer, stringForJs, tabIndexerMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, 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
-
TASKBAR_BASIC
- See Also:
-
TASKBAR_BASIC_OFF
- See Also:
-
TASKBAR_TOPTAB
- See Also:
-
TASKBAR_TOPTAB_OFF
- See Also:
-
TASKBAR_FLOATING
TaskBartype: the one with the lock in the upper right corner used to hook and unhook the bar- See Also:
-
TASKBAR_FLOATING_OFF
TaskBartype: the one with the lock in the upper right corner used to hook and unhook the bar- See Also:
-
TASKBAR_CLIENT
TaskBartype: the one with the menu icon in the upper right corner used to hook and unhook the bar- See Also:
-
ROOM
- See Also:
-
NO_PIPE_REQUEST_HANDLERS_FOUND_FOR_THE_PROVIDED_ROOM
- See Also:
-
_browsertitle
-
_savescroll
-
_scrollX
protected int _scrollX -
_scrollY
protected int _scrollY -
_msgScollegamento
-
logoutFromSystemMsg
-
_zoomComponent
-
safeInlineService
-
-
Constructor Details
-
TaskBarPage
public TaskBarPage()
-
-
Method Details
-
setup
protected void setup()Description copied from class:ComponentSetup the Component -
buildDisplayScript
Description copied from class:ComponentEvery component can add a script to the StringBuilder, script executed when the component is displayed.- Overrides:
buildDisplayScriptin classComponent- Parameters:
sb- The StringBuilder on which we want to add the script
-
setBROWSERTITLE
Sets the title of the page, used to identify it in case of an exception during the page drawing- Parameters:
s- The title of the page
-
setSAVESCROLL
Sets the savescroll attribute to the body of the page- Parameters:
s- The string used as value for the savescroll attribute
-
setPageScroll
public void setPageScroll(int x, int y) Sets the values of the horizontal and vertical scrolling of the page- Parameters:
x- The value of the horizontal scrollingy- The value of the vertical scrolling
-
setZoomComponent
Sets theComponentthat must be added to the body of the page- Parameters:
c- The Component to add
-
getHtml
Returns the html code of the TaskBarPage -
setupWorkArea
protected void setupWorkArea(org.apache.ecs.html.Div container, boolean withtaskbar) -
setupFrameSetTitle
protected void setupFrameSetTitle(org.apache.ecs.html.Head head, org.apache.ecs.html.Body body) -
getWorkArea
Returns the WorkArea- Parameters:
es- TheEntitySet- Returns:
- The table element that contains the WorkArea
-
getFloatBarsAndWorkArea
Returns the floating TaskBar and the WorkArea -
getClientBarsAndWorkArea
Returns the client TaskBar and the WorkArea -
addWorkAreaRow
-
addWizardRow
-
addCurrentNodeInfo
protected void addCurrentNodeInfo(org.apache.ecs.html.Div container) -
addCurrentConfProfileInfo
protected void addCurrentConfProfileInfo(org.apache.ecs.html.Div container) -
onAlert
Shows anAlert- Parameters:
o- The Alert to show
-
onDevelopMode
Activate the develop mode, that republish all the scripts and css at every reload of the page- Parameters:
o- Not used- Returns:
- true
-
onSerializationTest
calls the serialization tests of thw Window,to check if the current page is serializable or not. Replaces the WebSession with the unserialized oenas, and shows an alert.- Parameters:
o- Not used- Returns:
- true
-
onInvertDirection
BETA VERSION Manages the event of inverting the direction of right-to-left- Parameters:
o- Not used- Returns:
true
-
getBody
-
onMenu
Performs the operation associated to the click on a voice of the menu of the TaskBar. If the parameter passed is null, the operation is a navigation on the index.xml page; otherwise is a navigation on the desired page, opened in a new tab with a new view if the user was contemporarly pressing the ctrl key- Parameters:
uim- TheUIMessagethat contains values, parameters and control values- Returns:
- true if the operation is correctly carried out, false otherwise
-
getReachableChild
Returns the child tree at the desired path- Parameters:
tree- TheXMLTreeon which we want to reach the child identified by the pathpath- The string that defines the path with which visit the tree to reach the child- Returns:
- The child tree at the desired path or
nullif the child tree does not exists or is it not accessible (one of the menu items is read-only or includes a function that the user currently logged in to the application does not have)
-
tooManyViews
protected void tooManyViews() -
onPush
Makes a push of a page into theWindowManagerstack of pages- Parameters:
o- TheHashGetterthat contains the param with the path of the desired page to be opened- Returns:
- true if the push is correctly carried out, false otherwise
-
onClose
Makes a pop (close) of a page from theWindowManagerstack of pages- Parameters:
o- Not used- Returns:
- true
-
onLogoutChoice
Manages the closing of a single view- Parameters:
o- Not used- Returns:
- true
-
onLogout
-
onCloseViewChoice
-
onCloseCurrentView
-
onExitAndLogoutChoice
-
fullLogout
Manages the closing of all views- Parameters:
wm- Thw Window Manager from which retrieve the WebSession- Returns:
- true
-
clearCurrentWindow
Manages the closing of a single view- Parameters:
wm- Thw Window Manager from which retrieve the WebSession- Returns:
- true
-
onInfo
Shows anAlertwith some informations about the user currently logged in the application such the image, gender, email, last connection date, last connection duration, etc.- Parameters:
uim- Not used- Returns:
- true
-
onShowProfile
-
getPictureInfo
protected org.apache.ecs.Element getPictureInfo() -
getConnectionInfo
protected org.apache.ecs.Element getConnectionInfo() -
getContactsInfo
protected org.apache.ecs.Element getContactsInfo() -
getLastConnectionsInfo
protected org.apache.ecs.Element getLastConnectionsInfo() -
addStackRow
protected void addStackRow(org.apache.ecs.html.Div container) -
fillLeftStackSection
protected void fillLeftStackSection(org.apache.ecs.html.Div leftSection) -
fillRightStackSection
protected void fillRightStackSection(org.apache.ecs.html.Div rightSection) -
addViewManagerIcon
protected void addViewManagerIcon(org.apache.ecs.html.Div container) -
addViewEditableIconsFeature
protected void addViewEditableIconsFeature(org.apache.ecs.html.Div container) -
onEnterConfigurableMode
-
onExitConfigurableMode
-
addUserIcon
protected void addUserIcon(org.apache.ecs.html.Div container) -
onUserContextMenu
-
getStackBarExtension
protected org.apache.ecs.Element getStackBarExtension()Method that can be used to extends the icons and functionalities of the right-side of the stack bar.- Returns:
- null
-
onShowMessagesPanel
-
getWizard
-
wizardLink
-
republishThemeForDebugMode
-
resolvePathFromThemeName
-
onStep
makes a step on the wizard- Parameters:
hg- TheHashGetterthat contains the parameter with the action identification- Returns:
- true
-
onRestartWizard
Restarts the wizard- Parameters:
o- Not used- Returns:
- true
-
onCloseWizard
Closes the wizard- Parameters:
o- Not used- Returns:
- true
-
onEndContact
Ends the wizard procedure- Parameters:
o- Not used- Returns:
- true
-
onMenuMode
Switchs between the hooked and unhooked state of the TaskBar- Parameters:
o- Not used- Returns:
- true
-
main
-
onDragDrop
Makes a drag and drop action- Parameters:
hg- TheHashGetterthat contains the parameters used to perform the action- Returns:
- true
-
buildSetupScript
Every component can add a script to the StringBuilder, script executed when the component is created The method add the script that manage the custom alerts's labels translation.- Overrides:
buildSetupScriptin classComponent- Parameters:
sb- The StringBuilder on which we want to add the script
-
onPipeRequest
Manages the pipe requests dispatching them to the targetPipeRequestHandler.- Parameters:
uim-UIMessageabout the current request.- Returns:
- if
true, the parent container is involved to manage this request; iffalse, no parent container is involved.
-
getInvalidLicenseWatermark
protected org.apache.ecs.Element getInvalidLicenseWatermark() -
logInvalidLicenseUse
-
onShowConfigurationPanel
-
lookForMessages
protected int lookForMessages()
-