code: private Type getTypeFromEvent()
          throws EFapsException
      {
          final List<EventDefinition> events = getEvents(EventType.UI_TABLE_EVALUATE);
          String typeName = null;
          if (events.size() > 1) {
              throw new EFapsException(this.getClass(), "execute4NoInstance.moreThanOneEvaluate");
          } else {
              final EventDefinition event = events.get(0);
              //TODO remove deprecated Types
              if (event.getProperty("Types") != null) {
                  typeName = event.getProperty("Types").split(";")[0];
              }
  
              // test for basic or abstract types
              if (event.getProperty("Type") != null) {
                  typeName = event.getProperty("Type");
              }
              // no type yet search alternatives
              if (typeName == null) {
                  for (int i = 1; i < 100; i++) {
                      final String nameTmp = "Type" + String.format("%02d", i);
                      if (event.getProperty(nameTmp) != null) {
                          typeName = event.getProperty(nameTmp);
                      } else {
                          break;
                      }
                  }
              }
          }
          return typeName == null ? null : Type.get(typeName);
      }
docs: Method used to evaluate the type for this table from the connected
  events.
  
  @return type if found
  @throws EFapsException on error