public ComponentType[] GetComponentTypes()
{
ArrayList types = new ArrayList ();
ArrayList typeNames = ProjectBackend.GetComponentTypes ();
for (int n=0; n<typeNames.Count; n++)
types.Add (app.GetComponentType ((string) typeNames [n]));
// Global action groups
foreach (ActionGroupComponent grp in GetActionGroups ()) {
foreach (ActionComponent ac in grp.GetActions ())
types.Add (new ComponentType (app, ac));
}
return (ComponentType[]) types.ToArray (typeof(ComponentType));
}