Class

AttributesMenu

AttributesMenu(props) → {React.PureComponent}

Overview

Allows a user to choose object's visible name. When mounted makes an API call to retrieve available names from server. When a user changes name, makes an API call to save selection.
Constructor

# new AttributesMenu(props) → {React.PureComponent}

Parameters:
Name Type Description
props Object
ListProps Object

Props applied to the List element from react-virtualized.

MuiMenuProps string

Props applied to the Menu element from Material-UI.

objectGlobalName string

The global visible object name used by all tabs as reference.

onAttributesRefreshed function

Callback fired when component has just refreshed it's content.

onObjectNamesChange function

Callback fired when object names have been changed.

onSnackbarOpen function

Callback fired when the component requests to display an error.

projectId string

The identifier of a selected project.

refreshNeeded boolean

If true the component will refresh it's content.

resource string

The name of a selected resource.

serverBase string

The host in the URL of an API call.

queryParams Object

The query parameters in the URL of an API call.

queryParams.subject number

The index of a subject that contains object names.

queryParams.set string

The name of the set that narrows down object names.

View Source Utils/Menus/AttributesMenu/AttributesMenu.js, line 46

React.PureComponent