org.xwiki.gwt.wysiwyg.client.widget.explorer
Class XWikiExplorer

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.smartgwt.client.widgets.BaseWidget
              extended by com.smartgwt.client.widgets.Canvas
                  extended by com.smartgwt.client.widgets.grid.ListGrid
                      extended by com.smartgwt.client.widgets.tree.TreeGrid
                          extended by org.xwiki.gwt.wysiwyg.client.widget.explorer.XWikiExplorer
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.smartgwt.client.widgets.DataBoundComponent, com.smartgwt.client.widgets.events.HasClickHandlers, com.smartgwt.client.widgets.events.HasDoubleClickHandlers, com.smartgwt.client.widgets.events.HasDragMoveHandlers, com.smartgwt.client.widgets.events.HasDragRepositionMoveHandlers, com.smartgwt.client.widgets.events.HasDragRepositionStartHandlers, com.smartgwt.client.widgets.events.HasDragRepositionStopHandlers, com.smartgwt.client.widgets.events.HasDragResizeMoveHandlers, com.smartgwt.client.widgets.events.HasDragResizeStartHandlers, com.smartgwt.client.widgets.events.HasDragResizeStopHandlers, com.smartgwt.client.widgets.events.HasDragStartHandlers, com.smartgwt.client.widgets.events.HasDragStopHandlers, com.smartgwt.client.widgets.events.HasDropHandlers, com.smartgwt.client.widgets.events.HasDropMoveHandlers, com.smartgwt.client.widgets.events.HasDropOutHandlers, com.smartgwt.client.widgets.events.HasDropOverHandlers, com.smartgwt.client.widgets.events.HasFocusChangedHandlers, com.smartgwt.client.widgets.events.HasHoverHandlers, com.smartgwt.client.widgets.events.HasHoverHiddenHandlers, com.smartgwt.client.widgets.events.HasKeyDownHandlers, com.smartgwt.client.widgets.events.HasKeyPressHandlers, com.smartgwt.client.widgets.events.HasMouseDownHandlers, com.smartgwt.client.widgets.events.HasMouseMoveHandlers, com.smartgwt.client.widgets.events.HasMouseOutHandlers, com.smartgwt.client.widgets.events.HasMouseOverHandlers, com.smartgwt.client.widgets.events.HasMouseStillDownHandlers, com.smartgwt.client.widgets.events.HasMouseUpHandlers, com.smartgwt.client.widgets.events.HasMouseWheelHandlers, com.smartgwt.client.widgets.events.HasResizedHandlers, com.smartgwt.client.widgets.events.HasRightMouseDownHandlers, com.smartgwt.client.widgets.events.HasScrolledHandlers, com.smartgwt.client.widgets.events.HasShowContextMenuHandlers, com.smartgwt.client.widgets.grid.events.HasCellClickHandlers, com.smartgwt.client.widgets.grid.events.HasCellContextClickHandlers, com.smartgwt.client.widgets.grid.events.HasCellDoubleClickHandlers, com.smartgwt.client.widgets.grid.events.HasCellHoverHandlers, com.smartgwt.client.widgets.grid.events.HasCellMouseDownHandlers, com.smartgwt.client.widgets.grid.events.HasCellMouseUpHandlers, com.smartgwt.client.widgets.grid.events.HasCellOutHandlers, com.smartgwt.client.widgets.grid.events.HasCellOverHandlers, com.smartgwt.client.widgets.grid.events.HasCellSavedHandlers, com.smartgwt.client.widgets.grid.events.HasDataArrivedHandlers, com.smartgwt.client.widgets.grid.events.HasEditCompleteHandlers, com.smartgwt.client.widgets.grid.events.HasEditFailedHandlers, com.smartgwt.client.widgets.grid.events.HasEditorEnterHandlers, com.smartgwt.client.widgets.grid.events.HasEditorExitHandlers, com.smartgwt.client.widgets.grid.events.HasFieldStateChangedHandlers, com.smartgwt.client.widgets.grid.events.HasHeaderClickHandlers, com.smartgwt.client.widgets.grid.events.HasRecordClickHandlers, com.smartgwt.client.widgets.grid.events.HasRecordDoubleClickHandlers, com.smartgwt.client.widgets.grid.events.HasRecordDropHandlers, com.smartgwt.client.widgets.grid.events.HasRowContextClickHandlers, com.smartgwt.client.widgets.grid.events.HasRowEditorEnterHandlers, com.smartgwt.client.widgets.grid.events.HasRowEditorExitHandlers, com.smartgwt.client.widgets.grid.events.HasRowHoverHandlers, com.smartgwt.client.widgets.grid.events.HasRowMouseDownHandlers, com.smartgwt.client.widgets.grid.events.HasRowMouseUpHandlers, com.smartgwt.client.widgets.grid.events.HasRowOutHandlers, com.smartgwt.client.widgets.grid.events.HasRowOverHandlers, com.smartgwt.client.widgets.grid.events.HasSelectionChangedHandlers, com.smartgwt.client.widgets.tree.events.HasFolderClickHandlers, com.smartgwt.client.widgets.tree.events.HasFolderClosedHandlers, com.smartgwt.client.widgets.tree.events.HasFolderContextClickHandlers, com.smartgwt.client.widgets.tree.events.HasFolderDropHandlers, com.smartgwt.client.widgets.tree.events.HasFolderOpenedHandlers, com.smartgwt.client.widgets.tree.events.HasLeafClickHandlers, com.smartgwt.client.widgets.tree.events.HasLeafContextClickHandlers, com.smartgwt.client.widgets.tree.events.HasNodeClickHandlers, com.smartgwt.client.widgets.tree.events.HasNodeContextClickHandlers

