An eating disorder is when you cannot stop eating or you will not eat. Is your daughter eating food, or doing this with any food you give her?
How long has it been going on? She's only two, I don't think she would have an eating disorder in those terms, maybe something else is going on, I would get it checked out though, how is her speech?
I agree that you should probably take her to the doctor and get it checked....she may have a sensory issue that is affected by the textures of foods. is it all food, like frogmasta asked, or is it just specific food?