static void pgram_set_props(Pgram *pgram, GPtrArray *props) { object_set_props_from_offsets(&pgram->element.object, pgram_offsets,props); pgram_update_data(pgram, ANCHOR_MIDDLE, ANCHOR_MIDDLE); }
static void box_set_props(Box *box, GPtrArray *props) { object_set_props_from_offsets(&box->element.object, box_offsets, props); box_update_data(box); }
static void usecase_set_props(Usecase *usecase, GPtrArray *props) { object_set_props_from_offsets(&usecase->element.object, usecase_offsets,props); usecase_update_data(usecase); }
static void node_set_props(Node *node, GPtrArray *props) { object_set_props_from_offsets(&node->element.object, node_offsets,props); node_update_data(node); }
static void ellipse_set_props(Ellipse *ellipse, GPtrArray *props) { object_set_props_from_offsets(&ellipse->element.object, ellipse_offsets,props); ellipse_update_data(ellipse, ANCHOR_MIDDLE, ANCHOR_MIDDLE); }
static void attribute_set_props(Attribute *attribute, GPtrArray *props) { object_set_props_from_offsets(&attribute->element.object, attribute_offsets, props); attribute_update_data(attribute); }
static void basestation_set_props(Basestation *basestation, GPtrArray *props) { object_set_props_from_offsets(&basestation->element.object, basestation_offsets, props); basestation_update_data(basestation); }
static void polyline_set_props(Polyline *polyline, GPtrArray *props) { object_set_props_from_offsets(&polyline->poly.object, polyline_offsets, props); polyline_update_data(polyline); }
static void diamond_set_props(Diamond *diamond, GPtrArray *props) { object_set_props_from_offsets(&diamond->element.object, diamond_offsets,props); diamond_update_data(diamond,ANCHOR_MIDDLE,ANCHOR_MIDDLE); }
static void branch_set_props(Branch *branch, GPtrArray *props) { object_set_props_from_offsets(&branch->element.object, branch_offsets, props); branch_update_data(branch); }
static void bezierline_set_props(Bezierline *bezierline, GPtrArray *props) { object_set_props_from_offsets(&bezierline->bez.object, bezierline_offsets, props); bezierline_update_data(bezierline); }
static void analog_clock_set_props(Analog_Clock *analog_clock, GPtrArray *props) { object_set_props_from_offsets(&analog_clock->element.object, analog_clock_offsets,props); analog_clock_update_data(analog_clock); }
static void transition_set_props(Transition *transition, GPtrArray *props) { object_set_props_from_offsets(&transition->orth.object, transition_offsets, props); uml_transition_update_data(transition); }
static void arc_set_props(Arc *arc, GPtrArray *props) { object_set_props_from_offsets(&arc->connection.object, arc_offsets, props); arc_update_data(arc); }
static void wanlink_set_props(WanLink *wanlink, GPtrArray *props) { object_set_props_from_offsets(&wanlink->connection.object, wanlink_offsets, props); wanlink_update_data(wanlink); }
static void classicon_set_props(Classicon *classicon, GPtrArray *props) { object_set_props_from_offsets(&classicon->element.object, classicon_offsets,props); classicon_update_data(classicon); }
static void message_set_props(Message *message, GPtrArray *props) { object_set_props_from_offsets(&message->connection.object, message_offsets, props); message_update_data(message); }
static void line_set_props(Line *line, GPtrArray *props) { object_set_props_from_offsets(&line->connection.object, line_offsets, props); line_update_data(line); }
static void compound_apply_props (Compound * comp, GPtrArray * props, gboolean is_default) { gint change_count; object_set_props_from_offsets (&comp->object, compound_offsets, props); /* comp->num_arms has already been set by the call to object_set_props_from_offsets () */ change_count = adjust_handle_count_to (comp, comp->num_arms+1); if (change_count) { /* if there has been some arms added to the default object reinitialize all handles' position */ if (change_count > 0) { if (is_default) init_default_handle_positions (comp); else { gint new_index = comp->object.num_handles - change_count; init_positions_for_handles_beginning_at_index (comp, new_index); } } } compound_update_data (comp); compound_sanity_check (comp, "After setting properties"); }
static void sadtarrow_set_props(Sadtarrow *sadtarrow, GPtrArray *props) { object_set_props_from_offsets(&sadtarrow->orth.object, sadtarrow_offsets,props); sadtarrow_update_data(sadtarrow); }
static void beziergon_set_props(Beziergon *beziergon, GPtrArray *props) { object_set_props_from_offsets(&beziergon->bezier.object, beziergon_offsets, props); beziergon_update_data(beziergon); }
static void participation_set_props(Participation *participation, GPtrArray *props) { object_set_props_from_offsets(&participation->orth.object, participation_offsets, props); participation_update_data(participation); }
static void bus_set_props(Bus *bus, GPtrArray *props) { object_set_props_from_offsets(&bus->connection.object, bus_offsets, props); bus_update_data(bus); }
void aadlbox_set_props(Aadlbox *aadlbox, GPtrArray *props) { object_set_props_from_offsets(&aadlbox->element.object, aadlbox_offsets,props); aadlbox_update_data(aadlbox); }
static void zigzagline_set_props(Zigzagline *zigzagline, GPtrArray *props) { object_set_props_from_offsets(&zigzagline->orth.object, zigzagline_offsets, props); zigzagline_update_data(zigzagline); }
static void state_set_props(State *state, GPtrArray *props) { object_set_props_from_offsets(&state->element.object, state_offsets,props); state_update_data(state); }
static void chronoref_set_props(Chronoref *chronoref, GPtrArray *props) { object_set_props_from_offsets(&chronoref->element.object, chronoref_offsets,props); chronoref_update_data(chronoref); }
static void newgroup_set_props(NewGroup *group, GPtrArray *props) { object_set_props_from_offsets(&group->element.object, newgroup_offsets, props); newgroup_update_data(group); }
static void flow_set_props(Flow *flow, GPtrArray *props) { object_set_props_from_offsets(&flow->connection.object, flow_offsets, props); flow_update_data(flow); }
static void radiocell_set_props(RadioCell *radiocell, GPtrArray *props) { object_set_props_from_offsets(&radiocell->poly.object, radiocell_offsets, props); radiocell_update_data(radiocell); }