public List<String> getDisplayedFeatureGroups()
{
List<String> _gps = new ArrayList<String>();
- boolean valid = false;
for (String gp : getFeatureGroups())
{
if (checkGroupVisibility(gp, false))
{
- valid = true;
_gps.add(gp);
}
- if (!valid)
- {
- return null;
- }
- else
- {
- // gps = new String[_gps.size()];
- // _gps.toArray(gps);
- }
}
return _gps;
}