Lines Matching refs:context
52 #include "helper/action-context.h"
129 virtual SPAction *make_action(Inkscape::ActionContext const & context);
148 virtual SPAction *make_action(Inkscape::ActionContext const & context);
167 virtual SPAction *make_action(Inkscape::ActionContext const & context);
186 virtual SPAction *make_action(Inkscape::ActionContext const & context);
205 virtual SPAction *make_action(Inkscape::ActionContext const & context);
224 virtual SPAction *make_action(Inkscape::ActionContext const & context);
237 * A class to encompass all of the verbs which deal with operations relative to context.
243 virtual SPAction *make_action(Inkscape::ActionContext const & context);
262 virtual SPAction *make_action(Inkscape::ActionContext const & context);
282 virtual SPAction *make_action(Inkscape::ActionContext const & context);
301 virtual SPAction *make_action(Inkscape::ActionContext const & context);
320 virtual SPAction *make_action(Inkscape::ActionContext const & context);
339 virtual SPAction *make_action(Inkscape::ActionContext const & context);
406 * @param context Which context the action should be created for.
409 SPAction *Verb::make_action(Inkscape::ActionContext const & /*context*/)
419 * @param context Which context the action should be created for.
422 SPAction *FileVerb::make_action(Inkscape::ActionContext const & context)
425 return make_action_helper(context, &perform);
433 * @param context Which context the action should be created for.
436 SPAction *EditVerb::make_action(Inkscape::ActionContext const & context)
439 return make_action_helper(context, &perform);
447 * @param context Which context the action should be created for.
450 SPAction *SelectionVerb::make_action(Inkscape::ActionContext const & context)
452 return make_action_helper(context, &perform);
460 * @param context Which context the action should be created for.
463 SPAction *LayerVerb::make_action(Inkscape::ActionContext const & context)
465 return make_action_helper(context, &perform);
473 * @param context Which context the action should be created for.
476 SPAction *ObjectVerb::make_action(Inkscape::ActionContext const & context)
478 return make_action_helper(context, &perform);
489 SPAction *TagVerb::make_action(Inkscape::ActionContext const & context)
491 return make_action_helper(context, &perform);
499 * @param context Which context the action should be created for.
502 SPAction *ContextVerb::make_action(Inkscape::ActionContext const & context)
504 return make_action_helper(context, &perform);
512 * @param context Which context the action should be created for.
515 SPAction *ZoomVerb::make_action(Inkscape::ActionContext const & context)
517 return make_action_helper(context, &perform);
525 * @param context Which context the action should be created for.
528 SPAction *DialogVerb::make_action(Inkscape::ActionContext const & context)
530 return make_action_helper(context, &perform);
538 * @param context Which context the action should be created for.
541 SPAction *HelpVerb::make_action(Inkscape::ActionContext const & context)
543 return make_action_helper(context, &perform);
551 * @param context Which context the action should be created for.
554 SPAction *TutorialVerb::make_action(Inkscape::ActionContext const & context)
556 return make_action_helper(context, &perform);
564 * @param context Which context the action should be created for.
567 SPAction *TextVerb::make_action(Inkscape::ActionContext const & context)
569 return make_action_helper(context, &perform);
583 * @param context Which context the action should be created for.
587 SPAction *Verb::make_action_helper(Inkscape::ActionContext const & context, void (*perform_fun)(SPAction *, void *), void *in_pntr)
592 action = sp_action_new(context, _id, _(_name),
624 * @param context The action context which this action relates to.
627 SPAction *Verb::get_action(Inkscape::ActionContext const & context)
634 ActionTable::iterator action_found = _actions->find(context.getView());
639 action = this->make_action(context);
647 cur_action != _actions->end() && context.getView() != NULL;
649 if (cur_action->first != NULL && cur_action->first->doc() == context.getDocument()) {
656 _actions->insert(ActionTable::value_type(context.getView(), action));
1627 SPAction *tool_action= get((sp_verb_t)vidx)->get_action(action->context);
1687 Inkscape::UI::Tools::sp_toggle_dropper(dt); // Functionality defined in event-context.cpp
2226 virtual SPAction *make_action(Inkscape::ActionContext const & context);
2245 * @param context Which context the action should be created for.
2248 SPAction *EffectLastVerb::make_action(Inkscape::ActionContext const & context)
2250 return make_action_helper(context, &perform);
2289 virtual SPAction *make_action(Inkscape::ActionContext const & context);
2308 * @param context Which context the action should be created for.
2311 SPAction *FitCanvasVerb::make_action(Inkscape::ActionContext const & context)
2313 SPAction *action = make_action_helper(context, &perform);
2355 virtual SPAction *make_action(Inkscape::ActionContext const & context);
2374 * @param context Which context the action should be created for.
2377 SPAction *LockAndHideVerb::make_action(Inkscape::ActionContext const & context)
2379 SPAction *action = make_action_helper(context, &perform);