public class XWikiExplorer
extends com.smartgwt.client.widgets.tree.TreeGrid

Wrapper for XWikiExplorer SmartClient-based widget.

Version:
$Id: XWikiExplorer.java 31743 2010-10-13 01:20:32Z mflorea $

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.smartgwt.client.widgets.BaseWidget
config, configOnly, id, isElementSet, scClassName
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
XWikiExplorer()
          Constructor.
XWikiExplorer(com.google.gwt.core.client.JavaScriptObject jsObj)
          Constructor.
 
Method Summary
protected  com.google.gwt.core.client.JavaScriptObject create()
          Native JS call that creates the widget.
static XWikiExplorer getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
          Static method allowing to get the XWikiExplorer, creates the widget from the JavaScriptObject argument if it is not null.
 java.lang.String getSelectedAnchor()
          Get the name of the anchor selected in the Tree.
 java.lang.String getSelectedAttachment()
          Get the name of the attachment selected in the Tree.
 java.lang.String getSelectedPage()
          Get the name of the page selected in the Tree.
 java.lang.String getSelectedSpace()
          Get the name of the space selected in the Tree.
 java.lang.String getSelectedWiki()
          Get the name of the wiki selected in the Tree.
 java.lang.String getValue()
          Get the name of the resource selected in the Tree.
 boolean isNewAttachment()
          Is the selected resource a new attachment.
 boolean isNewPage()
          Is the selected resource a new page.
 boolean isNewPageSelectedFromTextInput()
           
 boolean isNewPageSelectedFromTreeNode()
           
 void selectEntity(EntityReference entityReference, java.lang.String anchor)
          Selects the tree node corresponding to the specified entity and anchor.
 void setDefaultValue(java.lang.String defaultValue)
           
 void setDisplayAddAttachment(boolean displayAddAttachment)
           
 void setDisplayAddAttachmentOnTop(boolean displayAddAttachmentOnTop)
           
 void setDisplayAddPage(boolean displayAddPage)
           
 void setDisplayAddPageOnTop(boolean displayAddPageOnTop)
           
 void setDisplayAttachments(boolean displayAttachments)
           
 void setDisplayAttachmentsOnTop(boolean displayAttachmentsOnTop)
           
 void setDisplayAttachmentsWhenEmpty(boolean displayAttachmentsWhenEmpty)
           
 void setDisplayLinks(boolean displayLinks)
           
 void setDisplaySpaceNodesDisabled(boolean displaySpaceNodesDisabled)
           
 void setDisplaySuggest(boolean displaySuggest)
           
 void setDisplayWikiNodesDisabled(boolean displayWikiNodesDisabled)
           
 void setHeight(java.lang.String height)
          .
 void setSpace(java.lang.String space)
           
 void setValue(java.lang.String value)
           
 void setWiki(java.lang.String wiki)
           
 
Methods inherited from class com.smartgwt.client.widgets.tree.TreeGrid
addDataArrivedHandler, addFolderClickHandler, addFolderClosedHandler, addFolderContextClickHandler, addFolderDropHandler, addFolderOpenedHandler, addLeafClickHandler, addLeafContextClickHandler, addNodeClickHandler, addNodeContextClickHandler, addRecordDropHandler, canEditCell, fetchData, fetchData, fetchData, fetchData, filterData, filterData, filterData, getAnimateFolderEffect, getAnimateFolders, getAnimateFolderSpeed, getAnimateFolderTime, getAutoFetchTextMatchStyle, getCanAcceptDroppedRecords, getCanDragRecordsOut, getCanDropOnLeaves, getCanReorderRecords, getCanReparentNodes, getCantDragIntoChildMessage, getCantDragIntoSelfMessage, getCellAlign, getClosedIconSuffix, getConnectorImage, getCustomIconDropProperty, getCustomIconOpenProperty, getCustomIconProperty, getData, getDisplayNodeType, getDropFolder, getDropIconSuffix, getEventRow, getEventRow, getExtraIcon, getFolderIcon, getIcon, getIconSize, getIndentSize, getLoadDataOnDemand, getManyItemsImage, getNodeIcon, getNodeTitle, getOpenerIconSize, getOpenerImage, getOpenIcon, getOpenIconSuffix, getOpenState, getParentAlreadyContainsChildMessage, getRecord, getRecords, getSelectedPaths, getSelectedRecord, getSeparateFolders, getShowConnectors, getShowCustomIconDrop, getShowCustomIconOpen, getShowDropIcons, getShowFullConnectors, getShowOpenIcons, getShowRoot, getTree, getTreeFieldTitle, getTreeRootValue, onInit, recordDoubleClick, setAnimateFolderEffect, setAnimateFolders, setAnimateFolderSpeed, setAnimateFolderTime, setAutoFetchTextMatchStyle, setCanAcceptDroppedRecords, setCanDragRecordsOut, setCanDropOnLeaves, setCanReorderRecords, setCanReparentNodes, setCantDragIntoChildMessage, setCantDragIntoSelfMessage, setClosedIconSuffix, setConnectorImage, setCustomIconDropProperty, setCustomIconOpenProperty, setCustomIconProperty, setCustomNodeIcon, setData, setDataProperties, setDisplayNodeType, setDropIconSuffix, setFields, setFolderIcon, setIconSize, setIndentSize, setInitialData, setLoadDataOnDemand, setManyItemsImage, setNodeIcon, setOpenerIconSize, setOpenerImage, setOpenIconSuffix, setOpenState, setParentAlreadyContainsChildMessage, setSelectedPaths, setSeparateFolders, setShowConnectors, setShowCustomIconDrop, setShowCustomIconOpen, setShowDropIcons, setShowFullConnectors, setShowOpenIcons, setShowRoot, setTreeFieldTitle, setTreeRootValue, setTreeRootValue, willAcceptDrop
 
