private void setAppList(JsArray<ShinyAppsApplicationInfo> apps)
{
ArrayList<String> appNames = new ArrayList<String>();
for (int i = 0; i < apps.length(); i++)
{
ShinyAppsApplicationInfo appInfo = apps.get(i);
// Filter the app list by URLs deployed from this directory
// specifically
if (deployments_.containsKey(appInfo.getUrl()))
{
appNames.add(apps.get(i).getName());
}
}
contents_.setAppList(appNames, lastAppName_);