ActivityActionCanvas::ActivityActionCanvas(BrowserNode * bn, UmlCanvas * canvas, int x, int y) : DiagramCanvas(0, canvas, x, y, ACTIVITYACTION_MIN_SIZE*5/2, ACTIVITYACTION_MIN_SIZE*3/2, 0) { browser_node = bn; pre = 0; post = 0; constraint = 0; show_opaque_action_definition = UmlDefaultState; itscolor = UmlDefaultColor; update(); check_pins(); check_parametersets(); check_conditions_constraint(); check_stereotypeproperties(); connect(bn->get_data(), SIGNAL(changed()), this, SLOT(modified())); connect(bn->get_data(), SIGNAL(deleted()), this, SLOT(deleted())); connect(DrawingSettings::instance(), SIGNAL(changed()), this, SLOT(modified())); if (canvas->must_draw_all_relations()) { draw_all_flows(); draw_all_simple_relations(); } }
void ActivityActionCanvas::modified() { hide(); hide_lines(); update(); show(); update_show_lines(); force_pins_arround(); check_pins(); check_parametersets(); if (the_canvas()->must_draw_all_relations()) { draw_all_flows(); draw_all_simple_relations(); } check_conditions_constraint(); check_stereotypeproperties(); canvas()->update(); package_modified(); }
ISR(TIMER2_OVF_vect, ISR_BLOCK) { TCNT2 = 0x06; //reload counter value timer2_counter++; check_pins(); }
//---------------------------------------------------------------------------------------------- void Timer0_user_int(void) { check_pins(); }