Methods inherited from class com.smartgwt.client.widgets.grid.ListGrid
addCellClickHandler, addCellContextClickHandler, addCellDoubleClickHandler, addCellHoverHandler, addCellMouseDownHandler, addCellMouseUpHandler, addCellOutHandler, addCellOverHandler, addCellSavedHandler, addData, addData, addData, addDataArrivedHandler, addEditCompleteHandler, addEditFailedHandler, addEditorEnterHandler, addEditorExitHandler, addFieldStateChangedHandler, addFormulaField, addHeaderClickHandler, addRecordClickHandler, addRecordDoubleClickHandler, addRowContextClickHandler, addRowEditorEnterHandler, addRowEditorExitHandler, addRowHoverHandler, addRowMouseDownHandler, addRowMouseUpHandler, addRowOutHandler, addRowOverHandler, addSelectionChangedHandler, addSort, addSummaryField, anySelected, cancelEditing, canEditCell, canExpandRecord, cellHasChanges, cellHasErrors, cellHasErrors, clearCriteria, clearCriteria, clearEditValue, clearFieldError, clearFieldError, clearRowErrors, closeRecord, collapseRecord, deselectAllRecords, deselectRecord, deselectRecord, deselectRecords, deselectRecords, disableHilite, disableHiliting, discardAllEdits, discardAllEdits, discardEdits, discardEdits, enableHilite, enableHilite, enableHiliting, enableHiliting, endEditing, expandRecord, exportData, exportData, fetchRelatedData, fetchRelatedData, fieldIsVisible, filterByEditor, filterData, focusInFilterEditor, focusInFilterEditor, freezeField, freezeField, getAddDropValues, getAddFormulaFieldText, getAddOperation, getAddSummaryFieldText, getAllEditRows, getAllFields, getAlternateBodyStyleName, getAlternateRecordFrequency, getAlternateRecordStyles, getAlwaysShowEditors, getAnimateRemoveRecord, getAnimateRemoveSpeed, getAnimateRemoveTime, getArrowKeyAction, getAutoFetchAsFilter, getAutoFetchData, getAutoFetchDisplayMap, getAutoFitData, getAutoFitExtraRecords, getAutoFitMaxColumns, getAutoFitMaxHeight, getAutoFitMaxRecords, getAutoFitMaxWidth, getAutoSaveEdits, getBaseStyle, getBaseStyle, getBodyBackgroundColor, getBodyOverflow, getBodyStyleName, getBooleanFalseImage, getBooleanImageHeight, getBooleanImageWidth, getBooleanTrueImage, getCanAddFormulaFields, getCanAddSummaryFields, getCancelEditingConfirmationMessage, getCanDragSelect, getCanDragSelectText, getCanEdit, getCanExpandRecordProperty, getCanExpandRecords, getCanFreezeFields, getCanGroupBy, getCanHover, getCanMultiSort, getCanRemoveRecords, getCanReorderFields, getCanResizeFields, getCanSelectAll, getCanSort, getCellCSSText, getCellErrors, getCellHeight, getCellPadding, getCheckboxFieldFalseImage, getCheckboxFieldImageHeight, getCheckboxFieldImageWidth, getCheckboxFieldTrueImage, getChildExpansionMode, getClearAllSortingText, getClearFilterText, getClearSortFieldText, getConfirmCancelEditing, getConfirmDiscardEdits, getConfirmDiscardEditsMessage, getCriteria, getDataAsRecordList, getDataFetchMode, getDataPageSize, getDataSource, getDateFormatter, getDatetimeFormatter, getDefaultFields, getDetailField, getDiscardEditsSaveButtonTitle, getDragData, getDragDataAction, getDragTrackerMode, getDragTrackerStyle, getDragTrackerTitle, getDrawAheadRatio, getDrawAllMaxCells, getDrawnRows, getDropValues, getDuplicateDragMessage, getEditByCell, getEditCol, getEditedCell, getEditedCell, getEditedCell, getEditedCell, getEditedRecord, getEditEvent, getEditFailedBaseStyle, getEditFailedCSSText, getEditFormulaFieldText, getEditOnFocus, getEditPendingBaseStyle, getEditPendingCSSText, getEditRow, getEditSummaryFieldText, getEditValue, getEditValue, getEditValues, getEditValues, getEmptyCellValue, getEmptyMessage, getEmptyMessageStyle, getEnforceVClipping, getEnterKeyEditAction, getEscapeKeyEditAction, getEventColumn, getEventColumn, getExpansionCanEdit, getExpansionComponent, getExpansionFieldFalseImage, getExpansionFieldImageHeight, getExpansionFieldImageWidth, getExpansionFieldTrueImage, getExpansionMode, getExportAll, getExportFields, getFetchDelay, getFetchOperation, getField, getField, getFieldName, getFieldName, getFieldNum, getFields, getFieldState, getFieldVisibilitySubmenuTitle, getFilterByCell, getFilterEditorCriteria, getFilterEditorHeight, getFilterOnKeypress, getFixedFieldWidths, getFixedRecordHeights, getFocusRow, getFormulaFieldValue, getFreezeFieldText, getFreezeOnLeftText, getFreezeOnRightText, getFrozenBaseStyle, getFrozenHeaderBaseStyle, getFrozenHeaderTitleStyle, getGenerateClickOnEnter, getGenerateClickOnSpace, getGenerateDoubleClickOnEnter, getGenerateDoubleClickOnSpace, getGridRenderer, getGridSummary, getGridSummaryRecordProperty, getGroupByMaxRecords, getGroupByText, getGroupIcon, getGroupIconSize, getGroupIndentSize, getGroupLeadingIndent, getGroupNodeStyle, getGroupSummaryRecordProperty, getGroupSummaryStyle, getGroupTree, getHeaderBackgroundColor, getHeaderBarStyle, getHeaderBaseStyle, getHeaderContextMenuItems, getHeaderHeight, getHeaderMenuButtonHeight, getHeaderMenuButtonIcon, getHeaderMenuButtonIconHeight, getHeaderMenuButtonIconWidth, getHeaderMenuButtonWidth, getHeaderSpanHeight, getHeaderTitleStyle, getHiliteProperty, getHoverStyle, getImageSize, getIncludeInSummaryProperty, getInitialCriteria, getInitialSort, getInvalidSummaryValue, getIsGrouped, getIsSeparatorProperty, getLeaveScrollbarGap, getLinkTextProperty, getListEndEditAction, getLoadingDataMessage, getLoadingDataMessageStyle, getLoadingMessage, getLongTextEditorThreshold, getLongTextEditorType, getMinFieldWidth, getModalEditing, getNeverValidate, getNullGroupTitle, getPreventDuplicates, getQuickDrawAheadRatio, getRecordBaseStyleProperty, getRecordDetailDSProperty, getRecordEditProperty, getRecordEnabledProperty, getRecordIndex, getRecordIndex, getRecordList, getRecordSummaryBaseStyle, getRelatedDataSource, getRemoveIcon, getRemoveOperation, getResizeFieldsInRealTime, getResultSet, getRowEndEditAction, getRowErrors, getSaveByCell, getSaveLocally, getScrollRedrawDelay, getSelectedState, getSelection, getSelectionAppearance, getSelectionType, getSelectOnEdit, getShowAllRecords, getShowComplexFields, getShowDetailFields, getShowEmptyMessage, getShowFilterEditor, getShowGridSummary, getShowGroupSummary, getShowHeader, getShowHeaderContextMenu, getShowHeaderMenuButton, getShowHiddenFields, getShowHover, getShowRollOver, getShowSortArrow, getShowTreeColumnPicker, getShrinkForFreeze, getSingleCellValueProperty, getSkinImgDir, getSort, getSortAscendingImage, getSortDescendingImage, getSortDirection, getSortField, getSortFieldAscendingText, getSortFieldCount, getSortFieldDescendingText, getSortNumeralHTML, getSortNumeralStyle, getSortSpecifier, getSortState, getStopOnErrors, getStyleName, getSummaryFieldValue, getSummaryRowCriteria, getSummaryRowDataSource, getSummaryRowFetchRequestProperties, getSummaryRowHeight, getSummaryRowStyle, getTitleField, getTitleFieldValue, getToggleFreezeText, getTotalRows, getTrackerImage, getUnfreezeFieldText, getUngroupText, getUpdateOperation, getUseAllDataSourceFields, getUseFlatFields, getValidateByCell, getValidateOnChange, getValueIconHeight, getValueIconLeftPadding, getValueIconRightPadding, getValueIconSize, getValueIconWidth, getViewState, getVisibleRows, getWaitForSave, getWrapCells, groupBy, hasChanges, hasErrors, hideField, hideField, invalidateCache, isCheckboxField, isExpansionField, isGrouped, isSortField, markForRedraw, markForRedraw, openRecordDetailGrid, openRecordEditor, preloadImages, refreshCell, refreshCell, refreshCellStyle, refreshFields, refreshRow, removeData, removeData, removeData, removeSelectedData, removeSelectedData, reorderField, reorderFields, resizeField, rowClick, rowDoubleClick, rowHasChanges, rowHasErrors, saveAllEdits, saveAllEdits, saveAllEdits, scrollBodyTo, scrollToRow, selectAllRecords, selectRecord, selectRecord, selectRecord, selectRecord, selectRecords, selectRecords, selectRecords, selectRecords, selectSingleRecord, selectSingleRecord, setAddDropValues, setAddFormulaFieldText, setAddOperation, setAddSummaryFieldText, setAlternateBodyStyleName, setAlternateRecordFrequency, setAlternateRecordStyles, setAlwaysShowEditors, setAnimateRemoveRecord, setAnimateRemoveSpeed, setAnimateRemoveTime, setArrowKeyAction, setAutoFetchAsFilter, setAutoFetchData, setAutoFetchDisplayMap, setAutoFitData, setAutoFitExtraRecords, setAutoFitMaxColumns, setAutoFitMaxHeight, setAutoFitMaxRecords, setAutoFitMaxWidth, setAutoSaveEdits, setBaseStyle, setBodyBackgroundColor, setBodyOverflow, setBodyStyleName, setBooleanFalseImage, setBooleanImageHeight, setBooleanImageWidth, setBooleanTrueImage, setCanAddFormulaFields, setCanAddSummaryFields, setCancelEditingConfirmationMessage, setCanDragSelect, setCanDragSelectText, setCanEdit, setCanExpandRecordProperty, setCanExpandRecords, setCanFreezeFields, setCanGroupBy, setCanHover, setCanMultiSort, setCanRemoveRecords, setCanReorderFields, setCanResizeFields, setCanSelectAll, setCanSort, setCellHeight, setCellPadding, setCheckboxFieldFalseImage, setCheckboxFieldImageHeight, setCheckboxFieldImageWidth, setCheckboxFieldTrueImage, setChildExpansionMode, setClearAllSortingText, setClearFilterText, setClearSortFieldText, setConfirmCancelEditing, setConfirmDiscardEdits, setConfirmDiscardEditsMessage, setCriteria, setData, setData, setData, setDataFetchMode, setDataPageSize, setDataProperties, setDataSource, setDateFormatter, setDateInputFormat, setDatetimeFormatter, setDefaultFields, setDetailField, setDiscardEditsSaveButtonTitle, setDragDataAction, setDragTrackerMode, setDragTrackerStyle, setDrawAheadRatio, setDrawAllMaxCells, setDropValues, setDuplicateDragMessage, setEditByCell, setEditEvent, setEditFailedBaseStyle, setEditFailedCSSText, setEditFormulaFieldText, setEditOnFocus, setEditPendingCSSText, setEditSummaryFieldText, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValue, setEditValues, setEmptyCellValue, setEmptyMessage, setEmptyMessageStyle, setEnforceVClipping, setEnterKeyEditAction, setEscapeKeyEditAction, setExpansionCanEdit, setExpansionFieldFalseImage, setExpansionFieldImageHeight, setExpansionFieldImageWidth, setExpansionFieldTrueImage, setExpansionMode, setExportAll, setExportFields, setFastCellUpdates, setFetchDelay, setFetchOperation, setFieldError, setFieldError, setFields, setFieldState, setFieldTitle, setFieldTitle, setFieldVisibilitySubmenuTitle, setFilterByCell, setFilterEditorCriteria, setFilterEditorHeight, setFilterOnKeypress, setFixedFieldWidths, setFixedRecordHeights, setFreezeFieldText, setFreezeOnLeftText, setFreezeOnRightText, setFrozenBaseStyle, setFrozenHeaderBaseStyle, setFrozenHeaderTitleStyle, setGenerateClickOnEnter, setGenerateClickOnSpace, setGenerateDoubleClickOnEnter, setGenerateDoubleClickOnSpace, setGridSummaryRecordProperty, setGroupByField, setGroupByMaxRecords, setGroupByText, setGroupIcon, setGroupIconSize, setGroupIndentSize, setGroupLeadingIndent, setGroupNodeStyle, setGroupStartOpen, setGroupStartOpen, setGroupSummaryRecordProperty, setGroupSummaryStyle, setHeaderBackgroundColor, setHeaderBarStyle, setHeaderBaseStyle, setHeaderHeight, setHeaderMenuButtonHeight, setHeaderMenuButtonIcon, setHeaderMenuButtonIconHeight, setHeaderMenuButtonIconWidth, setHeaderMenuButtonWidth, setHeaderSpanHeight, setHeaderSpans, setHeaderSpanTitle, setHeaderTitleStyle, setHiliteProperty, setHoverStyle, setImageSize, setIncludeInSummaryProperty, setInitialCriteria, setInitialSort, setInvalidSummaryValue, setIsSeparatorProperty, setLeaveScrollbarGap, setLinkTextProperty, setListEndEditAction, setLoadingDataMessage, setLoadingDataMessageStyle, setLoadingMessage, setLongTextEditorThreshold, setLongTextEditorType, setMinFieldWidth, setModalEditing, setNeverValidate, setNullGroupTitle, setPreventDuplicates, setQuickDrawAheadRatio, setRecordBaseStyleProperty, setRecordDetailDSProperty, setRecordEditProperty, setRecordEnabledProperty, setRecords, setRecordSummaryBaseStyle, setRemoveIcon, setRemoveOperation, setResizeFieldsInRealTime, setRowEndEditAction, setRowErrors, setSaveByCell, setSaveLocally, setScrollRedrawDelay, setSelectedState, setSelectionAppearance, setSelectionType, setSelectOnEdit, setShowAllRecords, setShowComplexFields, setShowDetailFields, setShowEmptyMessage, setShowFilterEditor, setShowGridSummary, setShowGroupSummary, setShowHeader, setShowHeaderContextMenu, setShowHeaderMenuButton, setShowHiddenFields, setShowHover, setShowRollOver, setShowSortArrow, setShowTreeColumnPicker, setShrinkForFreeze, setSingleCellValueProperty, setSkinImgDir, setSort, setSortAscendingImage, setSortDescendingImage, setSortDirection, setSortField, setSortField, setSortFieldAscendingText, setSortFieldDescendingText, setSortNumeralStyle, setSortState, setStopOnErrors, setStyleName, setSummaryRowCriteria, setSummaryRowDataSource, setSummaryRowFetchRequestProperties, setSummaryRowHeight, setSummaryRowStyle, setTitleField, setTrackerImage, setUnfreezeFieldText, setUngroupText, setUpdateOperation, setUseAllDataSourceFields, setUseFlatFields, setValidateByCell, setValidateOnChange, setValueIconHeight, setValueIconLeftPadding, setValueIconRightPadding, setValueIconSize, setValueIconWidth, setValueMap, setValueMap, setViewState, setWaitForSave, setWrapCells, showField, showField, sort, sort, sort, startEditing, startEditing, startEditingNew, startEditingNew, stopHover, toggleSort, transferSelectedData, transferSelectedData, unfreezeField, unfreezeField, ungroup, unsort, updateData, updateData, updateData, validateCell, validateCell, validateRow, willFetchData, willFetchData
 
