Class ObjectBrowserTabRWWorkingSetTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.AbstractEditorTransform
-
- com.microstrategy.web.app.transforms.AbstractObjectBrowserTabTransform
-
- com.microstrategy.web.app.transforms.ObjectBrowserTabRWWorkingSetTransform
-
- All Implemented Interfaces:
AppTransform,Transform
public class ObjectBrowserTabRWWorkingSetTransform extends AbstractObjectBrowserTabTransform
- Since:
- MicroStrategy Web 8.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcssClosedClass name for a WorkingSet element that is closedprotected java.lang.StringcssOpenClass name for a tree element that is openprotected java.lang.StringcssTreeClass name for the DIV tag that contains all the tree elements of the working setprotected java.lang.StringcssTreeTableClass name for the TABLE tag that contains all the tree elements of the working setFormalParameterdataSetDeleteImageIndicates the image to use when displaying the Delete Data Set button.FormalParameterdataSetNewImageIndicates the image to use when displaying the New Data Set button.static java.lang.StringFP_DATASET_DELETE_IMAGEConstant specifying the name of the formal parameter for defining the image for the button for Delete Data Set.static java.lang.StringFP_DATASET_EDIT_IMAGEConstant specifying the name of the formal parameter for defining the image for the button for Edit Data Set.static java.lang.StringFP_DATASET_LINK_ATTRIBUTE_IMAGEConstant specifying the name of the formal parameter forlinkAttributeImage.static java.lang.StringFP_DATASET_NEW_IMAGEConstant specifying the name of the formal parameter for defining the image for the button for New Data Set.static java.lang.StringFP_DATASET_USER_DERIVED_METRIC_IMAGEConstant specifying the name of the formal parameter foruserDerivedMetricImage.static java.lang.StringFP_DATASET_USER_SUMMARY_METRIC_IMAGEConstant specifying the name of the formal parameter foruserSummaryMetricImage.static java.lang.StringFP_LIST_STYLEConstant specifying the name of the formal parameter forlistStyle.static java.lang.StringFP_SHOW_ATTRIBUTE_FORMSConstant specifying the name of the formal parameter forshowAttributeForms.FormalParameterlinkAttributeImageIndicates the image to use when displaying a link attribute
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.FormalParameterlistStyleIndicates any special style specifications for the HTML tag for the main list on the tab.FormalParametershowAttributeFormsFormal Parameter: Indicates if attribute forms should be displayed or notFormalParameteruserDerivedMetricImageIndicates the image to use when displaying an user's derived metric.FormalParameteruserSummaryMetricImageIndicates the image to use when displaying an user's summary metric.-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractObjectBrowserTabTransform
_imgAttribute, _imgAttributeForm, _imgConsolidation, _imgCube, _imgCustomGroup, _imgDerivedMetric, _imgFilter, _imgFolder, _imgGraph, _imgGridGraph, _imgHierarchy, _imgMetric, _imgMetricDmx, _imgPrompt, _imgRa, _imgReport, attributeFormImage, attributeImage, consolidationImage, cubeImage, customGroupImage, derivedMetricImage, filterImage, folderImage, FP_ATTRIBUTE_FORM_IMAGE, FP_ATTRIBUTE_IMAGE, FP_CONSOLIDATION_IMAGE, FP_CUBE_IMAGE, FP_CUSTOM_GROUP_IMAGE, FP_DERIVED_METRIC_IMAGE, FP_FILTER_IMAGE, FP_FOLDER_IMAGE, FP_GRAPH_IMAGE, FP_GRID_GRAPH_IMAGE, FP_HIERARCHY_IMAGE, FP_INCLUDE_DYNAMIC_SCRIPT, FP_METRIC_DMX_IMAGE, FP_METRIC_IMAGE, FP_OBJECT_SUBTYPES_FILTER, FP_OBJECT_TYPES_FILTER, FP_PROMPT_IMAGE, FP_RA_IMAGE, FP_REPORT_IMAGE, graphImage, gridGraphImage, hierarchyImage, metricDmxImage, metricImage, objectSubtypesFilter, objectTypesFilter, promptImage, raImage, reportImage, sSpaces
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractEditorTransform
_helpTopic, _helpType, applyJS, applyLabel, applyLabelID, canAutoSize, cancelJS, cancelLabel, cancelLabelID, closeEvent, closeImage, closeJS, closeLabel, closeLabelID, dhtmlClose, disableOKButton, editorContentsStyle, editorElements, editorLayoutFile, editorSubType, FP_APPLY_JS, FP_APPLY_LABEL, FP_APPLY_LABEL_ID, FP_CAN_AUTO_SIZE, FP_CANCEL_JS, FP_CANCEL_LABEL, FP_CANCEL_LABEL_ID, FP_CLOSE_EVENT, FP_CLOSE_IMAGE, FP_CLOSE_JS, FP_CLOSE_LABEL, FP_CLOSE_LABEL_ID, FP_DHTML_CLOSE, FP_DISABLE_OK_BUTTON, FP_EDITOR_CONTENTS_STYLE, FP_EDITOR_ELEMENTS, FP_EDITOR_LAYOUT_FILE, FP_EDITOR_SUBTYPE, FP_HELP_PAGE, FP_HELP_TOPIC, FP_HELP_TYPE, FP_NAVIGATE_ON_SUBMIT, FP_OK_JS, FP_OK_LABEL, FP_OK_LABEL_ID, FP_RENDER_FORM, FP_TITLE_LABEL, FP_TITLE_LABEL_ID, FP_USE_JS_IN_BONE, helpPage, helpTopic, helpType, includeDynamicScript, navigateOnSubmit, okJS, okLabel, okLabelID, renderForm, titleLabel, titleLabelID
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width
-
-
Constructor Summary
Constructors Constructor Description ObjectBrowserTabRWWorkingSetTransform()Default constructor, no arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanelementHasChildren(WebObjectInfo objectInfo)Analyzes theWebObjectInfoinstance and based on its type and/or subtype, it determines if this transform is configured for displaying its children or not.protected AnchorTaggenerateAnchor(WebEvent event)Deprecated.No longer needed since there are no Anchor tags in this transform anymoreprotected java.lang.StringgenerateTooltipInformation(java.lang.String objectAlias, WebWorkingSet wSet, WebObjectInfo item)Get the tooltip information for each objectprotected java.lang.StringgenerateUserMetricTooltipInfo(java.lang.String objectAlias, RWUserMetric userMetric)protected java.lang.StringgetBeanPath()Returns the path within the application of the WebBean being transformed.protected java.lang.StringgetContextMenuManagerName()Returns the name to use for theContextMenuManagerof this Transform.java.lang.StringgetDescription()Returns the textual description of the transformprotected java.lang.StringgetObjectImageName(WebObjectInfo object, RWDataSet dataSet)java.lang.ClassgetSupportedBeanType()Returns the supported bean type.protected java.lang.StringgetTooltipTitle(WebObjectInfo obj, WebWorkingSet wSet)To get the descriptor for the object depending on type and subtypeprotected voidinitEditor(Editor editor)Initialize the editor with the global settings.protected voidinitHeightAndWidthFromPreferences()Initializes the _height and _width of this component from the bone dimesions retrieved from Preferences.voidinitializeCss()Initializes the Css Classes to use.voidinitializeImages()Initializes the name of the images to use on this transform's output.voidinitializeTransform(Transformable data)Initializes transform formal parametersbooleanisTransformEnabled()Indicates if the transform can be performed for the current state of the bean.voidrenderChildrenElements(MarkupOutput out, WebObjectInfo objectInfo, RWDataSet element)Once it is determined that theWebObjectInfoinstance has children that this transform can render, this method will display them.voidrenderContextMenu(MarkupOutput out)Deprecated.This method is not used anymore and will be removed in future versions of the product.voidrenderDerivedAttributeFormTreeEntry(MarkupOutput out, WebAttributeForm form, WebAttribute att, RWDataSet dataSet)render the form item of derived attribute in the listvoidrenderDerivedAttributeTreeEntry(MarkupOutput out, WebAttribute att, RWDataSet dataSet)render the derived attribute item in the listvoidrenderEditorContents(MarkupOutput out)Method that renders the main contents of the transform, according to the information available on the bean.protected voidrenderJavascript(MarkupOutput out)This method should be used by the Editor transforms to generate any javascript necessary.protected voidrenderSummaryMetricMenu(ContextMenuManager cmm, ContextMenu menu, java.lang.String isMultiSelect)Deprecated.This method is not used anymore and will be removed in future versions of the product.voidrenderToolbar(MarkupOutput out)Render a basic toolbar that enables executing actions on the objects here displayed.voidrenderTreeEntry(MarkupOutput out, WebObjectInfo objectInfo, RWDataSet element)Takes care of displaying the HTML for one single element on the list.voidrenderTreeEntry(MarkupOutput out, WebObjectInfo objectInfo, WebObjectInfo parentObjectInfo, RWDataSet dataSet)Takes care of displaying the HTML for one single element on the list.voidrenderTreeTable(MarkupOutput out)Renders the framework for the list that will include the objects available based on the bean being analyzed.voidrenderTreeTableBody(MarkupOutput out)For each one of the elements of the bean analyzed, renders their corresponding HTML for them to be shown on the list.voidrenderTreeUserMetricEntry(MarkupOutput out, RWUserMetric userMetric, int key, java.lang.String dsId)Takes care of displaying the HTML for one single User Metric on the list.-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractObjectBrowserTabTransform
formatObjectInfoParameter, generateTooltipInformation, getClassName, getFolderLinkClasses, getJavascriptTyAttribute, getObjectDescription, getObjectImageName, getTooltipTitle, isObjectSubtypeVisible, isObjectTypeVisible, shouldDisplayObject
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractEditorTransform
generateForm, getDivTagAroundContents, getEditorTitle, getOnSubmitJS, getWebBeanErrorInfo, initHelp, renderEditor, renderEditorElement, setFocusFieldId, transformForRequestInError, transformForRequestSuccessful
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBoneId, getCancelEvent, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorMessage, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, hasSubBlock, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderImage, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setBoneProperties, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getPreview, isPreviewAvailable, isResolved, supports, supports
-
-
-
-
Field Detail
-
listStyle
public FormalParameter listStyle
Indicates any special style specifications for the HTML tag for the main list on the tab.
-
dataSetNewImage
public FormalParameter dataSetNewImage
Indicates the image to use when displaying the New Data Set button.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.
-
dataSetDeleteImage
public FormalParameter dataSetDeleteImage
Indicates the image to use when displaying the Delete Data Set button.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.
-
userDerivedMetricImage
public FormalParameter userDerivedMetricImage
Indicates the image to use when displaying an user's derived metric.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.
-
userSummaryMetricImage
public FormalParameter userSummaryMetricImage
Indicates the image to use when displaying an user's summary metric.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.
-
linkAttributeImage
public FormalParameter linkAttributeImage
Indicates the image to use when displaying a link attribute
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.
-
showAttributeForms
public FormalParameter showAttributeForms
Formal Parameter: Indicates if attribute forms should be displayed or not
-
FP_LIST_STYLE
public static final java.lang.String FP_LIST_STYLE
Constant specifying the name of the formal parameter forlistStyle. Value is listStyle.- See Also:
- Constant Field Values
-
FP_DATASET_NEW_IMAGE
public static final java.lang.String FP_DATASET_NEW_IMAGE
Constant specifying the name of the formal parameter for defining the image for the button for New Data Set. Value is dataSetNewImage.- See Also:
- Constant Field Values
-
FP_DATASET_EDIT_IMAGE
public static final java.lang.String FP_DATASET_EDIT_IMAGE
Constant specifying the name of the formal parameter for defining the image for the button for Edit Data Set. Value is dataSetEditImage.- See Also:
- Constant Field Values
-
FP_DATASET_DELETE_IMAGE
public static final java.lang.String FP_DATASET_DELETE_IMAGE
Constant specifying the name of the formal parameter for defining the image for the button for Delete Data Set. Value is dataSetDeleteImage.- See Also:
- Constant Field Values
-
FP_SHOW_ATTRIBUTE_FORMS
public static final java.lang.String FP_SHOW_ATTRIBUTE_FORMS
Constant specifying the name of the formal parameter forshowAttributeForms. Value is showAttributeForms.- See Also:
- Constant Field Values
-
FP_DATASET_USER_DERIVED_METRIC_IMAGE
public static final java.lang.String FP_DATASET_USER_DERIVED_METRIC_IMAGE
Constant specifying the name of the formal parameter foruserDerivedMetricImage. Value is userDerivedMetricImage.- See Also:
- Constant Field Values
-
FP_DATASET_USER_SUMMARY_METRIC_IMAGE
public static final java.lang.String FP_DATASET_USER_SUMMARY_METRIC_IMAGE
Constant specifying the name of the formal parameter foruserSummaryMetricImage. Value is userSummaryMetricImage.- See Also:
- Constant Field Values
-
FP_DATASET_LINK_ATTRIBUTE_IMAGE
public static final java.lang.String FP_DATASET_LINK_ATTRIBUTE_IMAGE
Constant specifying the name of the formal parameter forlinkAttributeImage. Value is linkAttbuteImage.- See Also:
- Constant Field Values
-
cssTreeTable
protected java.lang.String cssTreeTable
Class name for the TABLE tag that contains all the tree elements of the working set
-
cssTree
protected java.lang.String cssTree
Class name for the DIV tag that contains all the tree elements of the working set
-
cssOpen
protected java.lang.String cssOpen
Class name for a tree element that is open
-
cssClosed
protected java.lang.String cssClosed
Class name for a WorkingSet element that is closed
-
-
Method Detail
-
renderEditorContents
public void renderEditorContents(MarkupOutput out)
Method that renders the main contents of the transform, according to the information available on the bean. This method can be customized if users would like to obtain a different output for the same given bean. CallsrenderToolbar()andrenderTreeTable().- Specified by:
renderEditorContentsin classAbstractEditorTransform- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.
-
renderToolbar
public void renderToolbar(MarkupOutput out)
Render a basic toolbar that enables executing actions on the objects here displayed.- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.
-
renderTreeTable
public void renderTreeTable(MarkupOutput out)
Renders the framework for the list that will include the objects available based on the bean being analyzed. CallsrenderTreeTableBody()- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.
-
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Deprecated.No longer needed since there are no Anchor tags in this transform anymoreOverwrites the parent method by setting requested attributes- Overrides:
generateAnchorin classAbstractAppTransform- Parameters:
event-WebEventinstance base for creating the anchor- Returns:
AnchorTagintitialized instance with the information as provided
-
renderTreeTableBody
public void renderTreeTableBody(MarkupOutput out)
For each one of the elements of the bean analyzed, renders their corresponding HTML for them to be shown on the list. CallsrenderTreeEntry()for each one of the elements to render.- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.
-
renderTreeEntry
public void renderTreeEntry(MarkupOutput out, WebObjectInfo objectInfo, RWDataSet element)
Takes care of displaying the HTML for one single element on the list. CallsrenderTreeEntry(MarkupOutput, WebObjectInfo, WebObjectInfo, RWDataSet)- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.objectInfo-WebObjectInfoinstance to include on the listelement- reference to theRWDataSetinstance that it's being displayed.
-
renderTreeUserMetricEntry
public void renderTreeUserMetricEntry(MarkupOutput out, RWUserMetric userMetric, int key, java.lang.String dsId)
Takes care of displaying the HTML for one single User Metric on the list.- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.userMetric- instance of RWUserMetric from where reading all necessary datakey-dsId-
-
renderTreeEntry
public void renderTreeEntry(MarkupOutput out, WebObjectInfo objectInfo, WebObjectInfo parentObjectInfo, RWDataSet dataSet)
Takes care of displaying the HTML for one single element on the list. CallselementHasChildren()to find out if child objects need to be displayed, andrenderChildrenElements()if there's any to include.- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.objectInfo- currentWebObjectInfoinstance to include on the listdataSet- reference to theRWDataSetinstance that it's being displayed.parentObjectInfo- reference to the parentWebObjectInfo. Used for attribute forms only.
-
renderDerivedAttributeTreeEntry
public void renderDerivedAttributeTreeEntry(MarkupOutput out, WebAttribute att, RWDataSet dataSet)
render the derived attribute item in the list- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.att-WebAttributeinstance corresponding to derived attribute.dataSet- reference to theRWDataSetinstance that it's being displayed.
-
renderDerivedAttributeFormTreeEntry
public void renderDerivedAttributeFormTreeEntry(MarkupOutput out, WebAttributeForm form, WebAttribute att, RWDataSet dataSet)
render the form item of derived attribute in the list- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.form-WebAttributeForminstance to render.att-WebAttributeinstance which has this form.dataSet- reference to theRWDataSetinstance that it's being displayed.
-
isTransformEnabled
public boolean isTransformEnabled()
Indicates if the transform can be performed for the current state of the bean. If there's a case where the bean might be ready but the information it gets does not match what the transform expects, the rendering process might be stopped here. The outcome will be the component not being rendered at all (which can be logged as a warning for future investigation).- Overrides:
isTransformEnabledin classAbstractObjectBrowserTabTransform- Returns:
Trueif it's possible to use the transform for rendering the bean. Otherwise, returnsFalse
-
elementHasChildren
public boolean elementHasChildren(WebObjectInfo objectInfo)
Analyzes theWebObjectInfoinstance and based on its type and/or subtype, it determines if this transform is configured for displaying its children or not. For example: if it's a report, it will return true since metrics, attributes and other components might be displayed.- Parameters:
objectInfo-WebObjectInfoto check if it has children to display or not- Returns:
Trueif the children of this object should be displayed, returnsFalseotherwise.
-
renderChildrenElements
public void renderChildrenElements(MarkupOutput out, WebObjectInfo objectInfo, RWDataSet element)
Once it is determined that theWebObjectInfoinstance has children that this transform can render, this method will display them. CallsrenderTreeEntry()for each one of the children to display- Parameters:
out-MarkupOutputinstance where the HTML contents to render will be saved.objectInfo- currentWebObjectInfoinstance to included on the list, from where its children will be displayedelement- reference to theRWDataSetinstance that it's being displayed.
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Returns the supported bean type. This transform supportsRWWorkingSetBrowserTabBeaninstances- Specified by:
getSupportedBeanTypein interfaceTransform- Overrides:
getSupportedBeanTypein classAbstractObjectBrowserTabTransform- Returns:
- the class of the bean supported by this transform.
-
getDescription
public java.lang.String getDescription()
Returns the textual description of the transform- Returns:
- the description of the transform
-
initializeTransform
public void initializeTransform(Transformable data)
Initializes transform formal parameters- Specified by:
initializeTransformin interfaceAppTransform- Overrides:
initializeTransformin classAbstractObjectBrowserTabTransform- Parameters:
data-
-
initializeImages
public void initializeImages()
Initializes the name of the images to use on this transform's output. For each one of the images defined to be displayed, the resource folder information is added to its path and file name as specified on the formal parameters for the images.- Overrides:
initializeImagesin classAbstractObjectBrowserTabTransform
-
initializeCss
public void initializeCss()
Initializes the Css Classes to use. For each one of the css classes to use, the prefix indicated on the formal parameter is added to the name of the class to use.- Overrides:
initializeCssin classAbstractAppTransform
-
renderJavascript
protected void renderJavascript(MarkupOutput out)
This method should be used by the Editor transforms to generate any javascript necessary.- Overrides:
renderJavascriptin classAbstractEditorTransform- Parameters:
out- MarkupOutput where the output should be rendered.
-
getBeanPath
protected java.lang.String getBeanPath()
Returns the path within the application of the WebBean being transformed.
When submitting anWebEvent, this path allows Microstrategy Web to uniquely identify the location of the bean that needs to handle the event.
This method is used by therenderRegisterBonemethod to inform the javascript bone the bean to whom it should send its server-side requests.- Overrides:
getBeanPathin classAbstractAppTransform- Returns:
- String
- See Also:
WebComponent.getPath(),AbstractAppTransform.renderRegisterBone(com.microstrategy.web.beans.MarkupOutput)
-
getContextMenuManagerName
protected java.lang.String getContextMenuManagerName()
Description copied from class:AbstractAppTransformReturns the name to use for theContextMenuManagerof this Transform. By default, it usesgetID() + "_cmm". Transforms may override this method in case they need a different value.- Overrides:
getContextMenuManagerNamein classAbstractAppTransform- Since:
- MicroStrategy Web 8.0.1
-
renderContextMenu
public void renderContextMenu(MarkupOutput out)
Deprecated.This method is not used anymore and will be removed in future versions of the product. To customize context-menus, use the xml-definition specified byAbstractAppTransform.contextMenusRenders the context menu context to use in the transform For dataset: 'set as primary dataset', 'delete from document' For template unit: ' add to grouping' , 'add to section'- Parameters:
out- where to write the output of the method.
-
renderSummaryMetricMenu
protected void renderSummaryMetricMenu(ContextMenuManager cmm, ContextMenu menu, java.lang.String isMultiSelect)
Deprecated.This method is not used anymore and will be removed in future versions of the product. To customize context-menus, use the xml-definition specified byAbstractAppTransform.contextMenusRenders context menun for allowing insertion of Summary metric.
It'll render a context menu entry consisted of a submenu listing all supported derived metric formulas: Average, Maximum, Minimum, Standard Deviation, Variance, Sum/Total and Count.- Parameters:
cmm- ContextMenuManager Context menu helper or factory.menu- ContextMenu RMC context menu on dataset elements.isMultiSelect- JS function for determining whether or not there's a multiselection.
-
initEditor
protected void initEditor(Editor editor)
Initialize the editor with the global settings.- Overrides:
initEditorin classAbstractObjectBrowserTabTransform- Parameters:
editor-
-
initHeightAndWidthFromPreferences
protected void initHeightAndWidthFromPreferences()
Initializes the _height and _width of this component from the bone dimesions retrieved from Preferences. The format of the preference is : id1:width:heigth@id2:width:height@....- Overrides:
initHeightAndWidthFromPreferencesin classAbstractAppTransform
-
generateTooltipInformation
protected java.lang.String generateTooltipInformation(java.lang.String objectAlias, WebWorkingSet wSet, WebObjectInfo item)Get the tooltip information for each object- Parameters:
objectAlias-item- WebObjectInfowSet- WebWorkingSet- Returns:
- String
-
generateUserMetricTooltipInfo
protected java.lang.String generateUserMetricTooltipInfo(java.lang.String objectAlias, RWUserMetric userMetric)- Parameters:
objectAlias-StringuserMetric-RWUserMetric- Returns:
- String
-
getTooltipTitle
protected java.lang.String getTooltipTitle(WebObjectInfo obj, WebWorkingSet wSet)
To get the descriptor for the object depending on type and subtype- Parameters:
obj-WebObjectInfowSet-WebWorkingSet- Returns:
- String
-
getObjectImageName
protected java.lang.String getObjectImageName(WebObjectInfo object, RWDataSet dataSet)
- Since:
- MicroStrategy Web 9.0.0
-
-