}
protected void appendModel(ModelData p, List<ModelData> models, int index) {
if (models.size() == 0) return;
if (models.get(0) instanceof TreeModel) {
TreeModel test = (TreeModel) models.get(0);
// drop is in form from tree store
if (test.getPropertyNames().contains("model")) {
List<ModelData> children = new ArrayList<ModelData>();
for (ModelData tm : models) {
ModelData child = tm.get("model");
children.add(child);