Class

ClassifiedObjectDialog

ClassifiedObjectDialog(props) → {React.PureComponent}

Overview

The fullscreen dialog with details of a selected classified object.
Constructor

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

Parameters:
Name Type Description
props Object
coveredObjectResource string

The name of a selected resource when fetching covered object.

disableAttributesMenu boolean

If true the attributes menu will be disabled.

item Object

The selected object with it's characteristics.

item.id number

The id of a selected object.

item.name Object

The name of a selected object.

item.name.primary number | string

The part of a name coloured with a primary colour.

item.name.secondary number | string

The part of a name coloured with a secondary colour.

item.name.toString function

Returns name as a single string.

item.traits Object

The characteristics of a selected object in a key-value form.

item.traits.originalDecision string | number

The original classification.

item.traits.suggestedDecision string | number

The suggested classification.

item.traits.certainty number

The certainty of suggested classification.

item.traits.indicesOfCoveringRules number

The number of rules that cover a selected object.

item.toFilter function

Returns item in an easy to filter form.

objectGlobalName string

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

onClose function

Callback fired when the component requests to be closed.

onSnackbarOpen function

Callback fired when the component requests to display an error.

open boolean

If true the Dialog is open.

projectId string

The identifier of a selected project.

resource string

The name of a selected resource when fetching.

serverBase string

The host and port in the URL of an API call.

View Source Utils/Dialogs/DetailsDialog/ClassifiedObjectDialog.js, line 51

React.PureComponent