public void createView(Entity entity,boolean edit,boolean useRules,String[] tags,boolean taggedPropertiesOnly,List<String> validationList,boolean useValidationGuiHints) throws DBException {
  this.editable=edit;
  this.useRules=useRules;
  this.filterTags=(tags != null) ? tags.clone() : null;
  this.taggedOnly=taggedPropertiesOnly;
  this.validationList=validationList;
  this.useValidationGuiHints=useValidationGuiHints;
  huiComposite.setVisible(false);
  this.entity=entity;
  entity.addChangeListener(this);
  clearComposite();
  HUITypeFactory typeFactory=HUITypeFactory.getInstance();
  EntityType entityType=typeFactory.getEntityType(entity.getEntityType());
  List allElements=entityType.getElements();
  for (Iterator iter=allElements.iterator(); iter.hasNext(); ) {
    Object obj=iter.next();
    if (obj instanceof PropertyType) {
      PropertyType type=(PropertyType)obj;
      createField(type,huiComposite,validationList.contains(type.getId()),useValidationGuiHints);
    }
 else     if (obj instanceof PropertyGroup) {
      PropertyGroup group=(PropertyGroup)obj;
      createGroup(group,huiComposite);
    }
  }
  addBehavior(entityType);
  huiComposite.layout();
  huiComposite.setVisible(true);
  resizeContainer();
  setInitialFocus();
}

public void createView ( Entity entity , boolean edit , boolean useRules , String [ ] tags , boolean taggedPropertiesOnly , List < String > validationList , boolean useValidationGuiHints ) throws DBException { this . editable = edit ; this . useRules = useRules ; this . filterTags = ( tags != null ) ? tags . clone ( ) : null ; this . taggedOnly = taggedPropertiesOnly ; this . validationList = validationList ; this . useValidationGuiHints = useValidationGuiHints ; huiComposite . setVisible ( false ) ; this . entity = entity ; entity . addChangeListener ( this ) ; clearComposite ( ) ; HUITypeFactory typeFactory = HUITypeFactory . getInstance ( ) ; EntityType entityType = typeFactory . getEntityType ( entity . getEntityType ( ) ) ; List allElements = entityType . getElements ( ) ; for ( Iterator iter = allElements . iterator ( ) ; iter . hasNext ( ) ; ) { Object obj = iter . next ( ) ; if ( obj instanceof PropertyType ) { PropertyType type = ( PropertyType ) obj ; createField ( type , huiComposite , validationList . contains ( type . getId ( ) ) , useValidationGuiHints ) ; } else if ( obj instanceof PropertyGroup ) { PropertyGroup group = ( PropertyGroup ) obj ; createGroup ( group , huiComposite ) ; } } addBehavior ( entityType ) ; huiComposite . layout ( ) ; huiComposite . setVisible ( true ) ; resizeContainer ( ) ; setInitialFocus ( ) ; }
create form fields for all defined property types and fill them with property values .
