data_type = new ArrayType(index_scheme,entity_ui.tf_starting_index.getText(),
entity_ui.tf_ending_index.getText());
data_type.name = entity_ui.tf_pgtype.getText();
data_type.type = "array";
}
entity_ui.entity.addPort(new Port(entity_ui.tf_pgname.getText(),
data_type ,entity_ui.cmb_mode.getSelectedItem().toString()));
String str = "Port " + entity_ui.tf_pgname.getText() + " of mode "
+ entity_ui.cmb_mode.getSelectedItem().toString() + " and type "
+ entity_ui.tf_pgtype.getText().toUpperCase();