Class: GoIFCUI

GoIFCUI

Class representing the main UI for the GoIFC application. Manages the toolbar, modals, notifications, and other UI components.

new GoIFCUI(goIFCComponents)

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 18

Creates an instance of GoIFCUI.

Name Type Description
goIFCComponents GoIFCComponents

The GoIFC components instance.

Methods

getContainer(){HTMLElement|null}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 87

Retrieves the container element for the UI.

Returns:
Type Description
HTMLElement | null The container element.

getGoIFCComponents(){GoIFCComponents}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 162

Retrieves the GoIFC components instance associated with this UI.

Returns:
Type Description
GoIFCComponents The GoIFC components instance.

getIOTTagsComponent(){IOTTagsComponent}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 96

Retrieves the IOTTags component from the settings button in the toolbar.

Returns:
Type Description
IOTTagsComponent The IOTTags component.

getModal(){GoIFCModal}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 144

Retrieves the modal component of the UI.

Returns:
Type Description
GoIFCModal The modal component.

getSideContent(){GoIFCSideContent}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 153

Retrieves the side content component of the UI.

Returns:
Type Description
GoIFCSideContent The side content component.

getSingleSelection(){Object}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 126

Retrieves the single selection flag.

Returns:
Type Description
Object The single selection flag.

getSmartViewComponent(){SmartViewSettingsButton}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 108

Retrieves the SmartView component from the settings button in the toolbar.

Returns:
Type Description
SmartViewSettingsButton The SmartViewSettingsButton instance.

getTagsComponent(){TagsComponent}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 117

Retrieves the Tags component from the actions button in the toolbar.

Returns:
Type Description
TagsComponent The Tags component.

getToolbar(){GoIFCToolbar|null}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 200

Retrieves the toolbar component of the UI.

Returns:
Type Description
GoIFCToolbar | null The toolbar component.

getUIModalComponent(){GoIFCModal}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 209

Retrieves the modal component of the UI.

Returns:
Type Description
GoIFCModal The modal component.

getUIModalSideContent(){GoIFCSideContent}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 218

Retrieves the side content component of the UI.

Returns:
Type Description
GoIFCSideContent The side content component.

asynchighlightOnClick()

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 225

Logs a message for debugging purposes.

isClipperEnabled(){boolean}

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 234

Retrieves the status of the clipper.

Returns:
Type Description
boolean True if the clipper is enabled, false otherwise.

notify(type, message)

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 172

Displays a notification with the specified type and message.

Name Type Description
type string

The type of notification (e.g., "info", "warning").

message string

The message to display in the notification.

setClipperEnabled(enabled)

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 243

Sets the status of the clipper.

Name Type Description
enabled boolean

True to enable the clipper, false to disable it.

setSingleSelection(value)

Interactions/IFC/interact/GoIFCComponents/subClasses/GoIFCUI/index.ts, line 135

Sets the single selection flag.

Name Type Description
value boolean

The value to set for single selection.