Skip to content

Commit

Permalink
Merge pull request #17 from arbelatech/development
Browse files Browse the repository at this point in the history
Add ability to view complete source for Tables, Views and Maps
  • Loading branch information
caleblanchard authored Jan 10, 2022
2 parents bfafa2b + 200ae6c commit c3dd167
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 c3dd167

Please sign in to comment.