Ejemplo n.º 1
0
 public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
   if (ctx.Match(k, Invk_new_dflt__at_dflt__focus_y)) this.New_dflt(Bool_.Y);
   else if (ctx.Match(k, Invk_new_link__at_dflt__focus_n))
     this.New_link(Bool_.N, m.ReadStrOr("v", null));
   else if (ctx.Match(k, Invk_new_link__at_dflt__focus_y))
     this.New_link(Bool_.Y, m.ReadStrOr("v", null));
   else if (ctx.Match(k, Invk_new_href__at_dflt__focus_y)) this.New_href(Bool_.Y);
   else if (ctx.Match(k, Invk_new_dupe__at_dflt__focus_y)) this.New_dupe(Bool_.Y);
   else if (ctx.Match(k, Invk_close_cur)) this.Close_cur();
   else if (ctx.Match(k, Invk_select_bwd)) this.Select_bwd();
   else if (ctx.Match(k, Invk_select_fwd)) this.Select_fwd();
   else if (ctx.Match(k, Invk_move_bwd)) this.Move_bwd();
   else if (ctx.Match(k, Invk_move_fwd)) this.Move_fwd();
   else if (ctx.Match(k, Invk_close_others)) this.Close_others();
   else if (ctx.Match(k, Invk_close_to_bgn)) this.Close_to_bgn();
   else if (ctx.Match(k, Invk_close_to_end)) this.Close_to_end();
   else if (ctx.Match(k, Invk_close_undo)) this.Close_undo();
   else if (ctx.Match(k, Invk_pin_toggle)) this.Pin_toggle();
   else if (ctx.Match(k, Invk_select_by_idx_1)) this.Select_by_idx(1);
   else if (ctx.Match(k, Invk_select_by_idx_2)) this.Select_by_idx(2);
   else if (ctx.Match(k, Invk_select_by_idx_3)) this.Select_by_idx(3);
   else if (ctx.Match(k, Invk_select_by_idx_4)) this.Select_by_idx(4);
   else if (ctx.Match(k, Invk_select_by_idx_5)) this.Select_by_idx(5);
   else if (ctx.Match(k, Invk_select_by_idx_6)) this.Select_by_idx(6);
   else if (ctx.Match(k, Invk_select_by_idx_7)) this.Select_by_idx(7);
   else if (ctx.Match(k, Invk_select_by_idx_8)) this.Select_by_idx(8);
   else if (ctx.Match(k, Invk_select_by_idx_9)) this.Select_by_idx(9);
   else return GfoInvkAble_.Rv_unhandled;
   return this;
 }
Ejemplo n.º 2
0
 public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
   if (ctx.Match(k, Invk_go_bwd)) this.Go_bwd();
   else if (ctx.Match(k, Invk_go_fwd)) this.Go_fwd();
   else if (ctx.Match(k, Invk_goto)) this.Goto(m.ReadStr("v"));
   else if (ctx.Match(k, Invk_wiki)) return wiki;
   else return GfoInvkAble_.Rv_unhandled;
   return this;
 }