Skip to content

Commit

Permalink
Add ability to view complete source for Tables, Views and Maps
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Blanchard committed Jan 10, 2022
1 parent 9f41bf5 commit e4de961
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,18 @@ public static string GetXppSourceText(INamedObject axElement, IElementCodePositi
{
result = ((AxClass)axElement).GetCompleteSource(codePositionCollector);
}
else if (axElement is AxTable)
{
result = ((AxTable)axElement).GetCompleteSource(codePositionCollector);
}
else if (axElement is AxView)
{
result = ((AxView)axElement).GetCompleteSource(codePositionCollector);
}
else if (axElement is AxMap)
{
result = ((AxMap)axElement).GetCompleteSource(codePositionCollector);
}
else if (axElement is AxDataEntityView)
{
result = ((AxDataEntityView)axElement).GetCompleteSource(codePositionCollector);
Expand Down Expand Up @@ -261,6 +273,9 @@ public static string GetXppSourceText(INamedObject axElement, IElementCodePositi
public static bool CanGetSourceText(Object checkObject)
{
if (checkObject is AxClass
|| checkObject is AxTable
|| checkObject is AxView
|| checkObject is AxMap
|| checkObject is AxDataEntity
|| checkObject is AxForm
|| checkObject is AxQuery
Expand Down

0 comments on commit e4de961

Please sign in to comment.