public List<UmlStereotype> getStereotypes() {
List<String> stereoStrings =
((StringTableModel) stereotypeTable.getModel()).getEntries();
List<UmlStereotype> result = new ArrayList<UmlStereotype>();
for (String stereoString : stereoStrings) {
UmlStereotype stereotype = (UmlStereotype)
UmlStereotype.getPrototype().clone();
stereotype.setName(stereoString);
result.add(stereotype);
}
return result;
}