Quintiq file version 2.0
|
#parent: CustomDrawComponentRoutingConfigurator/CustomDrawDataLayerOperationInput
|
Response OnClickObject (
|
OperationInput object
|
) id:Response_CustomDrawComponentRoutingConfigurator_CustomDrawDataLayerOperationInput_OnClickObject
|
{
|
#keys: '[110994.0.1959658640]'
|
Body:
|
[*
|
//Add selected input to dataholder highlight
|
data := DataHolderHighlightOperationInputOutputNode.Data();
|
|
index := data.Find( object );
|
found := index >= 0;
|
|
if( action.IsControl() )
|
{
|
if( found ) // Delete object
|
{
|
data.Delete( index );
|
}
|
else // Add object
|
{
|
data.Add( object );
|
}
|
}
|
else // Flush all objects
|
{
|
data.Flush();
|
data.Add( object );
|
}
|
*]
|
DefinitionID: 'Responsedef_CustomDrawBaseDataLayer_OnClickObject'
|
}
|