Added AllowTransitionFromSection in TransData xml node

Use ‘AllowTransitionFromSection’ TransData format flag to determine whether Transition Panel is displayed when positioned on a section title.
This commit is contained in:
Kathy Ruffing 2015-03-24 13:39:51 +00:00
parent aa1bf5ea31
commit 1b03974f55
3 changed files with 10 additions and 1 deletions

Binary file not shown.

View File

@ -2220,7 +2220,8 @@ namespace VEPROMS
{
if (args.MyEditItem.MyItemInfo.IsSection || args.MyEditItem.MyItemInfo.IsProcedure)
{
infotabRO.Visible = infotabTransition.Visible = false;
infotabRO.Visible = false;
infotabTransition.Visible = args.MyEditItem.MyItemInfo.ActiveFormat.PlantFormat.FormatData.TransData.AllowTransitionFromSection;
infotabTags.Visible = false;
displayTags.Visible = false;
}

View File

@ -5536,6 +5536,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _DoSectionTransitions, "@DoSectionTransitions");
}
}
private LazyLoad<bool> _AllowTransitionFromSection;
public bool AllowTransitionFromSection
{
get
{
return LazyLoad(ref _AllowTransitionFromSection, "@AllowTransitionFromSection");
}
}
private LazyLoad<bool> _HardSpTranProcNumb;
public bool HardSpTranProcNumb
{