Global

Members

data :data

Source:
Type:

Methods

add()

Description:
  • Adds an entry to the listbox
Source:

clear_IDs()

Description:
  • When the entity type is changed, the entityID list of selected entity's is cleared to prevent being able to add entities IDs of a non matching entity type.
Source:

close_edit()

Description:
  • Closes WindowEdit window
Source:

delete_selected()

Description:
  • Deletes a selcted entry from the listbox
Source:

edit()

Description:
  • Opens the WindowEdit window ready to edit an entry and validates this is possible
Source:

find_parts_in_set() → {Array}

Description:
  • Finds parts in a part set by spooling through its setID
Source:
Returns:
partsInEntity
Type
Array

only()

Description:
  • Only selected parts from the listbox
Source:

save_to_file1()

Description:
  • Saves data to .JSON file
Source:

save_to_model()

Description:
  • Saves data to the model
Source:

select(method)

Description:
  • Select the entities for the entry and populate the textbox
Source:
Parameters:
Name Type Description
method string

select_edit()

Description:
  • Sends to the select function with parameter edit
Source:

select_main()

Description:
  • Sends to the select function with parameter main
Source:

set_up()

Description:
  • Sets up the window with callback functions from the GUI, selects the model to be used and fills the WidgetItems for the entity type combobox
Source:

unblank()

Description:
  • Unblank all parts
Source:

update_buttons()

Description:
  • Enables and Disables the buttons on the window according to how many Widget Items there are and how many are selected
Source:

update_edit()

Description:
  • Edits a selected entry from the listbox if the update button is pressed in the WindowEdit window
Source:

workflow_manual()

Description:
  • Opens up the clickhelp manual when the help button is pressed
Source:

Type Definitions

data

Description:
  • The data object in the workflow file
Source:
Properties:
Name Type Description
entities_of_interest Array.<EntityOfInterest>
The data object in the workflow file
Type:
  • Object

EntityOfInterest

Source:
Properties:
Name Type Description
name string
parts Array.<string>
type String
partsOfEntity Array.<String>
Type:
  • Object