Methods inherited from class com.smartgwt.client.widgets.Canvas
addChild, addChild, addChild, addClickHandler, addDoubleClickHandler, addDragMoveHandler, addDragRepositionMoveHandler, addDragRepositionStartHandler, addDragRepositionStopHandler, addDragResizeMoveHandler, addDragResizeStartHandler, addDragResizeStopHandler, addDragStartHandler, addDragStopHandler, addDropHandler, addDropMoveHandler, addDropOutHandler, addDropOverHandler, addFocusChangedHandler, addHoverHandler, addHoverHiddenHandler, addKeyDownHandler, addKeyPressHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseStillDownHandler, addMouseUpHandler, addMouseWheelHandler, addPeer, addPeer, addResizedHandler, addRightMouseDownHandler, addScrolledHandler, addShowContextMenuHandler, addStyleName, adjustForContent, animateFade, animateFade, animateFade, animateHide, animateHide, animateHide, animateMove, animateMove, animateMove, animateMove, animateRect, animateRect, animateRect, animateResize, animateResize, animateResize, animateScroll, animateScroll, animateScroll, animateShow, animateShow, animateShow, blur, bringToFront, clear, clickMaskUp, clickMaskUp, contains, contains, containsEvent, containsFocus, containsPoint, containsPoint, convertToCanvasArray, disable, enable, focus, getAbsoluteLeft, getAbsoluteTop, getAccessKey, getAnimateAcceleration, getAnimateFadeTime, getAnimateHideAcceleration, getAnimateHideTime, getAnimateMoveAcceleration, getAnimateMoveTime, getAnimateRectAcceleration, getAnimateRectTime, getAnimateResizeAcceleration, getAnimateResizeTime, getAnimateScrollAcceleration, getAnimateScrollTime, getAnimateShowAcceleration, getAnimateShowTime, getAnimateTime, getAppImgDir, getAutoShowParent, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, getBottom, getById, getCanAcceptDrop, getCanDrag, getCanDragReposition, getCanDragResize, getCanDragScroll, getCanDrop, getCanDropBefore, getCanFocus, getCanSelectText, getChildren, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getContents, getContextMenu, getCursor, getDataPath, getDefaultHeight, getDefaultWidth, getDestroyed, getDestroying, getDisabled, getDisabledCursor, getDoubleClickDelay, getDragAppearance, getDragIntersectStyle, getDragOpacity, getDragRepositionCursor, getDragScrollDelay, getDragStartDistance, getDragTarget, getDragType, getDynamicContents, getEdgeBackgroundColor, getEdgeCenterBackgroundColor, getEdgeImage, getEdgeOffset, getEdgeOpacity, getEdgeShowCenter, getEdgeSize, getExtraSpace, getFullDataPath, getGroupTitle, getHeight, getHeightAsString, getHoverAlign, getHoverDelay, getHoverHeight, getHoverHTML, getHoverMoveWithMouse, getHoverOpacity, getHoverVAlign, getHoverWidth, getHoverWrap, getHSnapOrigin, getHSnapOrigin, getHSnapPosition, getHSnapPosition, getHtmlPosition, getImgURL, getImgURL, getInnerContentHeight, getInnerContentWidth, getInnerHeight, getInnerWidth, getIsGroup, getLeft, getLeftAsString, getMargin, getMatchElement, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getMouseStillDownDelay, getMouseStillDownInitialDelay, getNextZIndex, getNoDoubleClicks, getOffsetHeight, getOffsetWidth, getOffsetX, getOffsetY, getOpacity, getOverflow, getPadding, getPageBottom, getPageLeft, getPageRect, getPageRight, getPageTop, getParentElement, getPercentBox, getPosition, getPrefix, getPrompt, getRect, getRedrawOnResize, getResizeBarTarget, getRight, getScrollbarSize, getScrollBottom, getScrollHeight, getScrollLeft, getScrollRight, getScrollTop, getScrollWidth, getShadowDepth, getShadowImage, getShadowOffset, getShadowSoftness, getShowCustomScrollbars, getShowDragShadow, getShowEdges, getShowResizeBar, getShowShadow, getSnapAxis, getSnapEdge, getSnapHDirection, getSnapHGap, getSnapOffsetLeft, getSnapOffsetTop, getSnapOnDrop, getSnapResizeToGrid, getSnapTo, getSnapToGrid, getSnapVDirection, getSnapVGap, getTabIndex, getTitle, getTooltip, getTop, getTopAsString, getValuesManager, getViewportHeight, getViewportWidth, getVisibility, getVisibleHeight, getVisibleWidth, getVSnapOrigin, getVSnapOrigin, getVSnapPosition, getVSnapPosition, getWidth, getWidthAsString, getZIndex, handleHover, hide, hideClickMask, hideClickMask, hideContextMenu, imgHTML, imgHTML, imgHTML, intersects, isDirty, isDisabled, isDrawn, isVisible, keyUp, layoutChildren, linkHTML, linkHTML, markForDestroy, moveAbove, moveBelow, moveBy, moveTo, parentResized, redraw, redraw, removeChild, removeChild, resizeBy, resizeTo, resizeTo, scrollBy, scrollByPercent, scrollTo, scrollTo, scrollToBottom, scrollToLeft, scrollToPercent, scrollToRight, scrollToTop, sendToBack, setAccessKey, setAlign, setAnimateAcceleration, setAnimateFadeTime, setAnimateHideAcceleration, setAnimateHideTime, setAnimateMoveAcceleration, setAnimateMoveTime, setAnimateRectAcceleration, setAnimateRectTime, setAnimateResizeAcceleration, setAnimateResizeTime, setAnimateScrollAcceleration, setAnimateScrollTime, setAnimateShowAcceleration, setAnimateShowTime, setAnimateTime, setAppImgDir, setAutoHeight, setAutoShowParent, setAutoWidth, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBottom, setCanAcceptDrop, setCanDrag, setCanDragReposition, setCanDragResize, setCanDragScroll, setCanDrop, setCanDropBefore, setCanFocus, setCanSelectText, setChildren, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setContents, setContextMenu, setCursor, setDataPath, setDefaultHeight, setDefaultWidth, setDisabled, setDisabledCursor, setDoubleClickDelay, setDragAppearance, setDragIntersectStyle, setDragOpacity, setDragRepositionCursor, setDragScrollDelay, setDragStartDistance, setDragTarget, setDragType, setDropTypes, setDynamicContents, setEdgeBackgroundColor, setEdgeCenterBackgroundColor, setEdgeImage, setEdgeMarginSize, setEdgeOffset, setEdgeOpacity, setEdgeShowCenter, setEdgeSize, setExtraSpace, setGroupTitle, setHeight, setHeight100, setHoverAlign, setHoverDelay, setHoverHeight, setHoverMoveWithMouse, setHoverOpacity, setHoverVAlign, setHoverWidth, setHoverWrap, setHtmlPosition, setImage, setImage, setIsGroup, setKeepInParentRect, setKeepInParentRect, setLayoutAlign, setLayoutAlign, setLeft, setLeft, setMargin, setMatchElement, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setMouseStillDownDelay, setMouseStillDownInitialDelay, setNoDoubleClicks, setOpacity, setOverflow, setPadding, setPageLeft, setPageTop, setParentElement, setPercentBox, setPosition, setPrefix, setPrompt, setRect, setRect, setRedrawOnResize, setResizeBarTarget, setResizeFrom, setRight, setScrollbarSize, setShadowDepth, setShadowImage, setShadowOffset, setShadowSoftness, setShowCustomScrollbars, setShowDragShadow, setShowEdges, setShowResizeBar, setShowShadow, setSmoothFade, setSnapAxis, setSnapEdge, setSnapHDirection, setSnapHGap, setSnapOffsetLeft, setSnapOffsetTop, setSnapOnDrop, setSnapResizeToGrid, setSnapTo, setSnapToGrid, setSnapVDirection, setSnapVGap, setTabIndex, setTitle, setTooltip, setTop, setTop, setValuesManager, setVisibility, setVisible, setWidth, setWidth, setWidth100, setZIndex, shouldDragScroll, show, showClickMask, showNextTo, showNextTo, showPrintPreview, updateHover, updateHover, updateShadow, visibleAtPoint, visibleAtPoint
 
