}
protected void addAttributes(DefaultMutableTreeNode top, AttributeList attributes) {
NodeFactory nodeFactory = NodeFactory.getInstance();
IAttribute attribute;
DefaultMutableTreeNode node;
for (int j = 0; j < attributes.size(); j++) {
attribute = (IAttribute)attributes.get(j);
node = new DefaultMutableTreeNode(nodeFactory.getNode4Entity(attribute));
top.add(node);
} // end of for ()
}