Quintiq file version 2.0
|
#parent: #root
|
Function CalcSuggestedName
|
{
|
TextBody:
|
[*
|
value := this.AttributeBinding();
|
|
//singlecomponent := this.TG_UIForm().TG_UIComponent( relsize ) = 1;
|
//
|
//if( not singlecomponent )
|
//{
|
// if( this.SplitterPaneTitle() <> '' )
|
// {
|
// value := value + '_' + this.SplitterPaneTitle();
|
// }
|
// else
|
// {
|
// value := value + '_' + this.Name();
|
// }
|
//}
|
|
// TODO
|
|
if( value <> '' )
|
{
|
value := TG_TestGenerator::ConvertToIdentiferCamelCase( value );
|
}
|
|
// TODO : Max character for identifier
|
//value := value.SubString( 0, minvalue( value.Length(), 20 ) );
|
|
this.SuggestedName( value );
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|