Methods inherited from class com.smartgwt.client.widgets.BaseWidget
addDrawHandler, destroy, doAddHandler, doInit, doOnRender, draw, equals, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getConfig, getDOM, getElement, getElement, getHandlerCount, getID, getInnerHTML, getJsObj, getOrCreateJsObj, getRef, hashCode, isConfigOnly, isCreated, onDestroy, onDraw, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setDragTracker, setElement, setHtmlElement, setID, setNullProperty, setPosition, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, toString
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getStyleElement, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.smartgwt.client.widgets.DataBoundComponent
getOrCreateJsObj
 

Constructor Detail

XWikiExplorer

public XWikiExplorer()
Constructor.


XWikiExplorer

public XWikiExplorer(com.google.gwt.core.client.JavaScriptObject jsObj)
Constructor. Wraps the JavaScriptObject argument.

Parameters:
jsObj - JavaScript object to wrap.
Method Detail

getOrCreateRef

public static XWikiExplorer getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
Static method allowing to get the XWikiExplorer, creates the widget from the JavaScriptObject argument if it is not null.

Parameters:
jsObj - JavaScript object to wrap if not null.
Returns:
XWikiExplorer widget.

create

protected com.google.gwt.core.client.JavaScriptObject create()
Native JS call that creates the widget.

