FormIt Plugin API  v23.0.0 (2023.0.0)
FormIt.Configuration API

Description

Functions

json FormIt.Configuration.GetToolGroupUUIDs ()
 
json FormIt.Configuration.GetContextMenuToolUUIDs ()
 Returns a vector of UUIDs (as string) for the tools in the context menu currently configured Parameters: In: Out: vector of tool UUIDs. More...
 
json FormIt.Configuration.GetContextMenuToolUUIDFromActionId (actionId)
 Returns the tool UUID from a context menu action Parameters: In: action id Out: tool UUID. More...
 
json FormIt.Configuration.GetContextMenuActionIdFromToolUUID (toolUUID)
 Returns the tool UUID from a context menu action Parameters: In: tool UUID Out: action id. More...
 
json FormIt.Configuration.GetToolGroupInfo (toolGroupUUID)
 Returns the info for a tool group, that the UI can use currently configured Parameters: In: UUID of tool group Out: vector of tool UUIDs, icon and other info. More...
 
json FormIt.Configuration.GetToolInfo (toolUUID)
 Returns the info for a tool, that the UI can use Parameters: In: UUID of tool Out: tool name, tool icon, tool tip, formit tool type. More...
 
json FormIt.Configuration.IsPaletteConfigured (paletteUUID)
 Returns whether a palette should appear in the UI Parameters: In: UUID of palette Out: true/false. More...
 
json FormIt.Configuration.IsProjectBarConfigured (projectBarUUID)
 Returns whether a project bar item should appear in the UI Parameters: In: UUID of project bar item Out: true/false. More...
 
json FormIt.Configuration.ConfigureFromJSON (configurationJSON)
 Configure the UI from the given JSON Data Parameters: In: JSON string Out: True, if configuration was successful. More...
 
json FormIt.Configuration.GetAllPalettes ()
 Get the names and ids of all palettes Parameters: In: Out: vector of id - name pairs. More...
 
json FormIt.Configuration.GetAllProjectBarItems ()
 Get the names and ids of all project bar items Parameters: In: Out: vector of id - name pairs. More...
 
json FormIt.Configuration.GetAllToolGroups ()
 Get the names and ids of all main tools Parameters: In: Out: vector of id - name pairs. More...
 
json FormIt.Configuration.GetAllToolGroupTools (toolGroupUUID)
 Get the names and ids of all tools for a given tool group Parameters: In: Out: vector of id - name pairs. More...
 
json FormIt.Configuration.GetAllContextMenuTools ()
 Get the names and ids of all context menu tools Parameters: In: Out: vector of id - name pairs. More...
 
json FormIt.Configuration.GetAllImplicitTools ()
 Get all formit native implicit tools ids and names Parameters: In: Out: vector of id - name pairs. More...
 
json FormIt.Configuration.IsShortcutCommandConfigured (commandName)
 Returns whether a shortcut command is configured Parameters: In: command name Out: true/false. More...
 

Function Documentation

json FormIt.Configuration.ConfigureFromJSON ( configurationJSON  )

Configure the UI from the given JSON Data Parameters: In: JSON string Out: True, if configuration was successful.

Parameters
[in]configurationJSONString
Returns
result
json FormIt.Configuration.GetAllContextMenuTools ( )

Get the names and ids of all context menu tools Parameters: In: Out: vector of id - name pairs.

Returns
{...}
json FormIt.Configuration.GetAllImplicitTools ( )

Get all formit native implicit tools ids and names Parameters: In: Out: vector of id - name pairs.

Returns
{...}
json FormIt.Configuration.GetAllPalettes ( )

Get the names and ids of all palettes Parameters: In: Out: vector of id - name pairs.

Returns
{...}
json FormIt.Configuration.GetAllProjectBarItems ( )

Get the names and ids of all project bar items Parameters: In: Out: vector of id - name pairs.

Returns
{...}
json FormIt.Configuration.GetAllToolGroups ( )

Get the names and ids of all main tools Parameters: In: Out: vector of id - name pairs.

Returns
{...}
json FormIt.Configuration.GetAllToolGroupTools ( toolGroupUUID  )

Get the names and ids of all tools for a given tool group Parameters: In: Out: vector of id - name pairs.

Parameters
[in]toolGroupUUIDString
Returns
{...}
json FormIt.Configuration.GetContextMenuActionIdFromToolUUID ( toolUUID  )

Returns the tool UUID from a context menu action Parameters: In: tool UUID Out: action id.

Parameters
[in]toolUUIDString
Returns
{...}
json FormIt.Configuration.GetContextMenuToolUUIDFromActionId ( actionId  )

Returns the tool UUID from a context menu action Parameters: In: action id Out: tool UUID.

Parameters
[in]actionIdFormIt.ContextMenuAction
Returns
{...}
json FormIt.Configuration.GetContextMenuToolUUIDs ( )

Returns a vector of UUIDs (as string) for the tools in the context menu currently configured Parameters: In: Out: vector of tool UUIDs.

Returns
{...}
json FormIt.Configuration.GetToolGroupInfo ( toolGroupUUID  )

Returns the info for a tool group, that the UI can use currently configured Parameters: In: UUID of tool group Out: vector of tool UUIDs, icon and other info.

Parameters
[in]toolGroupUUIDString
Returns
{ { "Result" , to_json(result) }, { "Name" , to_json(name) }, { "Icon" , to_json(iconName) }, { "ToolTip" , to_json(toolTip) }, { "Tools" , to_json(toolUUIDs) }, { "IsForMainToolsMenu" , to_json(isForMainToolsMenu) } };
json FormIt.Configuration.GetToolGroupUUIDs ( )
json FormIt.Configuration.GetToolInfo ( toolUUID  )

Returns the info for a tool, that the UI can use Parameters: In: UUID of tool Out: tool name, tool icon, tool tip, formit tool type.

Parameters
[in]toolUUIDString
Returns
{ { "Result" , to_json(result) }, { "Name" , to_json(toolName) }, { "Icon" , to_json(iconName) }, { "ToolTip" , to_json(toolTip) }, { "ToolType" , to_json(toolType) } };
json FormIt.Configuration.IsPaletteConfigured ( paletteUUID  )

Returns whether a palette should appear in the UI Parameters: In: UUID of palette Out: true/false.

Parameters
[in]paletteUUIDString
Returns
{...}
json FormIt.Configuration.IsProjectBarConfigured ( projectBarUUID  )

Returns whether a project bar item should appear in the UI Parameters: In: UUID of project bar item Out: true/false.

Parameters
[in]projectBarUUIDString
Returns
{...}
json FormIt.Configuration.IsShortcutCommandConfigured ( commandName  )

Returns whether a shortcut command is configured Parameters: In: command name Out: true/false.

Parameters
[in]commandNameString
Returns
{...}