Class ProfileDialogsManager

This class provides methods to manage the profile dialogs see theProfileDialogsManager for the one and only one instance of this class

Source : file core/ProfileDialogsManager.js at line 38

Constructor

new ProfileDialogsManager ( )

The constructor

Source : file core/ProfileDialogsManager.js at line 51

Public methods

createProfile ( route )

This method creates the profile for a Route after a call to a provider and manages the dialog profile

Source : file core/ProfileDialogsManager.js at line 61

Parameters

Name Type Description
route Route

The Route for witch a profile is created

deleteAllProfiles ( )

This method close the all the profile dialogs

Source : file core/ProfileDialogsManager.js at line 145

deleteProfile ( objId )

This method close the profile dialog of a route

Source : file core/ProfileDialogsManager.js at line 134

Parameters

Name Type Description
objId Number

The objId of the Route that is in the profile dialog to close

onProfileClosed ( objId )

This method is called when a profile dialog is closed

Source : file core/ProfileDialogsManager.js at line 170

Parameters

Name Type Description
objId Number

The Route objId for witch a profile dialog is created

showProfile ( routeObjId )

This method creates the profile dialog for a Route

Source : file core/ProfileDialogsManager.js at line 154

Parameters

Name Type Description
routeObjId Number

The Route objId for witch a profile dialog is created

updateProfile ( oldRouteObjId, newRoute )

This method updates the profile dialog for a Route

Source : file core/ProfileDialogsManager.js at line 115

Parameters

Name Type Description
oldRouteObjId Number

The objId of the Route that is in the profile dialog

newRoute Route

The Route for witch the profile dialog is updated

updateProfileName ( routeObjId )

Update the route name in a profile dialog. Called when the updateprofilename event is send

Source : file core/ProfileDialogsManager.js at line 99

Parameters

Name Type Description
routeObjId Number

The obj id of the route to update

Private properties

#profileDialogs : Map of ProfileDialog

A map with all the profile dialogs currently displayed

Source : file core/ProfileDialogsManager.js at line 45