Overrides:
create in class com.smartgwt.client.widgets.tree.TreeGrid
Returns:
XWikiExplorer JavaScript widget.

setWiki

public void setWiki(java.lang.String wiki)
Parameters:
wiki - wiki, Default value is "xwiki".

setSpace

public void setSpace(java.lang.String space)
Parameters:
space - space, Default value is "".

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Parameters:
defaultValue - defaultValue, Default value is "Main.WebHome".

setDisplaySuggest

public void setDisplaySuggest(boolean displaySuggest)
Parameters:
displaySuggest - displaySuggest, Default value is true.

setDisplayLinks

public void setDisplayLinks(boolean displayLinks)
Parameters:
displayLinks - displayLinks, Default value is true.

setDisplayAddPage

public void setDisplayAddPage(boolean displayAddPage)
Parameters:
displayAddPage - displayAddPage, Default value is false.

setDisplayAddPageOnTop

public void setDisplayAddPageOnTop(boolean displayAddPageOnTop)
Parameters:
displayAddPageOnTop - displayAddPageOnTop, Default value is true.

setDisplayAttachments

public void setDisplayAttachments(boolean displayAttachments)
Parameters:
displayAttachments - displayAttachments, Default value is true.

setDisplayAttachmentsOnTop

public void setDisplayAttachmentsOnTop(boolean displayAttachmentsOnTop)
Parameters:
displayAttachmentsOnTop - displayAttachmentsOnTop, Default value is true.

setDisplayAttachmentsWhenEmpty

public void setDisplayAttachmentsWhenEmpty(boolean displayAttachmentsWhenEmpty)
Parameters:
displayAttachmentsWhenEmpty - displayAttachmentsWhenEmpty, Default value is true.

setDisplayAddAttachment

public void setDisplayAddAttachment(boolean displayAddAttachment)
Parameters:
displayAddAttachment - displayAddAttachment, Default value is false.

setDisplayAddAttachmentOnTop

public void setDisplayAddAttachmentOnTop(boolean displayAddAttachmentOnTop)
Parameters:
displayAddAttachmentOnTop - displayAddAttachmentOnTop, Default value is false.

setDisplayWikiNodesDisabled

public void setDisplayWikiNodesDisabled(boolean displayWikiNodesDisabled)
Parameters:
displayWikiNodesDisabled - displayWikiNodesDisabled, Default value is false.

setDisplaySpaceNodesDisabled

public void setDisplaySpaceNodesDisabled(boolean displaySpaceNodesDisabled)
Parameters:
displaySpaceNodesDisabled - displayAddAttachmentOnTop, Default value is false.

getValue

public java.lang.String getValue()
Get the name of the resource selected in the Tree. Examples: "xwiki", "xwiki:Main", "xwiki:Main.WebHome".

Returns:
Name of the resource selected in the Tree, empty string if none selected.

setValue

public void setValue(java.lang.String value)
Parameters:
value - Set XWikiExplorer suggest input value.

getSelectedWiki

public java.lang.String getSelectedWiki()
Get the name of the wiki selected in the Tree.

Returns:
the name of the wiki selected in the Tree, empty string if none selected.

getSelectedSpace

public java.lang.String getSelectedSpace()
Get the name of the space selected in the Tree.

Returns:
the name of the space selected in the Tree, empty string if none selected.

getSelectedPage

public java.lang.String getSelectedPage()
Get the name of the page selected in the Tree.

Returns:
the name of the page selected in the Tree, empty string if none selected.

getSelectedAttachment

public java.lang.String getSelectedAttachment()
Get the name of the attachment selected in the Tree.

Returns:
the name of the attachment selected in the Tree, empty string if none selected.

getSelectedAnchor

public java.lang.String getSelectedAnchor()
Get the name of the anchor selected in the Tree.

Returns:
the name of the anchor selected in the Tree, empty string if none selected.

isNewPage

public boolean isNewPage()
Is the selected resource a new page.

Returns:
true if the selected node is a new page.

isNewPageSelectedFromTreeNode

public boolean isNewPageSelectedFromTreeNode()
Returns:
true if the selected node is a new page, created by clicking on a "New Page" node, false otherwise.

isNewPageSelectedFromTextInput

public boolean isNewPageSelectedFromTextInput()
Returns:
true if the selected node is a new page, created by typing text in the suggest input, false otherwise.

isNewAttachment

public boolean isNewAttachment()
Is the selected resource a new attachment.

Returns:
true if the selected node is a new Attachment.

setHeight

public void setHeight(java.lang.String height)
. Override this function because it sets the height of the inner tree grid, without the explorer input. So, we need this function to take into account the size taken by all elements under the tree (the input, its margin, etc).

Overrides:
setHeight in class com.smartgwt.client.widgets.Canvas

selectEntity

public void selectEntity(EntityReference entityReference,
                         java.lang.String anchor)
Selects the tree node corresponding to the specified entity and anchor.

Parameters:
entityReference - an entity reference
anchor - a string identifying a fragment of the specified entity


Copyright © 2004-2011 XWiki. All Rights Reserved.